Read the statement by Michael Teeuw here.
Electron Browser outdated?
-
Testing now electron@6.0.10 on a
Raspberry Pi 4 with
npm@6.10.2 and
node@10.15.2Will report back as soon as I have something
-
@lavolp3 thanks
-
@lavolp3 works fine on Mac
-
This post is deleted! -
I have submitted change to upgrade to version 6.0.12 on next update
-
@lavolp3 said in Electron Browser outdated?:
npm install electron@latest
Hi all,
i have updated the electron like above written (because i had the same issue)
After update nothing worksError code
pi@raspberrypi:~/MagicMirror $ npm start dev > magicmirror@2.9.0 start /home/pi/MagicMirror > sh run-start.sh "dev" /home/pi/MagicMirror/node_modules/electron/index.js:14 throw new Error('Electron failed to install correctly, please delete node_modules/electron and try installing again') ^ Error: Electron failed to install correctly, please delete node_modules/electron and try installing again at getElectronPath (/home/pi/MagicMirror/node_modules/electron/index.js:14:11) at Object.<anonymous> (/home/pi/MagicMirror/node_modules/electron/index.js:18:18) at Module._compile (internal/modules/cjs/loader.js:778:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10) at Module.load (internal/modules/cjs/loader.js:653:32) at tryModuleLoad (internal/modules/cjs/loader.js:593:12) at Function.Module._load (internal/modules/cjs/loader.js:585:3) at Module.require (internal/modules/cjs/loader.js:692:17) at require (internal/modules/cjs/helpers.js:25:18) at Object.<anonymous> (/home/pi/MagicMirror/node_modules/electron/cli.js:3:16) npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! magicmirror@2.9.0 start: `sh run-start.sh "dev"` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the magicmirror@2.9.0 start script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! /home/pi/.npm/_logs/2019-11-22T22_16_40_595Z-debug.logCan please somebody help me
Thanks a lot
Regards -
yes, lets try something not so new…
do
cd ~/MagicMirror rm -rf node_modules/electron npm install electron@6.0.12note that for other modules, you may also have to run electron-rebuild
-
-
Sorry about reviving an old thread but I thought you and others might want to know
Bro, I went ahead and installed
npm install electron@latest(11.3.0) as an experiment. Both my MMM-ISS-Live and EARTH-Live modules were affected by electron. It appears the latest version of electron has fixed the problem, at least with these two modules -
@mykle1 the current mm develop branch has a number of changes, including moving up to electron 11.2.1
i would suggest trying that too…
-
there is already a pull request which includes the update to 11.3.0, should be merged within the next days into
develop
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
