Did you try putting them in /etc/profile instead of root's profile?
thanks for the idea, sadly it didn't work. it's still the same behaviour :/
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.
can't reproduce - works fine for me.
have you rebooted your board after updating /etc/profile?
so after you put everything into /etc/profile , you just rebooted and could access it from within process.env.FOO ?
not "FOO" but console.log(process.env.NODE_PATH) which is already defined in /etc/profiles