• 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.

Error trying to run: npm run install-mm

Scheduled Pinned Locked Moved Solved Troubleshooting
18 Posts 2 Posters 4.0k 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.
  • L Offline
    lvolkjr @sdetweil
    last edited by Oct 28, 2023, 5:37 PM

    @sdetweil I didn’t see any errors after running sudo apt-get remove nodejs -y
    When I run node -v I get this:
    bash: /usr/bin/node: No such file or directory

    S 1 Reply Last reply Oct 28, 2023, 5:45 PM Reply Quote 0
    • S Offline
      sdetweil @lvolkjr
      last edited by Oct 28, 2023, 5:45 PM

      @lvolkjr ok, do

      ls /usr/bin/node

      should return file not found
      do
      hash -r
      node -v

      just to make sure…
      then run my install or upgrade script as appropriate…

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      L 1 Reply Last reply Oct 28, 2023, 5:49 PM Reply Quote 0
      • L Offline
        lvolkjr @sdetweil
        last edited by Oct 28, 2023, 5:49 PM

        @sdetweil This is what I got:
        lowell@raspberrypi:~ $ ls /usr/bin/node
        ls: cannot access ‘/usr/bin/node’: No such file or directory
        lowell@raspberrypi:~ $ hash -r
        lowell@raspberrypi:~ $ node -v
        bash: node: command not found

        Do you still want me to run your script? I feel like node -v should have given me a different output, like the version number.

        S 1 Reply Last reply Oct 28, 2023, 6:18 PM Reply Quote 0
        • S Offline
          sdetweil @lvolkjr
          last edited by sdetweil Oct 28, 2023, 6:19 PM Oct 28, 2023, 6:18 PM

          @lvolkjr I expected something too

          I’d rebuild the SD card, boot, skip updates

          then use my script. this node install is such a mess, they changed the process…ugh

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          L 1 Reply Last reply Oct 28, 2023, 6:25 PM Reply Quote 0
          • L Offline
            lvolkjr @sdetweil
            last edited by Oct 28, 2023, 6:25 PM

            @sdetweil Yea, I figured. Thanks for all your help. Hopefully I could repay you in the future. I’ll keep you updated to what happens.

            L 1 Reply Last reply Oct 28, 2023, 7:21 PM Reply Quote 0
            • L Offline
              lvolkjr @lvolkjr
              last edited by Oct 28, 2023, 7:21 PM

              @sdetweil Thanks!!! That worked! I’m running MagicMirror and getting ready to customize it. I should have started over a long time ago.

              S 1 Reply Last reply Oct 28, 2023, 7:24 PM Reply Quote 0
              • S Offline
                sdetweil @lvolkjr
                last edited by Oct 28, 2023, 7:24 PM

                @lvolkjr cool… yeh, its hard to tell when you’ve hit a real roadblock

                glad you are working now… make sure to backup!!..

                see https://github.com/sdetweil/MagicMirror-backup-restore

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                L 1 Reply Last reply Oct 28, 2023, 7:27 PM Reply Quote 0
                • L Offline
                  lvolkjr @sdetweil
                  last edited by Oct 28, 2023, 7:27 PM

                  @sdetweil I will, thanks again.

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