in my .vscode/settings.json:
{
"tiltfile.tilt.path": "bin/.bin/tilt",
}
in terminal project root
~/development/project $ bin/.bin/tilt version
v0.33.20, built 2024-09-03
~/development/project $ curl -I http://localhost:10350
HTTP/1.1 200 OK
Content-Length: 743
Content-Type: text/html; charset=utf-8
Set-Cookie: Tilt-Token=78a28fd2-ad3f-4c61-a225-c7133b4e468c; Path=/
Date: Thu, 26 Sep 2024 16:17:03 GMT
VSCode output panel:
[Info - 9:12:49 AM] Tiltfile LSP started
tilt session watch errored: Error: spawn tilt ENOENT
[Error - 9:12:49 AM] bin/.bin/tilt: Error: spawn ./bin/.bin/tilt ENOENT
[Warn - 9:12:49 AM] Could not find a version of Tilt to use with the Tiltfile extension. Please visit https://docs.tilt.dev/install.html to install Tilt v0.26 or higher. Autocomplete will not function without a compatible version of Tilt installed.
[Error - 9:12:49 AM] Starting client failed
Error: Tilt not found
tilt session watch exited w/ code -2
tilt session watch errored: Error: spawn tilt ENOENT
...
I was only able to bypass this error by specifying absolute path to tilt. This is not expected behaviour for the settings.json file, it should be able to work with paths relative to workspaceFolder.
Am I doing something wrong here?
in my
.vscode/settings.json:{ "tiltfile.tilt.path": "bin/.bin/tilt", }in terminal project root
VSCode output panel:
I was only able to bypass this error by specifying absolute path to
tilt. This is not expected behaviour for thesettings.jsonfile, it should be able to work with paths relative toworkspaceFolder.Am I doing something wrong here?