Sublime Forum

Can't find node path for the lsp

#1

I know this question has been discussed and resolved already. But for some reason it just doesn’t work for me. I installed ST via flatpak in Fedora.

I followed the setup instructions. I also followed this reddit comment.

ST still fails to find the node.

░▒▓ ls -dl $NVM_DIR/current
lrwxrwxrwx. 1 rckt-mac rckt-mac 42 Feb 15 11:12 /home/rckt-mac/.nvm/current -> /home/rckt-mac/.nvm/versions/node/v22.12.0

>>> import os; os.environ["PATH"]
'/app/utils/bin:/app/sublime_merge/bin:/app/bin:/usr/bin'
0 Likes

#2

Apps installed via flatpack run in isolated environments having restricted access to OS resources. Hence ST can’t query your login shell for environment variables.

That’s one reason why flatpack is NOT officially supported by sublimehq.

1 Like

#3

Thank you very much for clarifying this.
I followed the official ST way of installing it and everything works fine now.

0 Likes