收藏
回答

Mac版微信开发者工具打开项目后,什么都没操作,左边的窗口提示“模拟器启动失败”,如何解决?

刚更新安装版本,打开后就这样,这BUG挺严重的

微信开发者工具版本:1.06.2303060,x64(Intel)

操作系统:macOS Ventura 13.2.1


以下是错误日志:

[] Cannot find module '/Applications/wechatwebdevtools.app/Contents/Resources/package.nw/js/common/miniprogram-builder/modules/fullcompiler/app/contactandlaunch/updatecontactandlaunch'

Require stack:

- /Applications/wechatwebdevtools.app/Contents/Resources/package.nw/js/common/miniprogram-builder/index.js

- /Applications/wechatwebdevtools.app/Contents/Resources/package.nw/core.wxvpkg/e443ccb057a8423c8d25e5246e6a0122.js

- /Applications/wechatwebdevtools.app/Contents/Resources/package.nw/core.wxvpkg/874e6d64359868a14d8942f2f2dc6fde.js

- /Applications/wechatwebdevtools.app/Contents/Resources/package.nw/core.wxvpkg/01103df1c7174cf58c8ecb12840b0e1f.js

- /Applications/wechatwebdevtools.app/Contents/Resources/package.nw/core.wxvpkg/32d836f49b5b9bf2c49b510c2695ccbf.js

- /Applications/wechatwebdevtools.app/Contents/Resources/package.nw/core.wxvpkg/526e6a29f4f1f72e39cf9464b34abd84.js

- /Applications/wechatwebdevtools.app/Contents/Resources/package.nw/core.wxvpkg/3a67b0cd649abaa7a873f3edfc2be587.js

- /Applications/wechatwebdevtools.app/Contents/Resources/package.nw/html/index.html

Error: Cannot find module '/Applications/wechatwebdevtools.app/Contents/Resources/package.nw/js/common/miniprogram-builder/modules/fullcompiler/app/contactandlaunch/updatecontactandlaunch'

Require stack:

- /Applications/wechatwebdevtools.app/Contents/Resources/package.nw/js/common/miniprogram-builder/index.js

- /Applications/wechatwebdevtools.app/Contents/Resources/package.nw/core.wxvpkg/e443ccb057a8423c8d25e5246e6a0122.js

- /Applications/wechatwebdevtools.app/Contents/Resources/package.nw/core.wxvpkg/874e6d64359868a14d8942f2f2dc6fde.js

- /Applications/wechatwebdevtools.app/Contents/Resources/package.nw/core.wxvpkg/01103df1c7174cf58c8ecb12840b0e1f.js

- /Applications/wechatwebdevtools.app/Contents/Resources/package.nw/core.wxvpkg/32d836f49b5b9bf2c49b510c2695ccbf.js

- /Applications/wechatwebdevtools.app/Contents/Resources/package.nw/core.wxvpkg/526e6a29f4f1f72e39cf9464b34abd84.js

- /Applications/wechatwebdevtools.app/Contents/Resources/package.nw/core.wxvpkg/3a67b0cd649abaa7a873f3edfc2be587.js

- /Applications/wechatwebdevtools.app/Contents/Resources/package.nw/html/index.html

    at Module._resolveFilename (node:internal/modules/cjs/loader:951:15)

    at Function.s._resolveFilename (/Applications/wechatwebdevtools.app/Contents/Resources/package.nw/js/unpack/hackrequire/index.js:2:67172)

    at Function.Module._load (node:internal/modules/cjs/loader:791:27)

    at Module.require (node:internal/modules/cjs/loader:1023:19)

    at Module.t.require (/Applications/wechatwebdevtools.app/Contents/Resources/package.nw/core.wxvpkg/fb234dd516321fadc9732d99111bc45e.js:2:3949)

    at r (/Applications/wechatwebdevtools.app/Contents/Resources/package.nw/js/unpack/hackrequire/index.js:2:67860)

    at n (/Applications/wechatwebdevtools.app/Contents/Resources/package.nw/node_modules.wxvpkg/licia/lazyImport.js:1:519)

    at Object.get (/Applications/wechatwebdevtools.app/Contents/Resources/package.nw/node_modules.wxvpkg/licia/lazyImport.js:1:911)

    at Object.get [as updateContactBase64] (/Applications/wechatwebdevtools.app/Contents/Resources/package.nw/js/common/miniprogram-builder/index.js:2:5619)

    at Object.get (/Applications/wechatwebdevtools.app/Contents/Resources/package.nw/node_modules.wxvpkg/licia/lazyImport.js:1:916)

    at Proxy.__exportStar (/Applications/wechatwebdevtools.app/Contents/Resources/package.nw/node_modules.wxvpkg/tslib/tslib.js:15:3436)

    at /Applications/wechatwebdevtools.app/Contents/Resources/package.nw/core.wxvpkg/81c46357d80e2950788d08817f0c4ec5.js:2:653

    at Object.<anonymous> (/Applications/wechatwebdevtools.app/Contents/Resources/package.nw/core.wxvpkg/81c46357d80e2950788d08817f0c4ec5.js:3:2)

    at Module.s._compile (/Applications/wechatwebdevtools.app/Contents/Resources/package.nw/js/unpack/hackrequire/index.js:2:68146)

    at Object.s._extensions..js (/Applications/wechatwebdevtools.app/Contents/Resources/package.nw/js/unpack/hackrequire/index.js:2:67394)

    at Module.load (node:internal/modules/cjs/loader:999:32)

    at Function.Module._load (node:internal/modules/cjs/loader:840:12)

    at Module.require (node:internal/modules/cjs/loader:1023:19)

    at Module.t.require (/Applications/wechatwebdevtools.app/Contents/Resources/package.nw/core.wxvpkg/fb234dd516321fadc9732d99111bc45e.js:2:3949)

    at r (/Applications/wechatwebdevtools.app/Contents/Resources/package.nw/js/unpack/hackrequire/index.js:2:67860)

    at n (/Applications/wechatwebdevtools.app/Contents/Resources/package.nw/node_modules.wxvpkg/licia/lazyImport.js:1:519)

    at Object.get (/Applications/wechatwebdevtools.app/Contents/Resources/package.nw/node_modules.wxvpkg/licia/lazyImport.js:1:911)

    at /Applications/wechatwebdevtools.app/Contents/Resources/package.nw/core.wxvpkg/aef2108f7823e18c1b6fafc15affedf4.js:2:530

    at /Applications/wechatwebdevtools.app/Contents/Resources/package.nw/core.wxvpkg/fb234dd516321fadc9732d99111bc45e.js:2:2557

    at Object.apply (/Applications/wechatwebdevtools.app/Contents/Resources/package.nw/node_modules.wxvpkg/licia/lazyImport.js:1:1031)

    at h (/Applications/wechatwebdevtools.app/Contents/Resources/package.nw/core.wxvpkg/01288909aa7527a1eed3205d3c67bd45.js:2:776)

    at b (/Applications/wechatwebdevtools.app/Contents/Resources/package.nw/core.wxvpkg/01288909aa7527a1eed3205d3c67bd45.js:2:5002)

    at Proxy.getAppConfig (/Applications/wechatwebdevtools.app/Contents/Resources/package.nw/core.wxvpkg/01288909aa7527a1eed3205d3c67bd45.js:2:6987)

    at /Applications/wechatwebdevtools.app/Contents/Resources/package.nw/core.wxvpkg/b7dcb8a827af5764977e86540fc6dffc.js:2:5792

    at /Applications/wechatwebdevtools.app/Contents/Resources/package.nw/node_modules.wxvpkg/redux-thunk/lib/index.js:1:224

    at Object.launchSimulator (/Applications/wechatwebdevtools.app/Contents/Resources/package.nw/core.wxvpkg/d5412d2773b861711912958f9f5b10f7.js:2:13485)

    at q.appserviceReload (/Applications/wechatwebdevtools.app/Contents/Resources/package.nw/core.wxvpkg/0137de1627f9007d2420e9783d77cc35.js:2:18806)

    at Timeout.<anonymous> (/Applications/wechatwebdevtools.app/Contents/Resources/package.nw/core.wxvpkg/0137de1627f9007d2420e9783d77cc35.js:2:20406)

    at Timeout.n [as _onTimeout] (/Applications/wechatwebdevtools.app/Contents/Resources/package.nw/node_modules.wxvpkg/@sentry/browser/dist/helpers.js:1:752)

    at listOnTimeout (node:internal/timers:557:17)

    at processTimers (node:internal/timers:500:7)(env: macOS,mp,1.06.2303060; lib: 2.8.1)

最后一次编辑于  2023-03-15
回答关注问题邀请回答
收藏

7 个回答

  • 丄譱叒氺🌊
    丄譱叒氺🌊
    2023-06-21

    这个确实时间有点长了,到现在升及级,还有这个BUG,好家伙,这种毁灭性的BUG,难道不应该第一时间解决吗?临时解决方法:

    执行以下命令,然后退掉开发者工具,然后重启就可以了:

    cp /Applications/wechatwebdevtools.app/Contents/Resources/package.nw/js/common/miniprogram-builder/modules/fullcompiler/app/contactandlaunch/updateContactAndLaunch.js /Applications/wechatwebdevtools.app/Contents/Resources/package.nw/js/common/miniprogram-builder/modules/fullcompiler/app/contactandlaunch/updatecontactandlaunch.js
    


    2023-06-21
    有用 2
    回复 1
    • A陆德聪
      A陆德聪
      2023-08-09
      感谢大佬
      2023-08-09
      回复
  • Black & White
    Black & White
    2023-07-10

    这种又严重又好修的 bug 都不处理?

    2023-07-10
    有用 1
    回复
  • 择一城4
    择一城4
    2023-06-30

    感觉太不专业了,基本的大小写

    2023-06-30
    有用
    回复
  • 陈鑫杰
    陈鑫杰
    2023-06-28

    问题还没有修复好???

    2023-06-28
    有用
    回复
  • 看上隔壁小花了啦
    看上隔壁小花了啦
    2023-06-11

    这都多长时间了,还存在这个问题。官方海参吃多了吧

    2023-06-11
    有用
    回复
  • tq02ksu
    tq02ksu
    2023-05-31

    修改之后需要重启应用才能生效

    2023-05-31
    有用
    回复
  • jonny
    jonny
    2023-03-15

    检查下这个找不到的路径文件是否存在

    2023-03-15
    有用
    回复 6
    • 生火
      生火
      2023-03-15
      大小写敏感问题,与 “/Applications/wechatwebdevtools.app/Contents/Resources/package.nw/js/common/miniprogram-builder/modules/fullcompiler/app/contactandlaunch/updatecontactandlaunch” 不一样,报错都与这个有关
      2023-03-15
      1
      回复
    • jonny
      jonny
      2023-03-15回复生火
      你先手动改下这个文件名称,我们这边修复下
      2023-03-15
      1
      回复
    • 生火
      生火
      2023-03-15
      OK
      2023-03-15
      回复
    • Joshua
      Joshua
      2023-05-05回复jonny
      希望注意大小写问题,特别做开发的,MacOS、Linux绝大部分的人都区分大小写。
      2023-05-05
      回复
    • tq02ksu
      tq02ksu
      2023-05-31回复jonny
      还没修好呢??
      2023-05-31
      回复
    查看更多(1)
登录 后发表内容