https://developers.weixin.qq.com/miniprogram/dev/devtools/cli.html
cli preview --project /Users/username/demo --qr-output base64@/Users/username/code.txt --qr-format base64
这句代码执行会报错,但是我的路径是没错的
cli preview --project /Users/yaqiwu/Desktop/xxx --qr-output base64@/Users/yaqiwu/Desktop/xxx --qr-format base64
code: 10,
message: 'Error: 错误 Error: 二维码输出路径无效或不存在 %s (code 17) (code 10)Error: 错误 Error: 二维码输出路径无效或不存在 %s (code 17) (code 10)\n' +
' at Object.GENERIC_ERROR (/Applications/wechatwebdevtools.app/Contents/Resources/package.nw/core.wxvpkg/7201d239ccdbdc262e2ecf5fe0c8aca3.js:2:93)\n' +
' at /Applications/wechatwebdevtools.app/Contents/Resources/package.nw/core.wxvpkg/e957e476922cb230973a914ab0c2cdac.js:2:5478\n' +
' at new Promise (<anonymous>)\n' +
' at exports.handleUpload (/Applications/wechatwebdevtools.app/Contents/Resources/package.nw/core.wxvpkg/e957e476922cb230973a914ab0c2cdac.js:2:2685)\n' +
' at Object.exports.preview [as method] (/Applications/wechatwebdevtools.app/Contents/Resources/package.nw/core.wxvpkg/e957e476922cb230973a914ab0c2cdac.js:2:1319)\n' +
' at /Applications/wechatwebdevtools.app/Contents/Resources/package.nw/core.wxvpkg/7a975443f52e91830ae1d65cdf8c86db.js:2:3787\n' +
' at async Object.<anonymous> (/Applications/wechatwebdevtools.app/Contents/Resources/package.nw/core.wxvpkg/7a975443f52e91830ae1d65cdf8c86db.js:2:3012)'