Read the statement by Michael Teeuw here.
I'm tired with Magic Mirror 6 update
-
Hi,
to be a great guy, i have launch update of MM2.5 to 2.6…
But now : MM is dead !
1 hour i try to repair but nothing…
pi@raspmagicmirror1:~ $ npm start npm ERR! path /home/pi/package.json npm ERR! code ENOENT npm ERR! errno -2 npm ERR! syscall open npm ERR! enoent ENOENT: no such file or directory, open '/home/pi/package.json' npm ERR! enoent This is related to npm not being able to find a file. npm ERR! enoent npm ERR! A complete log of this run can be found in: npm ERR! /home/pi/.npm/_logs/2019-03-09T16_22_37_115Z-debug.logpi@raspmagicmirror1:~/MagicMirror $ npm start > magicmirror@2.6.0 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.6.0 start: `sh run-start.sh` npm ERR! spawn ENOENT npm ERR! npm ERR! Failed at the magicmirror@2.6.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-03-09T16_37_18_471Z-debug.log pi@raspmagicmirror1:~/MagicMirror $ ^C pi@raspmagicmirror1:~/MagicMirror $ npm install > magicmirror@2.6.0 install /home/pi/MagicMirror > cd vendor && npm install npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 (node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"}) audited 220 packages in 23.111s found 4 low severity vulnerabilities run `npm audit fix` to fix them, or `npm audit` for details > magicmirror@2.6.0 postinstall /home/pi/MagicMirror > sh installers/postinstall/postinstall.sh && npm run install-fonts MagicMirror installation successful! > magicmirror@2.6.0 install-fonts /home/pi/MagicMirror > cd fonts && npm install audited 1 package in 2.135s found 0 vulnerabilities npm WARN grunt-stylelint@0.10.0 requires a peer of stylelint@^9.0.0 but none is installed. You must install peer dependencies yourself. added 1 package from 1 contributor, removed 1 package and audited 2427 packages in 128.03s found 11 vulnerabilities (6 low, 5 moderate) run `npm audit fix` to fix them, or `npm audit` for detailshelp me, please.
-
-
pi@raspmagicmirror1:~/MagicMirror $ npm start
magicmirror@2.6.0 start /home/pi/MagicMirror
sh run-start.shrun-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.6.0 start:sh run-start.sh
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the magicmirror@2.6.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-03-09T16_53_16_968Z-debug.log
pi@raspmagicmirror1:~/MagicMirror $ -
So i have try
pi@raspmagicmirror1:~/MagicMirror $ npm install electronand now :
> electron@2.0.18 postinstall /home/pi/MagicMirror/node_modules/electron > node install.js internal/modules/cjs/loader.js:550 throw err; ^ Error: Cannot find module '../dotjs/validate' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:548:15) at Function.Module._load (internal/modules/cjs/loader.js:475:25) at Module.require (internal/modules/cjs/loader.js:598:17) at require (internal/modules/cjs/helpers.js:11:18) at Object.<anonymous> (/home/pi/MagicMirror/node_modules/ajv/lib/compile/index.js:8:25) at Module._compile (internal/modules/cjs/loader.js:654:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:665:10) at Module.load (internal/modules/cjs/loader.js:566:32) at tryModuleLoad (internal/modules/cjs/loader.js:506:12) at Function.Module._load (internal/modules/cjs/loader.js:498:3) npm WARN grunt-stylelint@0.10.0 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@2.0.18 postinstall: `node install.js` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the electron@2.0.18 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-03-09T16_57_50_712Z-debug.log:(
-
LOOOOL.
Sooo i try
pi@raspmagicmirror1:~/MagicMirror $ npm install stylelint@^9.0.0and result… tada … !
> electron@2.0.16 postinstall /home/pi/MagicMirror/node_modules/electron > node install.js internal/modules/cjs/loader.js:550 throw err; ^ Error: Cannot find module '../dotjs/validate' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:548:15) at Function.Module._load (internal/modules/cjs/loader.js:475:25) at Module.require (internal/modules/cjs/loader.js:598:17) at require (internal/modules/cjs/helpers.js:11:18) at Object.<anonymous> (/home/pi/MagicMirror/node_modules/ajv/lib/compile/index.js:8:25) at Module._compile (internal/modules/cjs/loader.js:654:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:665:10) at Module.load (internal/modules/cjs/loader.js:566:32) at tryModuleLoad (internal/modules/cjs/loader.js:506:12) at Function.Module._load (internal/modules/cjs/loader.js:498:3) npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! electron@2.0.16 postinstall: `node install.js` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the electron@2.0.16 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-03-09T17_05_00_446Z-debug.log -
So :
I have rename /MagicMirror/ to /BackMM/
I have launch a new fresh install of MM 2.6
Copy /modules/ , /config/ & /css/ from /BackMM/
and launch MM
It’s ok
if it helps someone.
*I have a little error, but i don’t know why.
Starting node_helper.js for MMM-TPLink. Connecting socket for: MMM-Remote-Control Starting node helper for: MMM-Remote-Control Connecting socket for: MMM-AlexaOnOff Module helper started for MMM-AlexaOnOff Sockets connected & modules started ... Launching application. **ERROR! Could not find main module js file for modules (node:15900) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): TypeError: Cannot read property 'refs' of undefined (node:15900) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections tha t are not handled will terminate the Node.js process with a non-zero exit code. (node:15900) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): TypeError: Cannot read property 'refs' of undefined (node:15900) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 3): TypeError: Cannot read property 'refs' of undefined (node:15900) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 4): TypeError: Cannot read property 'refs' of undefined (node:15900) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 5): TypeError: Cannot read property 'refs' of undefined (node:15900) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 6): TypeError: Cannot read property 'refs' of undefined (node:15900) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 7): TypeError: Cannot read property 'refs' of undefined (node:15900) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 8): TypeError: Cannot read property 'refs' of undefined (node:15900) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 9): TypeError: Cannot read property 'refs' of undefined (node:15900) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 10): TypeError: Cannot read propert y 'refs' of undefined (node:15900) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 11): TypeError: Cannot read propert y 'refs' of undefined (node:15900) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 12): TypeError: Cannot read propert y 'refs' of undefined (node:15900) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 13): TypeError: Cannot read propert y 'refs' of undefined (node:15900) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 14): TypeError: Cannot read propert y 'refs' of undefined (node:15900) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 15): TypeError: Cannot read propert y 'refs' of undefined (node:15900) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 16): TypeError: Cannot read propert y 'refs' of undefined (node:15900) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 17): TypeError: Cannot read propert y 'refs' of undefined (node:15900) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 18): TypeError: Cannot read propert y 'refs' of undefined (node:15900) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 19): TypeError: Cannot read propert y 'refs' of undefined (node:15900) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 20): TypeError: Cannot read propert y 'refs' of undefined** Sat Mar 09 2019 18:49:08 GMT+0100 (CET): Triggering Xiaomi Gateway connect Create new news fetcher for url: https://www.francetvinfo.fr/monde.rss - Interval: 300000 starting internet monitor node helper FREEBOX: "CONNECT" [object Object] ```* -
@Smotx typically you also must npm install in each module folder if they have a package.json file so that their components are at the same level
I would start with each module over the defaults and comment them out, and back in one by one
-
@sdetweil said in I'm tired with Magic Mirror 6 update:
ypically you also must npm install in each module folder if they have a package.json file so that their components are at the same level
I would start with each module over the defaults and comment them out, and back in one by oneOk, i’ll try
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