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.8k 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.
    • S Do not disturb
      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 Do not disturb
          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 Do not disturb
              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