sofroniewn / electron-johnny-five-examples

Example electron apps using johnny-five to control hardware
MIT License
42 stars 12 forks source link

electron-rebuild error #6

Open facetime88 opened 7 years ago

facetime88 commented 7 years ago

Hi,

I try to follow the installation and when running electron rebuild it said:

An unhandled error occurred inside electron-rebuild Unable to find parent node_modules directory, specify it via --module-dir, E.g. "--module-dir ." for the current directory

Error: Unable to find parent node_modules directory, specify it via --module-dir, E.g. "--module-dir ." for the current directory at Object. (E:\arduino\electron-johnny-five-examples\1-led\node_modules\electron-rebuild\lib\src\cli.js:79:23) at next (native) at fulfilled (E:\arduino\electron-johnny-five-examples\1-led\node_modules\electron-rebuild\lib\src\cli.js:5:58)

I am on win 10 x64. Thank you.

jhoansebastianlara commented 5 years ago

The same for me ☝️ :/

I'm on mac OS Mojave Node v8.12.0 npm 6.4.1