Topppy / hexo-blog

my hexo new blog
https://topppy.github.io/hexo-blog/
2 stars 0 forks source link

electron 项目 npm i drivelist 后启动报错 #32

Open Topppy opened 4 years ago

Topppy commented 4 years ago
 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 重新构建一遍

https://github.com/balena-io-modules/drivelist/issues/354 https://github.com/electron/electron-rebuild