Answer the question
In order to leave comments, you need to log in
Can't find node in npm script?
I have xubuntu. I am using webstorm 11 and nvm. If I run the npm script through the console, then everything is ok. If I run it through the npm section in webstorm'e, then an error occurs. /usr/bin/env: node: Нет такого файла или каталога
Neither node nor npm sees
the content of the script: babel-node ./webpack/dev-server.js
How to fix it?
Answer the question
In order to leave comments, you need to log in
Check where you have the node installed with the command which node
.
And make sure that this path is specified in the configuration in the "Node interpeter" field.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question