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.

    Mirror not working after upgrading to v2.7.0

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    6 Posts 2 Posters 1.7k 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.
    • I Offline
      icripps
      last edited by

      after i upgraded to v2.7.0 i get the following errors after i start the mirror using “npm start”

      and then black screen.

      npm start

      magicmirror@2.7.1 start /home/pi/MagicMirror
      sh run-start.sh

      Starting MagicMirror: v2.7.1
      Loading config …
      Loading module helpers …
      No helper found for module: alert.
      Initializing new module helper …
      Module helper loaded: updatenotification
      No helper found for module: clock.
      Initializing new module helper …
      Module helper loaded: calendar
      Initializing new module helper …
      Module helper loaded: MMM-ModuleScheduler
      Initializing new module helper …
      Module helper loaded: MMM-PIR-Sensor
      No helper found for module: compliments.
      No helper found for module: currentweather.
      No helper found for module: weatherforecast.
      Initializing new module helper …
      Module helper loaded: MMM-NOAA3
      Initializing new module helper …
      Module helper loaded: MMM-SystemStats
      Initializing new module helper …
      Module helper loaded: MMM-AssistantMk2
      WARNING! Could not load config file. Starting with default configuration. Error found: Error: Cannot find module ‘./snowboy/lib/node/index.js’
      Loading module helpers …
      No helper found for module: alert.
      Initializing new module helper …
      Module helper loaded: updatenotification
      No helper found for module: clock.
      Initializing new module helper …
      Module helper loaded: calendar
      Initializing new module helper …
      Module helper loaded: MMM-ModuleScheduler
      Initializing new module helper …
      Module helper loaded: MMM-PIR-Sensor
      No helper found for module: compliments.
      No helper found for module: currentweather.
      No helper found for module: weatherforecast.
      Initializing new module helper …
      Module helper loaded: MMM-NOAA3
      Initializing new module helper …
      Module helper loaded: MMM-SystemStats
      Initializing new module helper …
      Module helper loaded: MMM-AssistantMk2
      App threw an error during load
      Error: Cannot find module ‘./snowboy/lib/node/index.js’
      at Module._resolveFilename (internal/modules/cjs/loader.js:602:15)
      at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/common/reset-search-paths.js:35:12)
      at Function.Module._load (internal/modules/cjs/loader.js:528:25)
      at Module.require (internal/modules/cjs/loader.js:658:17)
      at require (internal/modules/cjs/helpers.js:20:18)
      at Object. (/home/pi/MagicMirror/modules/MMM-Hotword/node_helper.js:11:18)
      at Object. (/home/pi/MagicMirror/modules/MMM-Hotword/node_helper.js:234:3)
      at Module._compile (internal/modules/cjs/loader.js:711:30)
      at Object.Module._extensions…js (internal/modules/cjs/loader.js:722:10)
      at Module.load (internal/modules/cjs/loader.js:620:32)
      Whoops! There was an uncaught exception…
      { Error: Cannot find module ‘./snowboy/lib/node/index.js’
      at Module._resolveFilename (internal/modules/cjs/loader.js:602:15)
      at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/common/reset-search-paths.js:35:12)
      at Function.Module._load (internal/modules/cjs/loader.js:528:25)
      at Module.require (internal/modules/cjs/loader.js:658:17)
      at require (internal/modules/cjs/helpers.js:20:18)
      at Object. (/home/pi/MagicMirror/modules/MMM-Hotword/node_helper.js:11:18)
      at Object. (/home/pi/MagicMirror/modules/MMM-Hotword/node_helper.js:234:3)
      at Module._compile (internal/modules/cjs/loader.js:711:30)
      at Object.Module._extensions…js (internal/modules/cjs/loader.js:722:10)
      at Module.load (internal/modules/cjs/loader.js:620:32) code: ‘MODULE_NOT_FOUND’ }
      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.
      Shutting down server…
      Stopping module helper: updatenotification
      Stopping module helper: calendar
      Stopping module helper: MMM-ModuleScheduler
      Stopping module helper: MMM-PIR-Sensor
      Stopping module helper: MMM-NOAA3
      Stopping module helper: MMM-SystemStats
      Stopping module helper: MMM-AssistantMk2
      Stopping module helper: updatenotification
      Stopping module helper: calendar
      Stopping module helper: MMM-ModuleScheduler
      Stopping module helper: MMM-PIR-Sensor
      Stopping module helper: MMM-NOAA3
      Stopping module helper: MMM-SystemStats
      Stopping module helper: MMM-AssistantMk2

      S 1 Reply Last reply Reply Quote 0
      • S Away
        sdetweil @icripps
        last edited by

        @icripps u need to run npm install.
        And again in every module folder that has a package.json file

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        I 1 Reply Last reply Reply Quote 0
        • I Offline
          icripps @sdetweil
          last edited by

          @sdetweil after i did npm install i get the following:

          npm install

          magicmirror@2.7.1 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 219 packages in 15.167s
          found 5 vulnerabilities (4 low, 1 high)
          run npm audit fix to fix them, or npm audit for details

          magicmirror@2.7.1 postinstall /home/pi/MagicMirror
          sh installers/postinstall/postinstall.sh && npm run install-fonts

          MagicMirror installation successful!

          magicmirror@2.7.1 install-fonts /home/pi/MagicMirror
          cd fonts && npm install

          audited 1 package in 3.223s
          found 0 vulnerabilities

          npm WARN acorn-jsx@5.0.1 requires a peer of acorn@^6.0.0 but none is installed. You must install peer dependencies yourself.
          npm WARN grunt-stylelint@0.10.1 requires a peer of stylelint@^9.0.0 but none is installed. You must install peer dependencies yourself.

          audited 2440 packages in 76.299s
          found 13 vulnerabilities (6 low, 6 moderate, 1 high)
          run npm audit fix to fix them, or npm audit for details
          pi@raspberrypi:~/MagicMirror $ ^C
          pi@raspberrypi:~/MagicMirror $ npm audit fix
          npm WARN acorn-jsx@5.0.1 requires a peer of acorn@^6.0.0 but none is installed. You must install peer dependencies yourself.
          npm WARN grunt-stylelint@0.10.1 requires a peer of stylelint@^9.0.0 but none is installed. You must install peer dependencies yourself.

          updated 1 package in 48.461s
          fixed 1 of 13 vulnerabilities in 2440 scanned packages
          2 package updates for 12 vulns involved breaking changes
          (use npm audit fix --force to install breaking changes; or refer to npm audit for steps to fix these manually)
          pi@raspberrypi:~/MagicMirror $ npm install

          magicmirror@2.7.1 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 219 packages in 15.816s
          found 5 vulnerabilities (4 low, 1 high)
          run npm audit fix to fix them, or npm audit for details

          magicmirror@2.7.1 postinstall /home/pi/MagicMirror
          sh installers/postinstall/postinstall.sh && npm run install-fonts

          MagicMirror installation successful!

          magicmirror@2.7.1 install-fonts /home/pi/MagicMirror
          cd fonts && npm install

          audited 1 package in 2.231s
          found 0 vulnerabilities

          npm WARN acorn-jsx@5.0.1 requires a peer of acorn@^6.0.0 but none is installed. You must install peer dependencies yourself.
          npm WARN grunt-stylelint@0.10.1 requires a peer of stylelint@^9.0.0 but none is installed. You must install peer dependencies yourself.

          audited 2440 packages in 78.438s
          found 12 vulnerabilities (6 low, 5 moderate, 1 high)
          run npm audit fix to fix them, or npm audit for details

          S 1 Reply Last reply Reply Quote 0
          • S Away
            sdetweil @icripps
            last edited by

            @icripps yeh, wish they hadn’t added the vulnerability checking.

            So, move on to each module folder that gas a package.json and do it again.

            Repeat

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            I 1 Reply Last reply Reply Quote 0
            • I Offline
              icripps @sdetweil
              last edited by

              @sdetweil i tried npm install in each of the moudules directory but i get the same error about snowboy and AMK2 . i removed those modules from my config.js files and the mirror started without a problem.

              do i have to remove the MMM-hotword and Amk2 and reinstall them?

              S 1 Reply Last reply Reply Quote 0
              • S Away
                sdetweil @icripps
                last edited by

                @icripps for hotword there is a set of instructions in it’s readme about working thru this kind of problem.

                Will work for amk2 as well.

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 0
                • 1 / 1
                • First post
                  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