Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

node.js npm error message - system cannot find the path specified

Tags:

node.js

npm

I have a strange error message I don't understand or can't get rid of. Secondly when I try to create express app on webstorm it can't find express. I'm using windows 7 64 bit.

PS C:\dv> npm -v

The system cannot find the path specified.

1.2.14

PS C:\dv>

many thanks in advance

Jeremy

like image 407
Jeremy Affolter Avatar asked Mar 18 '13 19:03

Jeremy Affolter


1 Answers

It's a really old post, but I thought I'd share just in case it helps someone. In my case, the issue wasn't with npm, but instead with ansicon.

Removing the value of the registry key HKEY_CURRENT_USER\Software\Microsoft\Command Processor\AutoRun resolved the issue, as described in these links...

https://github.com/cmderdev/cmder/issues/121

The system cannot find the path specified when starting Ruby and Rails command prompt

like image 136
racingcow Avatar answered Sep 24 '22 01:09

racingcow