Quantcast
Channel: Cocos中文社区 - 最新主题
Viewing all articles
Browse latest Browse all 88737

使用github cocos2d-x-lite v1.3分支的引擎, 用1.3.1-beta creator执行build失败

$
0
0

@shishaoguang 写道:

如题 在MAC环境下 creator里面点Project/build ios报错
2016-11-10T03:51:15.287Z - normal: Load ~/.CocosCreator/settings.json
2016-11-10T03:51:15.295Z - normal: checking language setting...
2016-11-10T03:51:15.296Z - normal: Language: en
2016-11-10T03:51:15.385Z - success: protocol editor-framework registered
2016-11-10T03:51:15.385Z - success: protocol app registered
2016-11-10T03:51:15.386Z - success: protocol packages registered
2016-11-10T03:51:15.386Z - success: protocol theme registered
2016-11-10T03:51:15.386Z - success: protocol unpack registerred
2016-11-10T03:51:15.486Z - normal: connected!
2016-11-10T03:51:15.489Z - normal: Check project /Users/shishaoguang/work/Kingdom/kingdom/client/kingdom
2016-11-10T03:51:15.495Z - normal: Initializing Cocos Creator Editor
2016-11-10T03:51:16.764Z - normal: Initializing Cocos2d
2016-11-10T03:51:17.151Z - normal: Initializing Asset Database
2016-11-10T03:51:17.211Z - success: protocol uuid registerred
2016-11-10T03:51:17.211Z - success: protocol db registerred
2016-11-10T03:51:17.212Z - success: protocol thumbnail registerred
2016-11-10T03:51:17.213Z - normal: Loading editor/builtin packages
2016-11-10T03:51:17.475Z - success: assets loaded
2016-11-10T03:51:17.482Z - success: builder loaded
2016-11-10T03:51:17.489Z - success: hierarchy loaded
2016-11-10T03:51:17.498Z - success: inspector loaded
2016-11-10T03:51:17.500Z - success: keystore loaded
2016-11-10T03:51:17.507Z - success: node-library loaded
2016-11-10T03:51:17.513Z - success: preferences loaded
2016-11-10T03:51:17.536Z - success: project-importer loaded
2016-11-10T03:51:17.542Z - success: project-settings loaded
2016-11-10T03:51:17.548Z - success: ui-kit loaded
2016-11-10T03:51:17.562Z - success: ui-grid loaded
2016-11-10T03:51:17.570Z - success: scene loaded
2016-11-10T03:51:17.572Z - success: sprite-editor loaded
2016-11-10T03:51:17.581Z - success: timeline loaded
2016-11-10T03:51:17.582Z - normal: Loading builtin packages
2016-11-10T03:51:17.589Z - success: asset-db-debugger loaded
2016-11-10T03:51:17.593Z - success: cocos-package loaded
2016-11-10T03:51:17.595Z - success: code-editor loaded
2016-11-10T03:51:17.596Z - success: color-picker loaded
2016-11-10T03:51:17.618Z - success: console loaded
2016-11-10T03:51:17.624Z - success: package-manager loaded
2016-11-10T03:51:17.635Z - success: tester loaded
2016-11-10T03:51:17.642Z - success: ui-kit-preview-extra loaded
2016-11-10T03:51:17.647Z - success: ui-kit-preview loaded
2016-11-10T03:51:17.651Z - success: ui-tree loaded
2016-11-10T03:51:17.699Z - normal: Initializing project /Users/shishaoguang/work/Kingdom/kingdom/client/kingdom
2016-11-10T03:51:17.702Z - warn: Failed to load profile project, error message: Unexpected token in JSON at position 0
2016-11-10T03:51:17.703Z - normal: Loading packages
2016-11-10T03:51:17.709Z - failed: Failed to load package at /Users/shishaoguang/work/Kingdom/kingdom/client/kingdom/packages/auto_build: Failed to load 'package.json': Unexpected token / in JSON at position 96
2016-11-10T03:51:17.709Z - normal: Watching packages
2016-11-10T03:51:17.769Z - normal: Run Application
2016-11-10T03:52:32.108Z - warn: [SpriteAtlas import] Some of the frame keys have been reformatted : ["monster/r10001.png","monster/r10002.png","monster/r10003.png","monster/r10004.png","monster/r10005.png","monster/r10006.png","monster/r10007.png","monster/r10008.png"]
2016-11-10T03:52:47.426Z - success: preview server running at http://localhost:7456
2016-11-10T03:52:47.427Z - normal: Compiling scripts...
2016-11-10T03:52:52.365Z - normal: Compiled successfully
2016-11-10T03:52:55.956Z - normal: 1.3.1-beta.1
2016-11-10T03:53:00.966Z - warn: Should not define constructor for cc.Component undefined.
2016-11-10T03:53:01.023Z - warn: Should not define constructor for cc.Component undefined.
2016-11-10T03:53:01.030Z - warn: Should not define constructor for cc.Component undefined.
2016-11-10T03:53:01.040Z - warn: Should not define constructor for cc.Component undefined.
2016-11-10T03:53:01.042Z - warn: Should not define constructor for cc.Component undefined.
2016-11-10T03:53:01.045Z - warn: Should not define constructor for cc.Component undefined.
2016-11-10T03:53:01.070Z - warn: Should not define constructor for cc.Component undefined.
2016-11-10T03:53:01.082Z - warn: Should not define constructor for cc.Component undefined.
2016-11-10T03:53:01.083Z - warn: Should not define constructor for cc.Component undefined.
2016-11-10T03:53:01.087Z - warn: Should not define constructor for cc.Component undefined.
2016-11-10T03:53:01.097Z - warn: Should not define constructor for cc.Component undefined.
2016-11-10T03:53:01.104Z - warn: Should not define constructor for cc.Component undefined.
2016-11-10T03:53:01.124Z - warn: Should not define constructor for cc.Component undefined.
2016-11-10T03:53:01.147Z - warn: Should not define constructor for cc.Component undefined.
2016-11-10T03:53:01.166Z - warn: Should not define constructor for cc.Component undefined.
2016-11-10T03:53:01.168Z - warn: Should not define constructor for cc.Component undefined.
2016-11-10T03:53:01.170Z - warn: Should not define constructor for cc.Component undefined.
2016-11-10T03:53:01.171Z - warn: Should not define constructor for cc.Component undefined.
2016-11-10T03:53:01.173Z - warn: Should not define constructor for cc.Component undefined.
2016-11-10T03:53:01.176Z - warn: Should not define constructor for cc.Component undefined.
2016-11-10T03:53:01.181Z - warn: Should not define constructor for cc.Component undefined.
2016-11-10T03:53:01.194Z - warn: Should not define constructor for cc.Component undefined.
2016-11-10T03:53:01.207Z - warn: Should not define constructor for cc.Component undefined.
2016-11-10T03:53:01.215Z - warn: Should not define constructor for cc.Component undefined.
2016-11-10T03:53:01.218Z - warn: Should not define constructor for cc.Component undefined.
2016-11-10T03:53:01.231Z - warn: Should not define constructor for cc.Component undefined.
2016-11-10T03:53:01.233Z - warn: Should not define constructor for cc.Component undefined.
2016-11-10T03:53:01.250Z - warn: Should not define constructor for cc.Component undefined.
2016-11-10T03:53:01.255Z - warn: Should not define constructor for cc.Component undefined.
2016-11-10T03:53:01.266Z - warn: Should not define constructor for cc.Component undefined.
2016-11-10T03:56:28.530Z - error: Build Failed: TypeError: Cannot read property 'indexOf' of undefined
at Object.exports.buildModular (/Volumes/Macintosh_HD3/CocosCreator.app/Contents/Resources/engine/gulp/tasks/modular.js:162:21)
at Gulp. (/Volumes/Macintosh_HD3/CocosCreator.app/Contents/Resources/app.asar/editor/core/gulp-build.js:1:9110)
at module.exports (/Volumes/Macintosh_HD3/CocosCreator.app/Contents/Resources/app.asar/node_modules/orchestrator/lib/runTask.js:34:7)
at Gulp.Orchestrator.runTask (/Volumes/MacintoshHD3/CocosCreator.app/Contents/Resources/app.asar/node_modules/orchestrator/index.js:273:3)
at Gulp.Orchestrator.runStep (/Volumes/MacintoshHD3/CocosCreator.app/Contents/Resources/app.asar/node_modules/orchestrator/index.js:214:10)
at Gulp.Orchestrator.start (/Volumes/Macintosh_HD3/CocosCreator.app/Contents/Resources/app.asar/node_modules/orchestrator/index.js:134:8)
at Object.exports.startWithArgs (/Volumes/Macintosh_HD3/CocosCreator.app/Contents/Resources/app.asar/editor/core/gulp-build.js:1:11806)
at doBuild (/Volumes/MacintoshHD3/CocosCreator.app/Contents/Resources/app.asar/editor/core/builder.js:1:899)
at EventEmitter.Object.assign.build (/Volumes/Macintosh_HD3/CocosCreator.app/Contents/Resources/app.asar/editor/core/builder.js:1:1372)
at EventEmitter. (/Volumes/Macintosh_HD3/CocosCreator.app/Contents/Resources/app.asar/editor/init.js:1:10454)
at emitTwo (events.js:106:13)
at EventEmitter.emit (events.js:191:7)
at main2main (/Volumes/MacintoshHD3/CocosCreator.app/Contents/Resources/app.asar/editor-framework/lib/main/ipc.js:1:2285)
at Object.Ipc.sendToMain (/Volumes/Macintosh_HD3/CocosCreator.app/Contents/Resources/app.asar/editor-framework/lib/main/ipc.js:1:5302)
at Object.module.exports.messages.start-task (/Volumes/Macintosh_HD3/CocosCreator.app/Contents/Resources/app.asar/editor/builtin/builder/main.js:1:617)
at emitThree (events.js:116:13)
at EventEmitter.emit (events.js:194:7)
at /Volumes/Macintosh_HD3/CocosCreator.app/Contents/Resources/app.asar/editor/core/builder.js:1:1405
at Gulp.doneCallback (/Volumes/Macintosh_HD3/CocosCreator.app/Contents/Resources/app.asar/editor/core/gulp-build.js:1:11828)
at Gulp.Orchestrator.stop (/Volumes/Macintosh_HD3/CocosCreator.app/Contents/Resources/app.asar/node_modules/orchestrator/index.js:150:9)
at /Volumes/Macintosh_HD3/CocosCreator.app/Contents/Resources/app.asar/node_modules/orchestrator/index.js:277:22
at finish (/Volumes/Macintosh_HD3/CocosCreator.app/Contents/Resources/app.asar/node_modules/orchestrator/lib/runTask.js:21:8)
at module.exports (/Volumes/Macintosh_HD3/CocosCreator.app/Contents/Resources/app.asar/node_modules/orchestrator/lib/runTask.js:36:10)
at Gulp.Orchestrator.runTask (/Volumes/MacintoshHD3/CocosCreator.app/Contents/Resources/app.asar/node_modules/orchestrator/index.js:273:3)
at Gulp.Orchestrator.runStep (/Volumes/MacintoshHD3/CocosCreator.app/Contents/Resources/app.asar/node_modules/orchestrator/index.js:214:10)
at Gulp.Orchestrator.start (/Volumes/Macintosh_HD3/CocosCreator.app/Contents/Resources/app.asar/node_modules/orchestrator/index.js:134:8)
at Object.exports.startWithArgs (/Volumes/Macintosh_HD3/CocosCreator.app/Contents/Resources/app.asar/editor/core/gulp-build.js:1:11806)
at doBuild (/Volumes/MacintoshHD3/CocosCreator.app/Contents/Resources/app.asar/editor/core/builder.js:1:899)
at EventEmitter.Object.assign.build (/Volumes/Macintosh_HD3/CocosCreator.app/Contents/Resources/app.asar/editor/core/builder.js:1:1372)
at EventEmitter. (/Volumes/Macintosh_HD3/CocosCreator.app/Contents/Resources/app.asar/editor/init.js:1:10454)
at emitTwo (events.js:106:13)
at EventEmitter.emit (events.js:191:7)
2016-11-10T03:56:39.680Z - normal: Compiled successfully

帖子: 1

参与者: 1

阅读整个主题


Viewing all articles
Browse latest Browse all 88737

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>