Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can't start npm on Windows 8 (Error: ENOENT, stat 'C:\Users\User\AppData\Roaming\npm') [duplicate]

Tags:

node.js

npm

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> 
like image 222
EternallyCurious Avatar asked Aug 03 '14 09:08

EternallyCurious


2 Answers

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

like image 117
user3905455 Avatar answered Nov 09 '22 04:11

user3905455


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/

like image 31
Mehedi_Sharif Avatar answered Nov 09 '22 03:11

Mehedi_Sharif