"JSCS: Node interpreter file is not found"
I have two development environments, one on Ubuntu 14 and one on Debian 8. On both I'm having this issue that seems to affect only JSCS (I have also ES6Lint, so no panic):
Going to "JSCS Settings...":
And, just for double checking:
As seen I use NVM, JSCS runs on shell, but stopped working altogether under WebStorm.
WebStorm 2017.1 EAP
Build #WS-171.3780.21, built on March 9, 2017
WebStorm EAP User
Expiration date: April 8, 2017
JRE: 1.8.0_112-release-736-b11 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Linux 3.16.0-4-amd64
Any .idea what could be wrong?
Please sign in to leave a comment.
try starting Webstorm from terminal - does the problem persist?
Hi Elena, thanks for the tip. Indeed the JSCS issue doesn't happen if I run WS from the terminal. Something broken on Toolbox 1.2.2259? Or is there some workaround for Toolbox?
If the IDE is launched from Terminal, it inherits Terminal environment, so it sees your variables defined in .bashrc config. But this is not the case when the IDE is started from desktop - it sees environment variables configured in ~/.profile (login shell), but not in interactive shell configuration files then. Plus, NVM patches environment variables on terminal startup only.
As a workaround, make required variables available in a login shell (i.e. for Bash, move them from .bashrc to .bash_profile or .profile).
Having the same issue in Windows 10
Strange. Please make sure that node.exe is in your %PATH%. Note that you need to restart WebStorm after altering system environment variables
I have the same issue. Have had it for half a year or so.
NVM is configured via .bash_profile, and i do not use .bashrc.
---
Build #WS-171.3691.10, built on March 1, 2017
WebStorm EAP User
Expiration date: March 31, 2017
JRE: 1.8.0_112-release-724-b5 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Mac OS X 10.12.3
You are correct. I switch between MAC and Windows. That was the case. It was pointing to the wrong NODE installation
I met this problem when upgraded to 171.3780.79.
Node.js 6.10.0, JSCS - 3.0.7.
The path to node.js is correct.
Running from terminal, JSCS plugin reinstallation, .idea directory removing did not help.
Downgrade to 2016.3.5 HELPED.
One can find old WS here:
https://confluence.jetbrains.com/display/WI/Previous+WebStorm+Releases
I reported the bug:
https://youtrack.jetbrains.com/issue/WEB-26057
If someone knows some workaround - welcome.
Hi,
I have the same issue.
My specs are as follows;
Ubuntu 16.04.2LTS
Nvm installed
Running from terminal.
I have the same issue.
PhpStorm 2017.1
Build #PS-171.3780.104, built on March 21, 2017
JRE: 1.8.0_112-release-736-b13 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Mac OS X 10.12.3
jscs 3.0.7
node 6.7.0 trough nvm.