Webstorm throws an error when trying to run a command specified in package.json:
\"devDependencies\": {}, \"scripts\": { \"dev\": \"./node_modu
if you use Node Version Manager like me, it was a folder in which the bin folder was:
~/.nvm/versions/node/v8.9.1/lib/node_modules/npm