Isak
Isak

Reputation: 65

npm command not working in git bash terminal inside PhpStorm

I have set the Shell path to the sh.exe in PhpStorm but i cannot run the npm command in the console. It says: bash: npm: command not found but I can run the command in the normal git bash console that I open outside of PhpStorm.

Upvotes: 0

Views: 851

Answers (1)

Isak
Isak

Reputation: 65

Found the answer, I had to run PhpStorm with admin rights.

Upvotes: 1

Related Questions