env: node: No such file or directory
See original GitHub issueI installed the plugin in a create-react-app-ts
(https://github.com/wmonk/create-react-app-typescript) generated product; at first, nothing happened, there was a checkmark in the bottom row but the output was empty. Restarting VS Code and manuallly starting the Jest test runner (using the command runner) caused the error to appear in the output terminal.
I had NVM installed with a version set to the LTS version. Then I tried installing the latest version of Node via nvm, also setting as default. Then I installed the latest version of Node globally, using the installer, and restarting VS Code every time. All no luck.
Issue Analytics
- State:
- Created 6 years ago
- Comments:29 (3 by maintainers)
Top Results From Across the Web
env: node: No such file or directory in mac - Stack Overflow
I get this error running npm start through PyCharm on Mac. For that the answer is to start PyCharm ...
Read more >how to avoid env: node: No such file or directory #1702 - GitHub
What steps did you perform? I commented the loading nvm script in shell to make my terminal loads faster, then load nvm whenever...
Read more >env: node: No such file or directory when using nvm - YouTrack
Found a temporary workaround: just manually append $PATH with node from nvm in debug configuration environment variables. While that works, it is of...
Read more >Fixing "env: node : No such file or directory" on mac for an ...
If you install an npm package using yarn and you get this error it means that the package author is using windows line...
Read more >env: node: No such file or directory - Laracasts
Hi,. When running the command: npm install. I get the error: env: node: No such file or directory. Could someone help me please?...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
If you have installed
node
usingnvm
, it won’t be in the place this extension expects it to be (/usr/bin/env
).Workaround
You can make sure it is in the relative path by launching vscode in the root directory of your project:
If this is happening to you on a Mac, with iTerm and Zsh. I had to set the Explorer Kind (terminal application to use) in VSCode to external
Also, make sure this is not overridden at the Workspace level settings.