Read the statement by Michael Teeuw here.
[MMM-Buttons] An unhandled error occurred inside electron-rebuild
-
Anyone now why?
> electron-rebuild -e ../../node_modules/electron An unhandled error occurred inside electron-rebuild Unable to find electron-prebuilt's version number, either install it or specify an explicit version Error: Unable to find electron-prebuilt's version number, either install it or specify an explicit version at _callee$ (/home/pi/MagicMirror/modules/MMM-Buttons/node_modules/electron-rebuild/lib/cli.js:74:17) at tryCatch (/home/pi/MagicMirror/modules/MMM-Buttons/node_modules/babel-runtime/node_modules/regenerator-runtime/runtime.js:63:40) at Generator.invoke [as _invoke] (/home/pi/MagicMirror/modules/MMM-Buttons/node_modules/babel-runtime/node_modules/regenerator-runtime/runtime.js:337:22) at Generator.prototype.(anonymous function) [as next] (/home/pi/MagicMirror/modules/MMM-Buttons/node_modules/babel-runtime/node_modules/regenerator-runtime/runtime.js:96:21) at Generator.tryCatcher (/home/pi/MagicMirror/modules/MMM-Buttons/node_modules/bluebird/js/release/util.js:16:23) at PromiseSpawn._promiseFulfilled (/home/pi/MagicMirror/modules/MMM-Buttons/node_modules/bluebird/js/release/generators.js:97:49) at /home/pi/MagicMirror/modules/MMM-Buttons/node_modules/bluebird/js/release/generators.js:201:15 at Object. (/home/pi/MagicMirror/modules/MMM-Buttons/node_modules/electron-rebuild/lib/cli.js:197:4) at Module._compile (module.js:571:32) at Object.Module._extensions..js (module.js:580:10) at Module.load (module.js:488:32) at tryModuleLoad (module.js:447:12) at Function.Module._load (module.js:439:3) at Module.runMain (module.js:605:10) at run (bootstrap_node.js:420:7) at startup (bootstrap_node.js:139:9) -
Did you run
npm installin the MMM-Buttons folder? -
@FlorianRD
You need to be on Magic Mirror versions2.1.0or higher (i.e.developbranch).Edit: What MagicMirror version are you on?
2.1.0? When you navigate from theMMM-Buttonsfolder to../../node_modulesyou should end up in a folder with anelectronfolder. If there is only aelectron-prebuiltfolder, it should be possible to fix the issues by upgrading MagicMirror to2.1.0.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login