Quantcast
Channel: How come npm install doesn't work on git bash - Stack Overflow
Browsing all 17 articles
Browse latest View live

Answer by aashiq for How come npm install doesn't work on git bash

In my case I have also faced this problem, so I found a solution.• just go to programs and features of your control panel and search for Node...• then just repair node. it worked fine for me

View Article



Answer by hitesh for How come npm install doesn't work on git bash

Pretty old thread, but if anyone needs this :As suggested by @fernandosavio, I restarted my IDE(IntelliJ in my case) in order for it to load the new $PATH, and it worked like a charm.Note: Just closing...

View Article

Answer by RUHULAMIN MOLLA for How come npm install doesn't work on git bash

This option is work for me.above mention ----Uninstall Node using Visual Studio Installer.Install it using installer downloaded from the Node.js site. Use default options.

View Article

Answer by Rahul Kathet for How come npm install doesn't work on git bash

You need to define this #!/bin/bash start of you bash script #!/bin/bashnpm install

View Article

Answer by Ahmed Aboud for How come npm install doesn't work on git bash

if you have installed node / npm in a drive other than the os drive you will need to node and npm to the path environment variable (windows) right click on this pc go to advanced system settings ->...

View Article


Answer by crazydev901 for How come npm install doesn't work on git bash

If you installed git bash first and then node.js, uninstall gitbash and keep node.js.And then re-install git bash again.npm --versionnode --versioncheck version using this command

View Article

Answer by Patee Gutee for How come npm install doesn't work on git bash

I know this post is old but this could help someone who installed Node / npm via Visual Studio Installer. I tried every solution I could find online but none works until I did the following:Uninstall...

View Article

Answer by Terix for How come npm install doesn't work on git bash

I had to add node path to system variable AND reboot. For some reason closing and reopening git bash was not enough

View Article


Answer by Ben for How come npm install doesn't work on git bash

In our case, the solution was simply to close the Git bash window and re-open it.

View Article


Answer by user3182237 for How come npm install doesn't work on git bash

I had the same issue and I successed to solve it by changing the git enviornment system variable from C:\Program Files\Git\cmd to C:\Program Files\GitHope that will help someone

View Article

Answer by Tiago Oliveira for How come npm install doesn't work on git bash

If you are on Windows, try this:In CMD, go to folder C:\Program Files or (x86)\nodejs\Then try the followingC:\Program Files\nodejs>set path=%PATH%;%CD%C:\Program Files\nodejs>setx path...

View Article

Answer by Marc Barbeau for How come npm install doesn't work on git bash

The default terminal emulator installed by git is named Mintty. To run npm with Mintty, you need to add the path to an environment variable. Add the following line to your ~\.bash_profile file. If it...

View Article

Answer by Gerardo Grignoli for How come npm install doesn't work on git bash

Assuming you are on Windows trying git-bash, and node was installed by Visual Studio: The cause may be a missing npm bash script.There is an npm.cmd bath file in the path: C:\Program Files...

View Article


Answer by Nevitones for How come npm install doesn't work on git bash

Are you on Windows?If so, can you go to the Git Bash console and run:echo $PATHand then check if the node path(e.g. c/Program Files/node ) is there?If the node path is not there you'll need to add it...

View Article

Answer by Devnegikec for How come npm install doesn't work on git bash

you need to add nodejs to your path, along with npmwhere nodewhere npm

View Article


Answer by danday74 for How come npm install doesn't work on git bash

In git bash type ...which npmThis will tell you where npm is installed.Now, I'm assuming this will give you nothing since it seems npm is not on your system PATH variable. The PATH variable defines...

View Article

How come npm install doesn't work on git bash

I have git bash open and I type in npm install and then it returns:bash: npm command not foundI don't understand, because I have node.js command prompt and when I type in npm -v then it returns 3.7.3....

View Article

Browsing all 17 articles
Browse latest View live




Latest Images