Webstorm throws an error when trying to run a command specified in package.json:
\"devDependencies\": {},
\"scripts\": {
\"dev\": \"./node_modu
Ran into the same issue after upgrading from 11.0.3 to 2016.1. Not sure if some configuration was wrongly copied or if they added a new field to specify the npm package.
Go to
Run > Edit Configurations > Defaults > npm
Browse to select a Node interpreter, using the [...] button.
You should find the Npm package field, fill it with YOUR_PATH_TO_NODE/lib/node_modules/npm.
If it does not work right away, restart WebStorm so that it is taken into account.