1

I get this error when using "init npm" command in a newly installed Node.js

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

  • you need to manually create the directory. Possible duplicate at http://stackoverflow.com/questions/25093276/nodejs-windows-error-enoent-stat-c-users-rt-appdata-roaming-npm – leoh Oct 27 '14 at 21:18
  • Note that the NPM command is [`npm init`](https://www.npmjs.org/doc/cli/npm-init.html). – Jonathan Lonowski Oct 27 '14 at 22:05

1 Answers1

0

ENOENT means the file does not exist. See http://nikhilm.github.io/uvbook/basics.html#error-handling

Alex Hill
  • 693
  • 1
  • 5
  • 13