I am trying to use bluetooth-serial-port native module in electron (atom-shell). I did the following.
- Installed electron-prebuilt.
npm install electron-prebuilt -g
npm install electron-prebuilt --save-dev
- Installed electron-rebuild
npm install --save-dev electron-rebuild
- Installed bluetooth-serial-port
npm install bluetooth-serial-port --msvs_version=2013
- Running electron-rebuild command.
./node_modules/.bin/electron-rebuild
and I am getting the following error.
Unable to find electron-prebuilt's version number, either install it or specify an explicit version"
Can anyone help?
npm install --save-dev
, yet I have the same error. – Cavitation