Read the statement by Michael Teeuw here.
Error found: Error: Module version mismatch. Expected 50, got 46.
-
please run
npm list
, which electron version are you running?If it is 1.4 then please run
npm rebuild --runtime=electron --target=1.4.0 --disturl=https://atom.io/download/atom-shell --build-from-source
-
Awesome, nice hint.
pi@raspberrypi:~/MagicMirror $ pi@raspberrypi:~/MagicMirror $ npm list | grep electron ├─┬ electron-prebuilt@1.4.5 │ ├─┬ electron-download@3.0.1 npm ERR! peer dep missing: grunt@~0.4.0, required by grunt-yamllint@0.2.0 pi@raspberrypi:~/MagicMirror $
I did this and no more problem now.
npm rebuild --runtime=electron --target=1.4.5 --disturl=https://atom.io/download/atom-shell --abi=50
Thanks much. :)
-
@yawns
My Problem is:
Error: Module version mismatch. Expected 50, got 51.
NOT: Expected 50, got 46Hello, i have another version of electron:
pi@raspberrypi:~/MagicMirror $ npm list | grep electron ├─┬ electron-prebuilt@1.4.6 │ ├─┬ electron-download@3.0.1 npm ERR! extraneous: stylelint@7.5.0 /home/pi/MagicMirror/node_modules/stylelint
What must be done here?
npm rebuild --runtime=electron --target=1.4.6 --disturl=https://atom.io/download/atom-shell --abi=50
Is that ok???
-
Yes, you can do like that to fix the problem.
-
@titusece
Good morning (for me) my friend.it is resolved, but… no video.
omx is running with a testfile.
I think i must change my troubleshooting topic. ;-)Thank you
0|mm | ,"query_zone": "999", 0|mm | "alerts": [ 0|mm | ] 0|mm | } 0|mm | button pressed 0|mm | undefined 0|mm | omxplayer still running. kill forced 0|mm | button pressed 0|mm | undefined 0|mm | omxplayer still running. kill forced 0|mm | button pressed 0|mm | undefined 0|mm | omxplayer still running. kill forced
-
@yawns:
I did it with the named command, but no effect, can you help me please?pi@magicpi:~/MagicMirror $ npm rebuild --runtime=electron --target=1.4.15 --disturl=https://atom.io/download/atom-shell --abi=50 > electron@1.4.15 postinstall /home/pi/MagicMirror/node_modules/electron > node install.js > electron-chromedriver@1.7.1 install /home/pi/MagicMirror/node_modules/electron-chromedriver > node ./download-chromedriver.js /home/pi/MagicMirror/node_modules/electron-chromedriver/download-chromedriver.js:16 if (error != null) throw error ^ Error: Could not parse checksum file at line 1: at data.trim.split.forEach.line (/home/pi/MagicMirror/node_modules/electron-chromedriver/node_modules/sumchecker/index.js:85:18) at Array.forEach () at Promise (/home/pi/MagicMirror/node_modules/electron-chromedriver/node_modules/sumchecker/index.js:80:36) at new Promise () at ChecksumValidator.parseChecksumFile (/home/pi/MagicMirror/node_modules/electron-chromedriver/node_modules/sumchecker/index.js:76:12) at npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! electron-chromedriver@1.7.1 install: `node ./download-chromedriver.js` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the electron-chromedriver@1.7.1 install 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: