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'