Applications can't work properly unless it is launched from terminal

I am having a weird problem with some apps , mainly I had this problem with neovide and Godot
when I launch neovide it does not detect that I have node in the PATH so when I need node I have to launch it from the terminal
same for Godot , when I launch it normally it does not find the apksigner but when I launch it from the terminal it works perfectly
I don’t really understand what is the cause of this problem so any idea would be appreciated

How did you install these other things being relied on? (node, apksigner)
Have they been added to PATH properly? Or are they in something that only launches with the terminal, like .zshrc or similar ?