升级macOS10.15之后,微信开发者工具一打开就闪退,下载了最新的stable版本、rc版本和nightly版本重装之后还是闪退,删除/Library/Application Support/微信开发者工具 这个目录之后重启也还是闪退。
视频截图:
/Library/Application Support/微信开发者工具/WeappLog,log文件如下:
[2019-10-19 10:02:58.828] [ERROR] [/core.wxvpkg/15ba1827c7f6564a45df6bd44da3a977.js] https://servicewechat.com/wxa-dev-logic/getpluginlist 需要重新登录 [2019-10-19 10:02:58.829] [ERROR] [/core.wxvpkg/15ba1827c7f6564a45df6bd44da3a977.js] https://servicewechat.com/wxa-dev-logic/getpluginlist 需要重新登录 [2019-10-19 10:02:58.829] [ERROR] [/core.wxvpkg/15ba1827c7f6564a45df6bd44da3a977.js] https://servicewechat.com/wxa-dev-logic/getpluginlist 需要重新登录 [2019-10-19 10:02:58.865] [ERROR] [/core.wxvpkg/15ba1827c7f6564a45df6bd44da3a977.js] https://servicewechat.com/wxa-dev-logic/ideoptconf 需要重新登录 [2019-10-19 10:02:58.942] [INFO] [/core.wxvpkg/bc78839ccca8df9e5ceeb7fae11b7be2.js] store.js rehydration finished [2019-10-19 10:02:59.736] [INFO] [/core.wxvpkg/8e433dffaa20c3a7331f9aeecb1221b0.js] init open arg: /Applications/wechatwebdevtools.app/Contents/Versions/74.0.3729.169/wechatwebdevtools Helper.app/Contents/MacOS/node [2019-10-19 10:02:59.744] [INFO] [/core.wxvpkg/8e433dffaa20c3a7331f9aeecb1221b0.js] init open arg: /Applications/wechatwebdevtools.app/Contents/MacOS/index.js [2019-10-19 10:02:59.744] [INFO] [/core.wxvpkg/8e433dffaa20c3a7331f9aeecb1221b0.js] init open arg: -load-extension=/Users/Knivet/Library/Application Support/微信开发者工具/WeappPlugin/ [2019-10-19 10:02:59.744] [INFO] [/core.wxvpkg/8e433dffaa20c3a7331f9aeecb1221b0.js] init open arg: --disable-gpu [2019-10-19 10:02:59.807] [ERROR] [/core.wxvpkg/f2b0fd116ee25849124e867e0da34f23.js] login fail with code undefined Cannot read property 'replace' of undefined TypeError: Cannot read property 'replace' of undefined at Proxy.getProxyForURL (/Applications/wechatwebdevtools.app/Contents/Resources/package.nw/core.wxvpkg/437e6043fc662374e4f1c2330516ac40.js:90:31) at module.exports (/Applications/wechatwebdevtools.app/Contents/Resources/package.nw/core.wxvpkg/233d77ecf0781f44985f684f70e316d0.js:1:663) at Object.apply (/Applications/wechatwebdevtools.app/Contents/Resources/package.nw/node_modules.wxvpkg/lazyload/lazy-require.js:44:20) at /Applications/wechatwebdevtools.app/Contents/Resources/package.nw/core.wxvpkg/5bdce4f0657e887a1fda83e134c0b823.js:1:431 at new Promise (<anonymous>) at Proxy.exports.getLoginPage (/Applications/wechatwebdevtools.app/Contents/Resources/package.nw/core.wxvpkg/5bdce4f0657e887a1fda83e134c0b823.js:1:411) at v.getLoginPageInfo (/Applications/wechatwebdevtools.app/Contents/Resources/package.nw/core.wxvpkg/f2b0fd116ee25849124e867e0da34f23.js:1:3912) at v.reloadQRCode (/Applications/wechatwebdevtools.app/Contents/Resources/package.nw/core.wxvpkg/f2b0fd116ee25849124e867e0da34f23.js:1:1518) at v.componentDidMount (/Applications/wechatwebdevtools.app/Contents/Resources/package.nw/core.wxvpkg/f2b0fd116ee25849124e867e0da34f23.js:1:3336) at v.target.componentDidMount (/Applications/wechatwebdevtools.app/Contents/Resources/package.nw/core.wxvpkg/2ecd9245a65446da4e50831e85e3b27f.js:98:25) [2019-10-19 10:02:59.833] [ERROR] [/core.wxvpkg/15ba1827c7f6564a45df6bd44da3a977.js] https://servicewechat.com/wxa-dev-logic/devsync [2019-10-19 10:02:59.833] [ERROR] [/core.wxvpkg/15ba1827c7f6564a45df6bd44da3a977.js] https://servicewechat.com/wxa-dev-logic/idelogconfig [2019-10-19 10:02:59.838] [ERROR] [/core.wxvpkg/2a36cc34e5f44e62f9188b9fc0871d70.js] start sync error: [2019-10-19 10:02:59.841] [ERROR] [/core.wxvpkg/25ebb8a2b123fbc321097e9005ca6c7e.js] start sync error: |
macOS10.15还不稳定,很多问题的。内测的时候我就重装了一下系统,重启解决不了只有重装了