Electron Uncaught Error: A dynamic link library (DLL) initialization routine failed

我只是一个虾纸丫 提交于 2019-11-30 06:38:04

You need to rebuild your native Node addon for Electron, the steps are outlined in the docs.

max1119

I'm using Electron 2 version and have the same error with another module.

I solved this problem by this advise on Electron page: To ensure your native dependencies are always matched electron version, simply add script "postinstall": "electron-builder install-app-deps" to your package.json.

And then I changed: "postinstall": "electron-builder install-app-deps && npm run lint:fix". Then npm run postinstall.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!