MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    UNSOLVED NPM COMMAND NOT FOUND

    Troubleshooting
    3
    11
    501
    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
      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
      • swvalenti
        swvalenti Project Sponsor last edited by

        try

        npm link pm2
        
        U 1 Reply Last reply Reply Quote 0
        • U
          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
            sdetweil @uok825 last edited by sdetweil

            @uok825 did u install with sudo?

            do not do that

            reinstall as normal user

            Sam

            Create a working config
            How to add modules

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

              @sdetweil Help me more please. How can i reinstall

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

                @uok825 rename the mm folder to something else.

                run my script

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

                Sam

                Create a working config
                How to add modules

                U 1 Reply Last reply Reply Quote 0
                • U
                  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
                    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

                    Create a working config
                    How to add modules

                    U 2 Replies Last reply Reply Quote 0
                    • U
                      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
                        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 Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy