• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

NYC-Transit MMM Issues

Scheduled Pinned Locked Moved Troubleshooting
9 Posts 2 Posters 571 Views 2 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    Nneuland
    last edited by Mar 30, 2021, 1:19 PM

    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 start

    magicmirror@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

    S 1 Reply Last reply Mar 30, 2021, 1:36 PM Reply Quote 0
    • S Offline
      sdetweil @Nneuland
      last edited by Mar 30, 2021, 1:36 PM

      @nneuland you didn’t do the npm install in the module folder

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      N 1 Reply Last reply Mar 30, 2021, 2:29 PM Reply Quote 1
      • N Offline
        Nneuland @sdetweil
        last edited by Mar 30, 2021, 2:29 PM

        @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.git

        To 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

        S 1 Reply Last reply Mar 30, 2021, 3:33 PM Reply Quote 0
        • S Offline
          sdetweil @Nneuland
          last edited by Mar 30, 2021, 3:33 PM

          @nneuland change into the module folder and do

          npm install

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          N 1 Reply Last reply Mar 30, 2021, 5:38 PM Reply Quote 0
          • N Offline
            Nneuland @sdetweil
            last edited by Mar 30, 2021, 5:38 PM

            @sdetweil
            I apologize for my ignorance. How do I do that?

            S 1 Reply Last reply Mar 30, 2021, 5:55 PM Reply Quote 0
            • S Offline
              sdetweil @Nneuland
              last edited by Mar 30, 2021, 5:55 PM

              @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 name

              then 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

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              N 1 Reply Last reply Mar 30, 2021, 6:19 PM Reply Quote 0
              • N Offline
                Nneuland @sdetweil
                last edited by Mar 30, 2021, 6:19 PM

                @sdetweil

                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

                S 1 Reply Last reply Mar 30, 2021, 6:48 PM Reply Quote 0
                • S Offline
                  sdetweil @Nneuland
                  last edited by Mar 30, 2021, 6:48 PM

                  @nneuland you should read the two links in my signature, they will help. I didn’t write them, just reference good work

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  N 1 Reply Last reply Mar 30, 2021, 7:34 PM Reply Quote 1
                  • N Offline
                    Nneuland @sdetweil
                    last edited by Mar 30, 2021, 7:34 PM

                    @sdetweil

                    Thank you

                    1 Reply Last reply Reply Quote 0
                    • 1 / 1
                    1 / 1
                    • First post
                      5/9
                      Last post
                    Enjoying MagicMirror? Please consider a donation!
                    MagicMirror created by Michael Teeuw.
                    Forum managed by Sam, technical setup by Karsten.
                    This forum is using NodeBB as its core | Contributors
                    Contact | Privacy Policy