I installed electron@1.6.9 and it works.
Read the statement by Michael Teeuw here.
Best posts made by uzumon
Latest posts made by uzumon
-
RE: MMM-awesome-alexa
Hello i need help.
How to get refresh token?
Now without refresh token in config i have problem with run module:
2017-08-24 10:49 +02:00: Whoops! There was an uncaught exception... 0|mm | 2017-08-24 10:49 +02:00: { Error: Cannot find module '/home/pi/MagicMirror/modules/MMM-awesome-alexa/node_modules/snowboy/lib/node/binding/Release/electron-v1.6-linux-arm/snowboy.node' 0|mm | at Module._resolveFilename (module.js:470:15) 0|mm | at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/common/reset-search-paths.js:35:12) 0|mm | at Function.Module._load (module.js:418:25) 0|mm | at Module.require (module.js:498:17) 0|mm | at require (internal/module.js:20:19) 0|mm | at Object. (/home/pi/MagicMirror/modules/MMM-awesome-alexa/node_modules/snowboy/lib/node/index.js:8:29) 0|mm | at Object. (/home/pi/MagicMirror/modules/MMM-awesome-alexa/node_modules/snowboy/lib/node/index.js:132:3) 0|mm | at Module._compile (module.js:571:32) 0|mm | at Object.Module._extensions..js (module.js:580:10) 0|mm | at Module.load (module.js:488:32) code: 'MODULE_NOT_FOUND' }
Someone can help? Please.
Edit: for error with snowboy. I fixed it by:
npm run electron-rebuild
-
RE: MMM-Todoist - adding reminder priority owner
Can you share your code for this module? Thx
-
RE: MMM-Temperature-Humidity NODE_VERSION Error
Ok for module_version you have to run
npm rebuild --runtime=electron --target=1.3.4 --disturl=https://atom.io/download/atom-shell --abi=49
where 1.3.4 is you current version of electron and 49 is version which is required.
After this i have another problem:
**2017-06-12 11:58 +02:00: bcm2835_init: Unable to open /dev/mem: Access denied** 0|mm | 2017-06-12 11:58 +02:00: TypeError: Failed to initialize 0|mm | at DHT.read (/home/pi/MagicMirror/modules/MMM-DHT-Sensor/node_modules/rpi-dht-sensor/main.js:7:18) 0|mm | at Class.checkTemperature (/home/pi/MagicMirror/modules/MMM-DHT-Sensor/node_helper.js:36:32) 0|mm | at Timeout._onTimeout (/home/pi/MagicMirror/modules/MMM-DHT-Sensor/node_helper.js:29:18) 0|mm | at ontimeout (timers.js:365:14) 0|mm | at tryOnTimeout (timers.js:237:5) 0|mm | at Timer.listOnTimeout (timers.js:207:5)
When i run sudo npm start in MagicMirror folder i get errors.;/
npm ERR! Linux 4.9.24-v7+ npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "start" npm ERR! node v6.11.0 npm ERR! npm v3.10.10 npm ERR! code ELIFECYCLE npm ERR! magicmirror@2.1.1 start: `sh run-start.sh` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the magicmirror@2.1.1 start script 'sh run-start.sh'. npm ERR! Make sure you have the latest version of node.js and npm installed. npm ERR! If you do, this is most likely a problem with the magicmirror package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! sh run-start.sh npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs magicmirror npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls magicmirror npm ERR! There is likely additional logging output above. npm ERR! Please include the following file with any support request: npm ERR! /home/pi/MagicMirror/npm-debug.log
Sameone can help now?
-
RE: MMM-Temperature-Humidity NODE_VERSION Error
First you should install rpi-dht-sensor by node:
npm install rpi-dht-sensor
I have the same problem but on module:
https://github.com/bernardpletikosa/MMM-DHT-Sensor2017-06-09 10:30 +02:00: Error: The module ‘/home/pi/MagicMirror/modules/MMM-DHT-Sensor/node_modules/rpi-dht-sensor/build/Release/node_dht_sensor.node’
was compiled against a different Node.js version using
NODE_MODULE_VERSION 48. This version of Node.js requires
NODE_MODULE_VERSION 53. Please try re-compiling or re-installing
the module (for instance, usingnpm rebuild
ornpm install
).
at process.module.(anonymous function) [as dlopen] (ELECTRON_ASAR.js:173:20)
at Object.Module._extensions…node (module.js:598:18)
at Object.module.(anonymous function) [as .node] (ELECTRON_ASAR.js:173:20)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
at Function.Module._load (module.js:439:3)
at Module.require (module.js:498:17)
at require (internal/module.js:20:19)
at bindings (/home/pi/MagicMirror/modules/MMM-DHT-Sensor/node_modules/bindings/bindings.js:76:44)
at Object. (/home/pi/MagicMirror/modules/MMM-DHT-Sensor/node_modules/rpi-dht-sensor/main.js:3:34)I did npm install and rebuild and the same.
Someone can help?