big sur 更新后,打不开云开发,点击没反应,已经更新最新版本,报错envId?
发布于 5 年前 作者 shaoxiulan 8727 次浏览 来自 官方Issues

版本及报错

/Applications/wechatwebdevtools.app/Contents/Resources/package.nw/core.wxvpkg/aae1562764736bc6cd16cc0e36de4e2a.js:2 hook exec error Error: envId must be provided

    at i.ensureEnvInfo (/Applications/wechatwebdevtools.app/Contents/Resources/package.nw/core.wxvpkg/0ef8cec9ce06f0f9fea2120fb697bd8c.js:2)

    at Proxy.exports.transformClientQuery (/Applications/wechatwebdevtools.app/Contents/Resources/package.nw/core.wxvpkg/be6965419249e9f127aa20ad35941418.js:2)

    at _.handleOperateWXDataProtocolData (/Applications/wechatwebdevtools.app/Contents/Resources/package.nw/core.wxvpkg/227b7b93ce28c3d2e316e7b9c4ec7332.js:2)

    at postHook (/Applications/wechatwebdevtools.app/Contents/Resources/package.nw/core.wxvpkg/227b7b93ce28c3d2e316e7b9c4ec7332.js:2)

    at Proxy.exports.invokeHooks (/Applications/wechatwebdevtools.app/Contents/Resources/package.nw/core.wxvpkg/aae1562764736bc6cd16cc0e36de4e2a.js:2)

    at h (/Applications/wechatwebdevtools.app/Contents/Resources/package.nw/core.wxvpkg/9dc3d91c0d5f5cb6d365774a3c0b5e10.js:2)

    at /Applications/wechatwebdevtools.app/Contents/Resources/package.nw/core.wxvpkg/9dc3d91c0d5f5cb6d365774a3c0b5e10.js:2

    at processTicksAndRejections (internal/process/task_queues.js:85)

    at async module.exports.invokeASSdk (/Applications/wechatwebdevtools.app/Contents/Resources/package.nw/core.wxvpkg/1d0037b06dcc001162ab8584fe69029f.js:2)

(anonymous) @ /Applications/wechatwebdevtools.app/Contents/Resources/package.nw/core.wxvpkg/aae1562764736bc6cd16cc0e36de4e2a.js:2

processTicksAndRejections @ internal/process/task_queues.js:85

Promise.catch (async)

exports.invokeHooks @ /Applications/wechatwebdevtools.app/Contents/Resources/package.nw/core.wxvpkg/aae1562764736bc6cd16cc0e36de4e2a.js:2

h @ /Applications/wechatwebdevtools.app/Contents/Resources/package.nw/core.wxvpkg/9dc3d91c0d5f5cb6d365774a3c0b5e10.js:2

(anonymous) @ /Applications/wechatwebdevtools.app/Contents/Resources/package.nw/core.wxvpkg/9dc3d91c0d5f5cb6d365774a3c0b5e10.js:2

processTicksAndRejections @ internal/process/task_queues.js:85

async function (async)

(anonymous) @ /Applications/wechatwebdevtools.app/Contents/Resources/package.nw/core.wxvpkg/9dc3d91c0d5f5cb6d365774a3c0b5e10.js:2

(anonymous) @ /Applications/wechatwebdevtools.app/Contents/Resources/package.nw/node_modules.wxvpkg/redux-thunk/lib/index.js:11

execASSDK @ /Applications/wechatwebdevtools.app/Contents/Resources/package.nw/core.wxvpkg/1d0037b06dcc001162ab8584fe69029f.js:2

invokeASSdk @ /Applications/wechatwebdevtools.app/Contents/Resources/package.nw/core.wxvpkg/1d0037b06dcc001162ab8584fe69029f.js:2

processTicksAndRejections @ internal/process/task_queues.js:85

async function (async)

invokeASSdk @ /Applications/wechatwebdevtools.app/Contents/Resources/package.nw/core.wxvpkg/1d0037b06dcc001162ab8584fe69029f.js:2

invokeMockOrAssdk @ /Applications/wechatwebdevtools.app/Contents/Resources/package.nw/core.wxvpkg/1d0037b06dcc001162ab8584fe69029f.js:2

onAppServiceMessage @ /Applications/wechatwebdevtools.app/Contents/Resources/package.nw/core.wxvpkg/1d0037b06dcc001162ab8584fe69029f.js:2

(anonymous) @ /Applications/wechatwebdevtools.app/Contents/Resources/package.nw/core.wxvpkg/239d0b0cfffae71aad17b702fc722d1c.js:2

onMessage @ /Applications/wechatwebdevtools.app/Contents/Resources/package.nw/core.wxvpkg/239d0b0cfffae71aad17b702fc722d1c.js:2

onMessage @ /Applications/wechatwebdevtools.app/Contents/Resources/package.nw/core.wxvpkg/da9f2bc6bfe0c3d81f46a2d731d22c24.js:2

a.emit @ /Applications/wechatwebdevtools.app/Contents/Resources/package.nw/core.wxvpkg/d15bfd6a2234129f5ea1f808e801b055.js:26

onMessage @ /Applications/wechatwebdevtools.app/Contents/Resources/package.nw/core.wxvpkg/d15bfd6a2234129f5ea1f808e801b055.js:26

(anonymous) @ /Applications/wechatwebdevtools.app/Contents/Resources/package.nw/core.wxvpkg/d15bfd6a2234129f5ea1f808e801b055.js:26

emit @ events.js:203

_receiver.onmessage @ /Applications/wechatwebdevtools.app/Contents/Resources/package.nw/core.wxvpkg/d15bfd6a2234129f5ea1f808e801b055.js:11

dataMessage @ /Applications/wechatwebdevtools.app/Contents/Resources/package.nw/core.wxvpkg/d15bfd6a2234129f5ea1f808e801b055.js:16

getData @ /Applications/wechatwebdevtools.app/Contents/Resources/package.nw/core.wxvpkg/d15bfd6a2234129f5ea1f808e801b055.js:16

startLoop @ /Applications/wechatwebdevtools.app/Contents/Resources/package.nw/core.wxvpkg/d15bfd6a2234129f5ea1f808e801b055.js:16

add @ /Applications/wechatwebdevtools.app/Contents/Resources/package.nw/core.wxvpkg/d15bfd6a2234129f5ea1f808e801b055.js:16

(anonymous) @ /Applications/wechatwebdevtools.app/Contents/Resources/package.nw/core.wxvpkg/d15bfd6a2234129f5ea1f808e801b055.js:11

emit @ events.js:203

addChunk @ _stream_readable.js:294

readableAddChunk @ _stream_readable.js:275

Readable.push @ _stream_readable.js:210

onStreamRead @ internal/stream_base_commons.js:166

1 回复

已解决:

完全卸载开发工具,多重装几次即可。我卸载后,重装2次好了。中间还有一次cloudfunction 显示当前环境 为 undefine ……

回到顶部