A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
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 install
in the MMM-Buttons folder? -
@FlorianRD
You need to be on Magic Mirror versions2.1.0
or higher (i.e.develop
branch).Edit: What MagicMirror version are you on?
2.1.0
? When you navigate from theMMM-Buttons
folder to../../node_modules
you should end up in a folder with anelectron
folder. If there is only aelectron-prebuilt
folder, it should be possible to fix the issues by upgrading MagicMirror to2.1.0
.