Closed wiresharkkkk closed 6 years ago
Check out #15 - that should have the info you need :)
@evancohen thank you! I have run './node_modules/.bin/electron-rebuild --pre-gyp-fix' We confirmed that the electron-v1.4-linux-arm directory was created in 'node_moduls / snowboy / lib / node / binding / Release'.
However, the error still occurs.
Ah, this is for Magic Mirror? You may want to just drop in the .npm config file from Sonus electron prebuilt (liked to in that thread) - you may have to change the version number inside it too.
Is this?
I changed this to 3.10.10. Do I have to do 'npm electron rebuild'?
Not quite, I'm talking about .npmrc
. For the boilerplate that's here: https://github.com/evancohen/sonus-electron-boilerplate/blob/master/.npmrc
WARNING! Could not load config file. Starting with default configuration. Error found: Error: Cannot find module '/home/pi/MagicMirror/modules/node_modules/snowboy/lib/node/binding/Release/electron-v1.7-linux-arm/snowboy.node'