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

NPM COMMAND NOT FOUND

Scheduled Pinned Locked Moved Unsolved Troubleshooting
11 Posts 3 Posters 2.1k 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.
  • U Offline
    uok825
    last edited by Sep 2, 2021, 5:26 PM

    0|MagicMir | /home/pi/MagicMirror/installers/mm.sh: satır 3: npm: komut yok
    0|MagicMir | /home/pi/MagicMirror/installers/mm.sh: satır 3: npm: komut yok
    0|MagicMir | /home/pi/MagicMirror/installers/mm.sh: satır 3: npm: komut yok
    0|MagicMir | /home/pi/MagicMirror/installers/mm.sh: satır 3: npm: komut yok
    0|MagicMir | /home/pi/MagicMirror/installers/mm.sh: satır 3: npm: komut yok
    0|MagicMir | /home/pi/MagicMirror/installers/mm.sh: satır 3: npm: komut yok
    0|MagicMir | /home/pi/MagicMirror/installers/mm.sh: satır 3: npm: komut yok
    0|MagicMir | /home/pi/MagicMirror/installers/mm.sh: satır 3: npm: komut yok
    0|MagicMir | /home/pi/MagicMirror/installers/mm.sh: satır 3: npm: komut yok
    0|MagicMir | /home/pi/MagicMirror/installers/mm.sh: satır 3: npm: komut yok
    0|MagicMir | /home/pi/MagicMirror/installers/mm.sh: satır 3: npm: komut yok
    0|MagicMir | /home/pi/MagicMirror/installers/mm.sh: satır 3: npm: komut yok
    0|MagicMir | /home/pi/MagicMirror/installers/mm.sh: satır 3: npm: komut yok
    0|MagicMir | /home/pi/MagicMirror/installers/mm.sh: satır 3: npm: komut yok
    0|MagicMir | /home/pi/MagicMirror/installers/mm.sh: satır 3: npm: komut yok
    
    
    
    

    pm2 got errored and here its the logs

    S 1 Reply Last reply Sep 2, 2021, 6:49 PM Reply Quote 0
    • S Offline
      swvalenti Project Sponsor
      last edited by Sep 2, 2021, 6:14 PM

      try

      npm link pm2
      
      U 1 Reply Last reply Sep 2, 2021, 6:29 PM Reply Quote 0
      • U Offline
        uok825 @swvalenti
        last edited by Sep 2, 2021, 6:29 PM

        @swvalenti

        -bash: /usr/local/bin/npm: Böyle bir dosya ya da dizin yok
        
        

        No such a file or folder

        1 Reply Last reply Reply Quote 0
        • S Away
          sdetweil @uok825
          last edited by sdetweil Sep 2, 2021, 6:49 PM Sep 2, 2021, 6:49 PM

          @uok825 did u install with sudo?

          do not do that

          reinstall as normal user

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          U 1 Reply Last reply Sep 25, 2021, 5:12 PM Reply Quote 0
          • U Offline
            uok825 @sdetweil
            last edited by Sep 25, 2021, 5:12 PM

            @sdetweil Help me more please. How can i reinstall

            S 1 Reply Last reply Sep 25, 2021, 5:15 PM Reply Quote 0
            • S Away
              sdetweil @uok825
              last edited by Sep 25, 2021, 5:15 PM

              @uok825 rename the mm folder to something else.

              run my script

              see
              https://github.com/sdetweil/MagicMirror_scripts

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              U 1 Reply Last reply Sep 25, 2021, 5:16 PM Reply Quote 0
              • U Offline
                uok825 @sdetweil
                last edited by uok825 Sep 25, 2021, 5:18 PM Sep 25, 2021, 5:16 PM

                @sdetweil I didn’t install the MagicMirror with sudo. I accidently update the npm with sudo command and than this error shows up. Do I still need to reinstall?

                S 1 Reply Last reply Sep 25, 2021, 5:19 PM Reply Quote 0
                • S Away
                  sdetweil @uok825
                  last edited by Sep 25, 2021, 5:19 PM

                  @uok825 ok. I would use sudo to uninstall npm
                  then install it again without.

                  google search how to uninstall npm.

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  U 2 Replies Last reply Sep 25, 2021, 5:39 PM Reply Quote 0
                  • U Offline
                    uok825 @sdetweil
                    last edited by Sep 25, 2021, 5:39 PM

                    @sdetweil

                    pi@raspberrypi:~ $ sudo npm uninstall npm -g
                    sudo: npm: komut bulunamadı
                    pi@raspberrypi:~ $ npm
                    -bash: npm: komut yok
                    pi@raspberrypi:~ $ npm install
                    -bash: npm: komut yok
                    pi@raspberrypi:~ $ npm unstall
                    

                    npm command not founded. thats strange right?

                    1 Reply Last reply Reply Quote 0
                    • U Offline
                      uok825 @sdetweil
                      last edited by Sep 25, 2021, 8:00 PM

                      @sdetweil I can’t fix it :(

                      S 1 Reply Last reply Sep 25, 2021, 9:03 PM Reply Quote 0
                      • 1
                      • 2
                      • 1 / 2
                      • 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