runTask COMPILE_JS, miniprogram_npm/pinyin-pro/index.js catch error Error: node:events:368
throw er; // Unhandled 'error' event
^
Error [ERR_WORKER_OUT_OF_MEMORY]: Worker terminated due to reaching memory limit: JS heap out of memory
at new NodeError (node:internal/errors:371:5)
at Worker.[kOnExit] (node:internal/worker:276:26)
at Worker..onexit (node:internal/worker:198:20)
Emitted 'error' event on Worker instance at:
at Worker.[kOnExit] (node:internal/worker:276:12)
at Worker..onexit (node:internal/worker:198:20) {
code: 'ERR_WORKER_OUT_OF_MEMORY'
}
Error: runTask COMPILE_JS, miniprogram_npm/pinyin-pro/index.js catch error Error: node:events:368
throw er; // Unhandled 'error' event
^
Error [ERR_WORKER_OUT_OF_MEMORY]: Worker terminated due to reaching memory limit: JS heap out of memory
at new NodeError (node:internal/errors:371:5)
at Worker.[kOnExit] (node:internal/worker:276:26)
at Worker..onexit (node:internal/worker:198:20)
Emitted 'error' event on Worker instance at:
at Worker.[kOnExit] (node:internal/worker:276:12)
at Worker..onexit (node:internal/worker:198:20) {
code: 'ERR_WORKER_OUT_OF_MEMORY'
}
at runTask (D:\Program Files (x86)\Tencent\微信web开发者工具\code\package.nw\js\common\compiler\core\worker_thread\index.js:1:1070)
at runMicrotasks ()
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async m (D:\Program Files (x86)\Tencent\微信web开发者工具\code\package.nw\js\common\compiler\core\compile\handler\js.js:2:2315)
at async Object.compileJS (D:\Program Files (x86)\Tencent\微信web开发者工具\code\package.nw\js\common\compiler\core\compile\handler\js.js:2:2879)
at async C.compileJS (D:\Program Files (x86)\Tencent\微信web开发者工具\code\package.nw\core.wxvpkg\f18977ec922cf859921cfb6da1414390.js:2:5153)
at async f (D:\Program Files (x86)\Tencent\微信web开发者工具\code\package.nw\core.wxvpkg\c7d9f51b0a7cadc8d1b5c7b059bc6e43.js:2:1134)
at a
微信开发者工具的错误代码 368 表示 "failed to verify the presence of plugin“. 这通常是由于您的微信开发者工具版本过低导致的。
解决方案:
请确保您的微信开发者工具是最新版本。
如果您的微信开发者工具版本是最新的,请重新安装插件。
如果以上两个方法都无法解决问题,请尝试清除缓存后重新打开微信开发者工具。