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

      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 Reply Quote 0
      • swvalentiS Offline
        swvalenti Project Sponsor
        last edited by

        try

        npm link pm2
        
        U 1 Reply Last reply Reply Quote 0
        • U Offline
          uok825 @swvalenti
          last edited by

          @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 Offline
            sdetweil @uok825
            last edited by sdetweil

            @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 Reply Quote 0
            • U Offline
              uok825 @sdetweil
              last edited by

              @sdetweil Help me more please. How can i reinstall

              S 1 Reply Last reply Reply Quote 0
              • S Offline
                sdetweil @uok825
                last edited by

                @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 Reply Quote 0
                • U Offline
                  uok825 @sdetweil
                  last edited by uok825

                  @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 Reply Quote 0
                  • S Offline
                    sdetweil @uok825
                    last edited by

                    @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 Reply Quote 0
                    • U Offline
                      uok825 @sdetweil
                      last edited by

                      @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

                        @sdetweil I can’t fix it :(

                        S 1 Reply Last reply 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