Read the statement by Michael Teeuw here.
NYC-Transit MMM Issues
-
I have no idea what I did. I had it working the other day.
I tried reinstalling the module, and now the MM can’t ind some folders I think
I’m getting some errors in terminal after running the mirror and adding the nyc_transit to my config.js. Black screen, cursor visible. Can anyone take a look here and help?pi@raspberrypi:~ $ cd ~/MagicMirror
pi@raspberrypi:~/MagicMirror $ npm startmagicmirror@2.14.0 start /home/pi/MagicMirror
./run-start.sh $1[30.03.2021 09:10.57.359] [LOG] Starting MagicMirror: v2.14.0
[30.03.2021 09:10.57.364] [LOG] Loading config …
[30.03.2021 09:10.57.369] [LOG] Loading module helpers …
[30.03.2021 09:10.57.371] [LOG] No helper found for module: alert.
[30.03.2021 09:10.57.512] [LOG] Initializing new module helper …
[30.03.2021 09:10.57.513] [LOG] Module helper loaded: updatenotification
[30.03.2021 09:10.57.514] [LOG] No helper found for module: clock.
[30.03.2021 09:10.57.889] [LOG] Initializing new module helper …
[30.03.2021 09:10.57.890] [LOG] Module helper loaded: calendar
[30.03.2021 09:10.57.891] [LOG] No helper found for module: compliments.
[30.03.2021 09:10.57.891] [LOG] No helper found for module: currentweather.
[30.03.2021 09:10.57.892] [LOG] No helper found for module: weatherforecast.
[30.03.2021 09:10.57.895] [ERROR] WARNING! Could not load config file. Starting with default configuration. Error found: Error: Cannot find module ‘mta-realtime-subway-departures’
Require stack:- /home/pi/MagicMirror/modules/MMM-nyc-transit/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
[30.03.2021 09:10.57.896] [LOG] Loading module helpers …
[30.03.2021 09:10.57.897] [LOG] No helper found for module: alert.
[30.03.2021 09:10.57.898] [LOG] Initializing new module helper …
[30.03.2021 09:10.57.898] [LOG] Module helper loaded: updatenotification
[30.03.2021 09:10.57.899] [LOG] No helper found for module: clock.
[30.03.2021 09:10.57.900] [LOG] Initializing new module helper …
[30.03.2021 09:10.57.901] [LOG] Module helper loaded: calendar
[30.03.2021 09:10.57.902] [LOG] No helper found for module: compliments.
[30.03.2021 09:10.57.903] [LOG] No helper found for module: currentweather.
[30.03.2021 09:10.57.904] [LOG] No helper found for module: weatherforecast.
[30.03.2021 09:10.57.907] [ERROR] App threw an error during load
[30.03.2021 09:10.57.915] [ERROR] Error: Cannot find module ‘mta-realtime-subway-departures’
Require stack:- /home/pi/MagicMirror/modules/MMM-nyc-transit/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:798:15)
at Function…/lib/common/reset-search-paths.ts.Module._resolveFilename (electron/js2c/browser_init.js:7718:16)
at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29)
at Module._load (internal/modules/cjs/loader.js:691:27)
at Function.Module._load (electron/js2c/asar.js:748:26)
at Module.require (internal/modules/cjs/loader.js:853:19)
at require (internal/modules/cjs/helpers.js:74:18)
at Object. (/home/pi/MagicMirror/modules/MMM-nyc-transit/node_helper.js:8:24)
at Module._compile (internal/modules/cjs/loader.js:968:30)
at Object.Module._extensions…js (internal/modules/cjs/loader.js:986:10)
[30.03.2021 09:10.57.917] [ERROR] Whoops! There was an uncaught exception…
[30.03.2021 09:10.57.922] [ERROR] Error: Cannot find module ‘mta-realtime-subway-departures’
Require stack: - /home/pi/MagicMirror/modules/MMM-nyc-transit/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:798:15)
at Function…/lib/common/reset-search-paths.ts.Module._resolveFilename (electron/js2c/browser_init.js:7718:16)
at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29)
at Module._load (internal/modules/cjs/loader.js:691:27)
at Function.Module._load (electron/js2c/asar.js:748:26)
at Module.require (internal/modules/cjs/loader.js:853:19)
at require (internal/modules/cjs/helpers.js:74:18)
at Object. (/home/pi/MagicMirror/modules/MMM-nyc-transit/node_helper.js:8:24)
at Module._compile (internal/modules/cjs/loader.js:968:30)
at Object.Module._extensions…js (internal/modules/cjs/loader.js:986:10) {
code: ‘MODULE_NOT_FOUND’,
requireStack: [
‘/home/pi/MagicMirror/modules/MMM-nyc-transit/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
]
}
[30.03.2021 09:10.57.925] [ERROR] MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
[30.03.2021 09:10.57.925] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
[30.03.2021 09:10.58.197] [LOG] Launching application.
[30.03.2021 09:10.58.228] [WARN] (electron) The default value of app.allowRendererProcessReuse is deprecated, it is currently “false”. It will change to be “true” in Electron 9. For more information please check https://github.com/electron/electron/issues/18397
I hope I did this right. Any thoughts would be greatly appreciated.
Nick
-
@nneuland you didn’t do the npm install in the module folder
-
@sdetweil
Thank you so much for the response.
I’m incredibly new. Can this be done through terminal?After entering cd ~/MagicMirror/modules, I enter
git clone https://github.com/Elaniobro/MMM-nyc-transit.gitTo which, I’m informed: fatal : destination path ‘MMM-nyc-transit’ already exists and is not an empty directory
Could you kindly explain how to initiate an npm install specific to that module?
If I understand correctly
Thank you again for your time and assistance
-
@nneuland change into the module folder and do
npm install
-
@sdetweil
I apologize for my ignorance. How do I do that? -
@nneuland open a terminal window, just like you did for git clone
then change to the module folder (just like on windows)
cd MagicMirror/modules/??? where ??? is the module namethen once that is the current folder u do
npm install
I see the module instructions left out the small detail of changing to its folder after git clone
-
That’s it!! Thank you so very much1
The time are off, but that’s a different issue. Thank you so much for your time!!!
Really appreciate it.
SOLVED
-
@nneuland you should read the two links in my signature, they will help. I didn’t write them, just reference good work
-
Thank you
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