You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am facing an issues on VScode on Windows, that salt-lint is not found after start. Full error:
Cannot salt-lint the Salt State file. The salt-lint program was not found.
It is strange, because integrated VScode terminal can use salt-lint Python binary and use linter on file using cli, it can also be called directly from Windows Terminal. I see this error only when running this extenstion. BTW VScode is not running under Administrator and I have path to Python scripts added to ENV variables. Could you help me what need to be checked? Thanks.
The text was updated successfully, but these errors were encountered:
msvihra
changed the title
salt-lint program not found when starting VScodesalt-lint program not found when starting VScode
Nov 10, 2023
You're able to configure a full path to the binary in the extension settings. That should resolve your issue (no longer relying on your $PATH env vars)
Thanks for reply. Yes, I have also tried absolute path to salt-lint.exe, which I forgot to mention. The thing is it do not work even with absolute path. Maybe I have set the path wrong (I have a space in user name)?:
where salt-lint
C:\Users\<name> <another_name>\AppData\Local\Packages\<python_path>\Scripts\salt-lint.exe
Hi,
I am facing an issues on VScode on Windows, that
salt-lint
is not found after start. Full error:It is strange, because integrated VScode terminal can use
salt-lint
Python binary and use linter on file using cli, it can also be called directly from Windows Terminal. I see this error only when running this extenstion. BTW VScode is not running under Administrator and I have path to Python scripts added to ENV variables. Could you help me what need to be checked? Thanks.The text was updated successfully, but these errors were encountered: