1

Installed the latest node.js on Windows8. If I type

 npm -version 

in the command console I correctly see

1.4.23

However, whenever I use the install command, regardless of the argument, I get the following error

Error: ENOENT, stat 'C:\Users\foo\AppData\Roaming\npm'

What gives? Could this be a permissions issue or?

3 Answers 3

11

you can just create an empty folder with "npm" name in path shown in Error

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

Comments

5

I had the same problem when I tried to install NPM on my work computer. I believe that there is a problem with the installer. I fixed this problem by installing an older version of NPM.

or you can add the folder npm under AppData/Roaming.

Look at this for more information: node.js and npm for windows

Comments

3

I had the same Problem in Windows 8.1 MSDN-VM.

creating the npm Folder manualy fixed it for me. C:\Users\foo\AppData\Roaming**npm**

Comments

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.