Improve the "Error: spawn ...Microsoft VS Code\Code.exe ENOENT" error message to provide more information #1629
Labels
feature-request
Request for new features or functionality
help wanted
Issues identified as good community contribution opportunities
Milestone
I think I'm having this issue: #1225 I'm not certain because the error message only says this:
Regardless, I think it could help if this error message provided more information so it's easier to troubleshoot for all parties. Unfortunately, I made major changes before I noticed this output (the plug-in was working correctly on this project a few days ago):
I see this message every time I open a file that wasn't already in the tab group. It doesn't occur if I visit to tabs I've already browsed once.
Update: it's worth noting that I fixed my issue but I'd still like to request this change.
I resolved this by changing my user settings to add
"eslint.runtime": "node",
and removed the"eslint.nodePath"
line. The former made the plugin use the latest version of node on my system (I'm not sure where it was getting the version it was using). I'm not sure why it was important for me to remove the second line, but the error message changed to something likeError: spawn ...Node.exe ENOENT
once I added the first line. Restarting the app was required.The text was updated successfully, but these errors were encountered: