When I tried to install a module with NPM, I got an error like
Error: ENOENT, stat 'C:\Users\username\AppData\Roaming\npm'
To fix this, create the ‘npm’ directory manually. It worked like a charm for me. Hopefully, it works for you too!
When I tried to install a module with NPM, I got an error like
Error: ENOENT, stat 'C:\Users\username\AppData\Roaming\npm'
To fix this, create the ‘npm’ directory manually. It worked like a charm for me. Hopefully, it works for you too!