miniprogram-ci 工具npm构建失败?
const warning = await ci.packNpm(project, {
reporter: (infos) => {
console.log(infos)
}
})
22:19:58 parse js file (/Users/liming/jenkins/jenkins/workspace/test-wx-mini/node_modules/qrcode-terminal/lib/main.js) failed
22:19:58 SyntaxError: Octal literal in strict mode (3:13)
22:19:58 at Parser.pp$4.raise (/Users/liming/jenkins/jenkins/workspace/test-wx-mini/node_modules/acorn/dist/acorn.js:2825:15)
22:19:58 at Parser.pp$9.invalidStringToken (/Users/liming/jenkins/jenkins/workspace/test-wx-mini/node_modules/acorn/dist/acorn.js:4739:12)
22:19:58 at Parser.pp$9.readEscapedChar (/Users/liming/jenkins/jenkins/workspace/test-wx-mini/node_modules/acorn/dist/acorn.js:4841:16)
22:19:58 at Parser.pp$9.readString (/Users/liming/jenkins/jenkins/workspace/test-wx-mini/node_modules/acorn/dist/acorn.js:4705:21)
22:19:58 at Parser.pp$9.getTokenFromCode (/Users/liming/jenkins/jenkins/workspace/test-wx-mini/node_modules/acorn/dist/acorn.js:4528:19)
22:19:58 at Parser.pp$9.readToken (/Users/liming/jenkins/jenkins/workspace/test-wx-mini/node_modules/acorn/dist/acorn.js:4288:17)
22:19:58 at Parser.pp$9.nextToken (/Users/liming/jenkins/jenkins/workspace/test-wx-mini/node_modules/acorn/dist/acorn.js:4279:17)
22:19:58 at Parser.pp$9.next (/Users/liming/jenkins/jenkins/workspace/test-wx-mini/node_modules/acorn/dist/acorn.js:4236:10)
22:19:58 at Parser.pp.eat (/Users/liming/jenkins/jenkins/workspace/test-wx-mini/node_modules/acorn/dist/acorn.js:619:12)
22:19:58 at Parser.pp$1.parseVar (/Users/liming/jenkins/jenkins/workspace/test-wx-mini/node_modules/acorn/dist/acorn.js:1227:16) {
22:19:58 pos: 134,
22:19:58 loc: Position { line: 3, column: 13 },
22:19:58 raisedAt: 138
miniprogram-ci工具还不稳定? qrcode-terminal很久都没更新了,还是依赖了生成二维码?
同时二维码为啥不添加小程序图标易于区分,只是二维码谁也不知道是那个应用。
上传值返回了应用包大小信息,现在最需要的是返回小程序基本信息,如名称,图标,基础库等等需要在持续集成中反馈的相关人员