windowsnode.jsinstallation

Node.js/Windows error: ENOENT, stat 'C:\Users\RT\AppData\Roaming\npm'


I have Windows 7 32-bit. I installed the latest Node.js 32 bit.
When I try to run the command npm install jquery, I receive the error:

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

How does one resolve it?


Solution

  • Manually creating a folder named 'npm' in the displayed path fixed the problem.

    More information can be found on Troubleshooting page