Closed plasmy closed 1 year ago
You can set the location of JAVA_HOME in Settings > Advanced.
The reason you are getting this error is the VS Code may use a different shell when running node processes than the terminal shell you use. If they dont have the same environment variables you will get this error.
When I run the command, I get the following:
However, running the same command on terminal works perfectly.