profile
viewpoint

Ask questionsEISDIR: illegal operation on a directory, read error when trying to REMOTE-SSH

I am using VS Code insider 1.35.0 and I was trying to get Remote Development to work, and I accidentially modified a config file and now when I hit F1 and choose "REMOTE-SSH" I get the following error:

EISDIR: illegal operation on a directory, read

I don't recall exactly which file was modified. Is there ANY way to recover from this? I tried uninstall VS Code, rebooting, and re-installing and I still get the same error. Is there any way to start over from scratch?

microsoft/vscode

Answer questions rogerjbos

I had set an absolute path as a user variable, and that was causing the problem. I was able to fix it, but I think VS Code could be made to be more robust to such problems.

useful!

Related questions

the terminal process terminated with exit code #259 hot 7
XHR Failed on trying to install plugins via Visual Studio code
The terminal shell CWD "/c:/User..." does not exist - vscode hot 4
Insiders - We cannot connect to the Extensions Marketplace hot 3
Bad message: Cannot launch program 'c:\...'; setting the 'outFiles' attribute might help. hot 3
Show offending file path, when "Tokenization is skipped for long lines for performance reasons. The length of a long line can be configured via `editor.maxTokenizationLineLength`." hot 3
launch: program ''does not exist hot 2
format code alt + shift + f hot 2
Corrupt ZIP: end of central directory record signature not found hot 2
"Initializing JS/TS Language Features" appears every time I open a JS file hot 2
dart is not recognized as internal or external command hot 2
Logitech MX Master: Horizontal scrolling via scroll wheel doesn't work hot 2
VS Code doesn't read Git packed-refs hot 2
Is it possible to use wsl bash php for php.validate.executablePath hot 2
Git Fetch fails with Missing or invalid credentials hot 2
Github User Rank List