Closed strikehawk closed 1 year ago
According to this comment, the location of the Node runtime is only needed, if one uses the SQLite functionality. Well, I installed the extension exactly for that.
Essentially, I only have the choice to disable the SQLite functionality altogether or face these errors on each startup, for each Visual Studio Code window, that opens. Unbearable.
I use a custom login shell in WSL2 on Windows 10.
So, the solution to these issues, i.e. this one and the ones that are linked here, must be fairly generic and not specific to bash
or Git Bash
or whatever there is. It must work with anything, as long as the target shell/environment supports the standard commands for looking up something.
I get this error every time I start VS Code with SQLTools extension enabled
Issue similar to:
Desktop (please complete the following information):
Additional context I have set 'Command prompt' as my default Terminal.
Issue seems to be related to quote management when issuing the command to the terminal, at this line: https://github.com/mtxr/vscode-sqltools/blob/b1e982f776d103e768b100e24610e3eba9f56f9e/packages/extension/src/language-client/detect-node-path.ts#L22
Replacing
with
in the source code of the extension solves the issue on my machine, but I did not conduct intensive tests.