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 -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -