今天启动要求登录,登录后build出现json错误

Creator 版本:2.0.9

目标平台:all

详细报错信息,包含调用堆栈:build出错
SyntaxError: Unexpected token
in JSON at position 245
at JSON.parse ()
at Object.l [as readJson] (/Applications/CocosCreator2.0.9.app/Contents/Resources/app.asar/editor/builtin/cocos-services/panel/utils/utils.js:1:649)
at Object.readEnableService (/Applications/CocosCreator2.0.9.app/Contents/Resources/app.asar/editor/builtin/cocos-services/panel/utils/serviceConfig.js:1:662)
at Object.execInstallNativePlatformScript (/Applications/CocosCreator2.0.9.app/Contents/Resources/app.asar/editor/builtin/cocos-services/panel/utils/ccServices.js:1:2875)
at s (/Applications/CocosCreator2.0.9.app/Contents/Resources/app.asar/editor/builtin/cocos-services/main.js:1:315)
at /Applications/CocosCreator2.0.9.app/Contents/Resources/app.asar/editor-framework/lib/share/polyfills.js:1:286
at Promise ()
at /Applications/CocosCreator2.0.9.app/Contents/Resources/app.asar/editor-framework/lib/share/polyfills.js:1:260
at /Applications/CocosCreator2.0.9.app/Contents/Resources/app.asar/editor/lib/builder/index.js:1:858
at
at then.e (/Applications/CocosCreator2.0.9.app/Contents/Resources/app.asar/editor/lib/builder/index.js:1:885)
at
at process._tickDomainCallback (internal/process/next_tick.js:135:7)

Build Failed: SyntaxError: Unexpected token
in JSON at position 245

重现方式:

之前哪个版本是正常的 :

手机型号 :

手机浏览器 :

编辑器操作系统 :

编辑器之前是否有其它报错 :

出现概率:

额外线索:
更新后发现项目setting/services.json里有三段红色的错误。不知道你们更新了什么,只有重开cocos都会更新到错误的json配置,要手动删了才行。发布service没测试吗?

这问题我几个月前就出现过,参考帖子

想不到几个月后官方还范相同的错误

已经修复了,删除setting/services.json,重启项目就好。

昨天又出现在。每次启动cocos后都要删除一下setting/services.json