electron 项目 npm i drivelist 后启动报错
Opened this issue · 0 comments
Topppy commented
The module '/node_modules/drivelist/build/Release/drivelist.node'
was compiled against a different Node.js version using
NODE_MODULE_VERSION 79. This version of Node.js requires
NODE_MODULE_VERSION 76. Please try re-compiling or re-installing
the module (for instance, using `npm rebuild` or `npm install`).
是说,构建这个包使用的node版本于本地不一致。建议重新构建一下。
方式是。使用electron-rebuild 重新构建一遍
balena-io-modules/drivelist#354
https://github.com/electron/electron-rebuild