@CyruS1337 said in Help with Update to 2.7.0:
Run the following command in the MagicMirror folder
rm package-lock.json rm vendor/package-lock.json
Then execute in the folder the usual command for the upload
git pull && npm install
Now it should work
@CyruS1337 this solved the firt install command but…
ownloading tmp-2822-0-electron-v3.0.13-linux-armv7l.zip
Error: read ECONNRESET
/home/pi/MagicMirror/node_modules/electron/install.js:49
throw err
^
Error: read ECONNRESET
at TLSWrap.onStreamRead (internal/stream_base_commons.js:111:27)
npm WARN acorn-jsx@5.0.1 requires a peer of acorn@^6.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN grunt-stylelint@0.10.1 requires a peer of stylelint@^9.0.0 but none is installed. You must install peer dependencies yourself.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! electron@3.0.13 postinstall: `node install.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the electron@3.0.13 postinstall 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-04-05T19_09_38_688Z-debug.log
pi@raspberrypi:~/MagicMirror $
pi@raspberrypi:~/MagicMirror $ npm start
> magicmirror@2.7.1 start /home/pi/MagicMirror
> sh run-start.sh
run-start.sh: 4: run-start.sh: electron: not found
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! magicmirror@2.7.1 start: `sh run-start.sh`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the magicmirror@2.7.1 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
if an idea
thanks
Jean-Philippe