30

I just installed Nodejs on my new computer with Windows 8. I can't get npm to work on it. Although the node server starts fine:

Here's the error:

C:\Users\User\Documents\Source\Project>npm install 
Error: ENOENT, stat 'C:\Users\User\AppData\Roaming\npm'


C:\Users\User\Documents\Source\Project>npm start
Error: ENOENT, stat 'C:\Users\User\AppData\Roaming\npm'


C:\Users\User\Documents\Source\Project>
Cœur
  • 32,421
  • 21
  • 173
  • 232
EternallyCurious
  • 2,245
  • 6
  • 41
  • 73

2 Answers2

85

you can try to create 'C:\Users\User\AppData\Roaming\npm' folder.

user3905455
  • 851
  • 1
  • 5
  • 2
12

Latest version is not compatible with windows 8. Just download this files and it works in my windows 8 perfectly. http://blog.nodejs.org/2014/06/16/node-v0-10-29-stable/

Andrew Barber
  • 37,547
  • 20
  • 91
  • 118
Mehedi_Sharif
  • 143
  • 10