0

I am trying to get node.js and npm working on a windows computer (It works perfectly fine for me on mac ox and ubuntu). The installation completed without any errors but when I try to install anything with npm I get the following error:

Example:

npm install express
Error: ENOENT, stat 'C:\Users\siva.sivakumaran\AppData\Roaming\npm'

Can someone help me out with this issue?

2
  • This could help you i think [ENOENT,stat][1] [1]: stackoverflow.com/questions/25093276/… Commented Aug 5, 2014 at 16:39
  • Thanks! It looks like its a bug with the installer Commented Aug 5, 2014 at 16:59

2 Answers 2

4

I added the folder npm under AppData/Roaming and it worked for me.

Sign up to request clarification or add additional context in comments.

Comments

1

I was having the same issue and I solved it with:

npm cache clean

Best.

1 Comment

There is something wrong with the installer. I fixed the problem by using an older version of node

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.