WebStorm's node installation
Hi,
Running WebStorm 2021.3 on Windows 10 (19042.115).
Since I didn't have node installed on that PC, I decided to use WebStorm's "built-in" node installer (the one you get when creating a new project when WS can't find node on your system).
That went fine, and WS can run my apps, but when I go to the terminal window, I realize that node's folder was not added to the PATH. Is this the expected behavior? I manually added the folder to PATH, and that works as expected.
I'm a bit puzzled cause when I read documents on JetBrains' web site, they all seem to assume that node's folder is automatically added to the PATH variable.
Please advise what the expected behavior should be.
Thank you.
Please sign in to leave a comment.
Yes, this is expected, as in such cases the interpreter is downloaded to IDE internal folders and is assumed to be only used from within the IDE
If you use the official Node.js installer, the install dir will be added to %PATH% automatically
Hi, thanks for the reply.
When you say "used from within the IDE", shouldn't that also include the IDE's terminal?
My post was not clear about this, but I'm talking about the terminal window inside the IDE. Shouldn't it know about the internal node installation path?
I just want to make sure there is not something I forgot to do, or whether there is a possibility that the terminal window in the IDE does not "see" the internal node folder?
Regards
No, the built-in terminal is just a wrapper around the chosen shell, its environment is the same as system terminal environment