vscode-sqlite
vscode-sqlite copied to clipboard
[Linux] [ERROR] Failed to open database SQLite process failed to start: The argument 'file' cannot be empty. Received ''
I installed the extension without reading the documentation first and was unable to open database getting this message:
[ERROR] Failed to open database <path> SQLite process failed to start: The argument 'file' cannot be empty. Received ''
In my case I had to install sqlite3
to fix the problem:
$ sudo apt-get install sqlite3
That message was really confusing as <path>
from above is not empty. Also I can view that database it sqlitebrowser
.
Maybe there is a way to make some check?
Yes, I too faced this issue. Attaching screenshots.
Hi, edit vscode configuration in json mode and add the path to sqlite3 binary.
Example for Ubuntu
"sqlite.sqlite3":"/usr/bin/sqlite3",
And the explorer appear:
/usr/bin/sqlite3
It does not work for us.