wxcff80354f4ef7c99 不全的意思是可能有些文件没上传成功,命令行上传后,进入游戏提示js/egret.min.js加载失败。手动上传没问题 本地代码大小 3840 KB
微信开发者工具命令行上传错误项目在做自动发布,用到了微信开发者工具的命令行工具上传项目,上传遇到两个问题 1.在调用打开项目的时候出现报错说项目配置有问题 2.上传命令提示成功,但是上传的文件不全进不了游戏 项目在微信开发者工具上可以运行,手动上传成功,可正常进游戏,说明项目配置本身没问题 test.sh [代码]export[代码] [代码]DEV_TOOLS=[代码][代码]/Applications/wechatwebdevtools[代码][代码].app[代码][代码]/Contents/Resources/app[代码][代码].nw[代码][代码]/bin[代码][代码]export[代码] [代码]PATH=$DEV_TOOLS:$PATH[代码] [代码]cli -o base64@[代码][代码]/Users/jacob/Documents/h5/Demo_wxgame[代码][代码]cli -p [代码][代码]/Users/jacob/Documents/h5/Demo_wxgame[代码][代码]cli -u 1.1.5.302@[代码][代码]/Users/jacob/Documents/h5/Demo_wxgame[代码] [代码]--upload-desc [代码][代码]'Jenkins-1.1.5.302'[代码]终端输出 [代码]tony-BlackMac:h5 jacob$ .[代码][代码]/test[代码][代码].sh[代码][代码]Initializing...[代码][代码]idePortFile: [代码][代码]/Users/jacob/Library/Application[代码] [代码]Support/微信web开发者工具[代码][代码]/Default/[代码][代码].ide[代码][代码]IDE server has started, listening on http:[代码][代码]//127[代码][代码].0.0.1:36663[代码][代码]initialization finished[代码][代码]StatusCodeError: 400 - [代码][代码]"{\"code\":400002,\"error\":\"请检查是否 project.config.json 是否存在及是否有效\"}"[代码][代码]Initializing...[代码][代码]idePortFile: [代码][代码]/Users/jacob/Library/Application[代码] [代码]Support/微信web开发者工具[代码][代码]/Default/[代码][代码].ide[代码][代码]IDE server has started, listening on http:[代码][代码]//127[代码][代码].0.0.1:36663[代码][代码]initialization finished[代码][代码]preparing preview...[代码] #预览二维码,扫描后也可正常体验,就是上传后的有问题不能正常体验 [代码]Initializing...[代码][代码]idePortFile: [代码][代码]/Users/jacob/Library/Application[代码] [代码]Support/微信web开发者工具[代码][代码]/Default/[代码][代码].ide[代码][代码]IDE server has started, listening on http:[代码][代码]//127[代码][代码].0.0.1:36663[代码][代码]initialization finished[代码][代码]uploading project...[代码] [代码]upload success[代码]project.config.json [代码]{[代码][代码] [代码][代码]"description"[代码][代码]: [代码][代码]"项目配置文件。"[代码][代码],[代码][代码] [代码][代码]"setting"[代码][代码]: {[代码][代码] [代码][代码]"urlCheck"[代码][代码]: [代码][代码]false[代码][代码],[代码][代码] [代码][代码]"es6"[代码][代码]: [代码][代码]true[代码][代码],[代码][代码] [代码][代码]"postcss"[代码][代码]: [代码][代码]true[代码][代码],[代码][代码] [代码][代码]"minified"[代码][代码]: [代码][代码]true[代码][代码],[代码][代码] [代码][代码]"newFeature"[代码][代码]: [代码][代码]true[代码][代码] [代码][代码]},[代码][代码] [代码][代码]"compileType"[代码][代码]: [代码][代码]"game"[代码][代码],[代码][代码] [代码][代码]"libVersion"[代码][代码]: [代码][代码]"game"[代码][代码],[代码][代码] [代码][代码]"appid"[代码][代码]: [代码][代码]"wx****************"[代码][代码],[代码][代码] [代码][代码]"projectname"[代码][代码]: [代码][代码]"Demo"[代码][代码],[代码][代码] [代码][代码]"condition"[代码][代码]: {[代码][代码] [代码][代码]"search"[代码][代码]: {[代码][代码] [代码][代码]"current"[代码][代码]: -1,[代码][代码] [代码][代码]"list"[代码][代码]: [][代码][代码] [代码][代码]},[代码][代码] [代码][代码]"conversation"[代码][代码]: {[代码][代码] [代码][代码]"current"[代码][代码]: -1,[代码][代码] [代码][代码]"list"[代码][代码]: [][代码][代码] [代码][代码]},[代码][代码] [代码][代码]"plugin"[代码][代码]: {[代码][代码] [代码][代码]"current"[代码][代码]: -1,[代码][代码] [代码][代码]"list"[代码][代码]: [][代码][代码] [代码][代码]},[代码][代码] [代码][代码]"game"[代码][代码]: {[代码][代码] [代码][代码]"current"[代码][代码]: -1,[代码][代码] [代码][代码]"list"[代码][代码]: [[代码][代码] [代码][代码]{[代码][代码] [代码][代码]"id"[代码][代码]: 0,[代码][代码] [代码][代码]"name"[代码][代码]: [代码][代码]"强制更新模拟编译"[代码][代码],[代码][代码] [代码][代码]"query"[代码][代码]: [代码][代码]""[代码][代码] [代码][代码]}[代码][代码] [代码][代码]][代码][代码] [代码][代码]},[代码][代码] [代码][代码]"miniprogram"[代码][代码]: {[代码][代码] [代码][代码]"current"[代码][代码]: -1,[代码][代码] [代码][代码]"list"[代码][代码]: [][代码][代码] [代码][代码]}[代码][代码] [代码][代码]}[代码][代码]}[代码]
2018-06-20