Skip to content

Failed to resolve the Node executable path when it contains spaces #362

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
cliffrunner opened this issue Jul 8, 2019 · 6 comments · Fixed by #363
Closed

Failed to resolve the Node executable path when it contains spaces #362

cliffrunner opened this issue Jul 8, 2019 · 6 comments · Fixed by #363
Labels
bug Something isn't working
Milestone

Comments

@cliffrunner
Copy link

I installed node.js (v10.16.0) and the latest version of leetcode (0.15), when I tried to click any button on top it kept saying "command xxx not found". I read through the bug reports and it seems similar to an old letter case issue but should already be fixed in v0.13.

Please help. Thank you.

@jdneo
Copy link
Member

jdneo commented Jul 9, 2019

Could you provide the output in the LeetCode output channel?

@jdneo jdneo added the need more info Further information is requested label Jul 9, 2019
@cliffrunner
Copy link
Author

'C:\Program' is not recognized as an internal or external command, operable program or batch file. Error: The environment doesn't meet requirements

Thanks.

@no-response no-response bot removed the need more info Further information is requested label Jul 9, 2019
@jdneo
Copy link
Member

jdneo commented Jul 10, 2019

I see. Thank you for the information.

@jdneo jdneo added the bug Something isn't working label Jul 10, 2019
@jdneo
Copy link
Member

jdneo commented Jul 10, 2019

@cliffrunner

As a workaround, there is no need to set the setting nodePath. Just make sure the Node.js executable is in the Path environment variable. And reset the nodePath to the default value node.

@cliffrunner
Copy link
Author

Thanks a lot for the help. I added the executable to both system and user path but the problem still persists. Now the output is: Error: The Node.js executable does not exist on path

@jdneo
Copy link
Member

jdneo commented Jul 11, 2019

@cliffrunner

  • Can you run Node.js if simply enter node in your cmd?
  • If yes, Please make sure all the VS Code windows are closed, and then start it. (Don't start it by right-clicking from the file explorer)
  • If the step two is not working for you, log out from your OS and re-login.

@jdneo jdneo changed the title None of the button works Failed to resolve the Node executable path when it contains spaces Jul 11, 2019
@jdneo jdneo added this to the 0.15.2 milestone Jul 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
2 participants