I've been trying to create a Node.JS app with the express framework in Webstorm 7. I keep getting the following error:
I suppose it has to do with permissions or the NPM route, thou I have no idea how to modify this in Webstorm.
NPM and NODE work just fine in the console, so I'm guessing this is Webstorm not finding or not being able to access the correct routes. Any help is much appreciated.
It appears that the permissions for the ~/.npm
directory were abnormal (sometimes happens if you run sudo npm install -g ...
). Run
$ sudo chown -R Omar ~/.npm
from terminal in order to reset permissions.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With