收藏
回答

使用 cli upload 上传报错提示 app.js 不存在?

可是明明存在 app.js 文件,自己打开微信开发工具就可以上传。。。。

✔ IDE server has started, listening on http://127.0.0.1:24914
✔ Using AppID: xxxxxxxxxx
✖ Uploading
[error] {
  code: 10,
  message: 'Error: 错误 Error: 缺少文件, error: app.js, file not found [20200817 14:27:03][] (code 10)Error: 错误 Error: 缺少文件, error: app.js, file not found [20200817 14:27:03][] (code 10)\n' +
    '    at Object.GENERIC_ERROR (/Applications/wechatwebdevtools.app/Contents/Resources/package.nw/core.wxvpkg/7201d239ccdbdc262e2ecf5fe0c8aca3.js:1:141)\n' +
    '    at /Applications/wechatwebdevtools.app/Contents/Resources/package.nw/core.wxvpkg/e957e476922cb230973a914ab0c2cdac.js:1:5192\n' +
    '    at processTicksAndRejections (internal/process/task_queues.js:85:5)'
}


回答关注问题邀请回答
收藏

1 个回答

  • 邓坤力
    邓坤力
    2020-08-17

    不要关掉工具,重复执行命令,是否可以成功?

    2020-08-17
    有用
    回复 1
    • 大宝🧶
      大宝🧶
      发表于移动端
      2020-08-17
      没用,预览,自动预览都是同样的错误。
      2020-08-17
      回复
登录 后发表内容
问题标签