node.js - npm command not working after installing nodejs in windows10? -


i can find npm.cmd command prompt picenter image description herei have installed nodejs nodejs website. when typed

node -v 

it gives me version as

  6.11.2 

but when type

npm -v doesnt gives me results. have done reinstalling nodejs several times.

my installation path

c:\program files\nodejs 

any help?

this git bash command prompt can see npm not giving result my environment variable after installing nodejs wrong?

https://github.com/nodejs/node/issues/2786

solved issue. have renamed .npmrc file , runs perfect.


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

reflection - How to access the object-members of an object declaration in kotlin -

php - Doctrine Query Builder Error on Join: [Syntax Error] line 0, col 87: Error: Expected Literal, got 'JOIN' -