我正在尝试在 Electron (原子 shell )中使用蓝牙串行端口 native 模块。我做了以下。
npm install electron-prebuilt -gnpm install electron-prebuilt --save-dev
npm install --save-dev electron-rebuild
npm install bluetooth-serial-port --msvs_version=2013
./node_modules/.bin/electron-rebuild
我收到以下错误。
有人可以帮忙吗?
最佳答案
在相同的文件夹级别上安装 Electron 预制件。
关于node.js - 找不到 Electron 预制的版本号。 -尝试使用 Electron 重建时,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/30113459/