Read the statement by Michael Teeuw here.
MMM-NowPlayingOnSpotify stop working after v2.13 update
-
i don’t know if git stash pop is necessary
-
I haven’t had black screen once I updated to v2.13.
seems that only some modules need the “npm install” command -
@chassain-0 well, you asked to save the changes… what are they and why? stash pop is the only way to get them back, but they might break other changes depending on what the changes are
-
@panos if they have a package,json, you should npm install (what my script does)
-
@sdetweil the datetime is correct on my raspberry system
-
@sdetweil the errors…same with the script
[2020-10-03 21:04:52.359] [ERROR] [31mWARNING! Could not load config file. Starting with default configuration. Error found: Error: Cannot find module 'winston'[39m [31mRequire stack:[39m [31m- /home/pi/MagicMirror/modules/MMM-FeedUtilities/LOG.js[39m [31m- /home/pi/MagicMirror/modules/MMM-Provider-JSON/node_helper.js[39m [31m- /home/pi/MagicMirror/js/app.js[39m [31m- /home/pi/MagicMirror/js/electron.js[39m [31m- /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js[39m [31m- [39m [2020-10-03 21:04:52.396] [ERROR] App threw an error during load [2020-10-03 21:04:52.397] [ERROR] Error: Cannot find module 'winston' Require stack: - /home/pi/MagicMirror/modules/MMM-FeedUtilities/LOG.js - /home/pi/MagicMirror/modules/MMM-Provider-JSON/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._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29) 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-FeedUtilities/LOG.js:1:46) 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) [2020-10-03 21:04:52.398] [ERROR] Whoops! There was an uncaught exception... [2020-10-03 21:04:52.399] [ERROR] Error: Cannot find module 'winston' Require stack: - /home/pi/MagicMirror/modules/MMM-FeedUtilities/LOG.js - /home/pi/MagicMirror/modules/MMM-Provider-JSON/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._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29) 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-FeedUtilities/LOG.js:1:46) 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) { code: 'MODULE_NOT_FOUND', requireStack: [ '/home/pi/MagicMirror/modules/MMM-FeedUtilities/LOG.js', '/home/pi/MagicMirror/modules/MMM-Provider-JSON/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 ] } [2020-10-03 21:04:52.404] [ERROR] MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection? [2020-10-03 21:04:52.405] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
-
@chassain-0 could not find module winston
so npm install winston
-
@sdetweil yes. I do this and a lot of other dependances for this module
-
@chassain-0 what does that mean?
the error is clear
maybe have to install in module folder. means their package.json is bad
-
I have still no luck with NowPlayingOnSpotify.
Any suggestion would be much appreciated.