Read the statement by Michael Teeuw here.
Black screen
-
npm start devresults in
pi@PiMirrorNeu:~ $ npm start dev npm ERR! code ENOENT npm ERR! syscall open npm ERR! path /home/pi/package.json npm ERR! errno -2 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/2020-01-06T19_11_05_569Z-debug.log -
@Vauxdvihl from the magicmirror folder
all commands suggested are always from the magic mirror folder
-
Ah ok
SorryDevTools was disconnected from the page. Once the page is reloaded, DevTools will automatically reconnect. -
@Vauxdvihl this is still MagicMirror version 2.9?
a guess
do
cd ~/MagicMirror git checkout modules/node_modules/node_helper/index.js -
@sdetweil
Where do i see it?Nothing happen:
pi@PiMirrorNeu:~/MagicMirror $ git checkout modules/node_modules/node_helper/index.js pi@PiMirrorNeu:~/MagicMirror $ -
@Vauxdvihl
and then restart mirror -
@sdetweil
Mirror stays black :-( -
@Vauxdvihl if you do
cd ~/MagicMirror npm startwhat do you see on the terminal window?
(alt-spacebar, n to minimize MM screen)
-
pi@PiMirrorNeu:~/MagicMirror $ npm start > magicmirror@2.9.0 start /home/pi/MagicMirror > sh run-start.sh Starting MagicMirror: v2.9.0 Loading config ... Loading module helpers ... No helper found for module: alert. Initializing new module helper ... Module helper loaded: newsfeed No helper found for module: clock. Initializing new module helper ... Module helper loaded: MMM-PublicTransportHafas No helper found for module: MMM-HTMLBox. Initializing new module helper ... Module helper loaded: MMM-DarkSkyForecast Initializing new module helper ... Module helper loaded: MMM-CalendarExt2 Initializing new module helper ... Module helper loaded: MMM-BMW-DS No helper found for module: MMM-Globe. No helper found for module: MMM-Timetable. WARNING! Could not load config file. Starting with default configuration. Error found: Error: Cannot find module 'del' Require stack: - /home/pi/MagicMirror/modules/mmm-weatherchart/node_helper.js - /home/pi/MagicMirror/js/app.js - /home/pi/MagicMirror/js/electron.js - /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js - Loading module helpers ... No helper found for module: alert. Initializing new module helper ... Module helper loaded: newsfeed No helper found for module: clock. Initializing new module helper ... Module helper loaded: MMM-PublicTransportHafas No helper found for module: MMM-HTMLBox. Initializing new module helper ... Module helper loaded: MMM-DarkSkyForecast Initializing new module helper ... Module helper loaded: MMM-CalendarExt2 Initializing new module helper ... Module helper loaded: MMM-BMW-DS No helper found for module: MMM-Globe. No helper found for module: MMM-Timetable. App threw an error during load Error: Cannot find module 'del' Require stack: - /home/pi/MagicMirror/modules/mmm-weatherchart/node_helper.js - /home/pi/MagicMirror/js/app.js - /home/pi/MagicMirror/js/electron.js - /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js - at Module._resolveFilename (internal/modules/cjs/loader.js:627:15) at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/common/reset-search-paths.js:41:16) at Function.Module._load (internal/modules/cjs/loader.js:531:27) at Module.require (internal/modules/cjs/loader.js:685:19) at require (internal/modules/cjs/helpers.js:16:16) at Object.<anonymous> (/home/pi/MagicMirror/modules/mmm-weatherchart/node_helper.js:3:11) at Module._compile (internal/modules/cjs/loader.js:786:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:798:10) at Module.load (internal/modules/cjs/loader.js:645:32) at Function.Module._load (internal/modules/cjs/loader.js:560:12) Whoops! There was an uncaught exception... Error: Cannot find module 'del' Require stack: - /home/pi/MagicMirror/modules/mmm-weatherchart/node_helper.js - /home/pi/MagicMirror/js/app.js - /home/pi/MagicMirror/js/electron.js - /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js - at Module._resolveFilename (internal/modules/cjs/loader.js:627:15) at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/common/reset-search-paths.js:41:16) at Function.Module._load (internal/modules/cjs/loader.js:531:27) at Module.require (internal/modules/cjs/loader.js:685:19) at require (internal/modules/cjs/helpers.js:16:16) at Object.<anonymous> (/home/pi/MagicMirror/modules/mmm-weatherchart/node_helper.js:3:11) at Module._compile (internal/modules/cjs/loader.js:786:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:798:10) at Module.load (internal/modules/cjs/loader.js:645:32) at Function.Module._load (internal/modules/cjs/loader.js:560:12) { code: 'MODULE_NOT_FOUND', requireStack: [ '/home/pi/MagicMirror/modules/mmm-weatherchart/node_helper.js', '/home/pi/MagicMirror/js/app.js', '/home/pi/MagicMirror/js/electron.js', '/home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js', undefined ] } MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection? If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues Launching application. -
-
What is “del”
And why is needed now?
Strange -
@Vauxdvihl it was needed by MMM-Weatherchart module, but got deleted on the base update.
the automated script cycle was skipped due to the error
(this is the WHOLE reason I created the automated script, to cover this very problem)what is it? its some npm library the module uses
-
Ok
Thanks
Everythings works fine now
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