有没有大佬帮忙看下!!!
Build Failed: TypeError: Cannot read property ‘debug’ of null
at Object.readDebugMode (D:\CocosDashboard\resources.editors\Creator\2.4.4\resources\app.asar\editor\builtin\cocos-services\panel\utils\serviceConfig.js:1:2146)
at Object.readServiceConfig (D:\CocosDashboard\resources.editors\Creator\2.4.4\resources\app.asar\editor\builtin\cocos-services\panel\utils\ccServices.js:1:1443)
at Object.execInstallNativePlatformScript (D:\CocosDashboard\resources.editors\Creator\2.4.4\resources\app.asar\editor\builtin\cocos-services\panel\utils\ccServices.js:1:2994)
at e (D:\CocosDashboard\resources.editors\Creator\2.4.4\resources\app.asar\editor\builtin\cocos-services\main.js:1:100)
at internal/util.js:288:30
at new Promise ()
at e (internal/util.js:287:12)
at D:\CocosDashboard\resources.editors\Creator\2.4.4\resources\app.asar\editor\lib\builder\index.js:1:774
at processTicksAndRejections (internal/process/task_queues.js:86:5)
at D:\CocosDashboard\resources.editors\Creator\2.4.4\resources\app.asar\editor\lib\builder\index.js:1:3950
at wrapper (D:\CocosDashboard\resources.editors\Creator\2.4.4\resources\app.asar\node_modules\async\dist\async.js:272:20)
at next (D:\CocosDashboard\resources.editors\Creator\2.4.4\resources\app.asar\node_modules\async\dist\async.js:4584:24)
at D:\CocosDashboard\resources.editors\Creator\2.4.4\resources\app.asar\node_modules\async\dist\async.js:325:20
at D:\CocosDashboard\resources.editors\Creator\2.4.4\resources\app.asar\editor\core\gulp-build.js:1:5879
at Gulp. (D:\CocosDashboard\resources.editors\Creator\2.4.4\resources\app.asar\editor\core\gulp-build.js:1:26734)
at Object.onceWrapper (events.js:282:20)
at Gulp.emit (events.js:194:13)
at Gulp.EventEmitter.emit (domain.js:469:20)
我今天也被这个问题困扰了,最后弄好了。你试试这个方式:
删除 用户/xxx/.CocosCreator/local/service.json
这样就可以了。
不知道怎么搞得,这个service.json被清空了。
多谢,周一上班试试去
该主题在最后一个回复创建后14天后自动关闭。不再允许新的回复。