1

I installed node js on my system running a version of windows 7. While typing console.log('Hello World!');, it successfully returns - 'Hello World' undefined. But when I type in npm help, it returns Error: ENOENT, stat 'C:Users\Acme11\AppData\Roaming\npm'

What am i doing wrong?

Anuj
  • 87
  • 1
  • 1
  • 12
  • How did you install node? – mscdex Aug 25 '14 at 12:13
  • from its website, clicked on the 'INSTALL' button, downloaded the '.msi' file, ran the setup – Anuj Aug 25 '14 at 12:19
  • Did you install as a different user? Try creating that directory and then running `npm` again. – JohnnyHK Aug 25 '14 at 12:53
  • could you show me the command here?? pls – Anuj Aug 25 '14 at 12:55
  • Check to see if node is on your path. Also, try this: http://stackoverflow.com/a/17976504/918608 – Josh C. Aug 25 '14 at 14:36
  • @Josh C I just saw an instruction in a certain article about a command 'path'. I typed it in the console and a number of paths ('starting from c://...') appeared. The last of which is 'c://Users/user/AppData/Roaming/npm'. – Anuj Sep 24 '14 at 05:26

0 Answers0