Could you attached the .bash_profile file you are using?
Have you tried to put the variables in /node_app_slot?
When running from the XDK, are you receiving an error message in the log o is it just that it’s not running?
This is already the whole .bash_profile file (either appended to /etc/profile or as an own file in /home/root/.bash_profile.
The logging looks like this
If running from command line, it logs the following:
If running from the XDK
Putting the file in /.node_app_slot does not seem to work.