-
Creator 版本:2.0.9
-
目标平台: Web
-
详细报错信息,包含调用堆栈:
SyntaxError: Unexpected token
in JSON at position 1556
at JSON.parse ()
at Object.l [as readJson] (/Applications/CocosCreator.app/Contents/Resources/app.asar/editor/builtin/cocos-services/panel/utils/utils.js:1:649)
at Object.readEnableService (/Applications/CocosCreator.app/Contents/Resources/app.asar/editor/builtin/cocos-services/panel/utils/serviceConfig.js:1:662)
at Object.execInstallNativePlatformScript (/Applications/CocosCreator.app/Contents/Resources/app.asar/editor/builtin/cocos-services/panel/utils/ccServices.js:1:2875)
at s (/Applications/CocosCreator.app/Contents/Resources/app.asar/editor/builtin/cocos-services/main.js:1:315)
at /Applications/CocosCreator.app/Contents/Resources/app.asar/editor-framework/lib/share/polyfills.js:1:286
at Promise ()
at /Applications/CocosCreator.app/Contents/Resources/app.asar/editor-framework/lib/share/polyfills.js:1:260
at /Applications/CocosCreator.app/Contents/Resources/app.asar/editor/lib/builder/index.js:1:858
at
at then.e (/Applications/CocosCreator.app/Contents/Resources/app.asar/editor/lib/builder/index.js:1:885)
at
at process._tickDomainCallback (internal/process/next_tick.js:135:7)
构建怎么失败,突然这样了。重装app创建空项目依然如此。

以前从来没出现过这个问题,之前还好好的。突然就抽风了。不过,我好像操作过custom node,不知道有没有关系啊…