miniprogram-ci 执行预览命令时 报错?
const ci = require(‘miniprogram-ci’);
(async () => {
const project = new ci.Project({
appid: ‘xxxx’,
type: ‘miniProgram’,
projectPath: ‘xxxx’,
privateKeyPath: ‘xxx’,
ignores: [‘node_modules/**/*’],
})
await ci.upload({
project,
version: ‘1.2.1’,
desc: ‘hello’,
setting: {
es6: true,
},
onProgressUpdate: console.log,
})
})()
[“tabBar”][“list”][0][“iconPath”]: “static/image/home.png” not found
去掉tabBar中的图片就不会报错,并且 在微信开发者工具中上传和预览都不会有这种问题