How do I find the location of the setting.js file on Windows? I previously edited the file, but there was an error in the functionglobal command.
Error loading settings file: /data/settings.js /data/settings.js:517 functionGlobalContext: {
How do I find the location of the setting.js file on Windows? I previously edited the file, but there was an error in the functionglobal command.
Error loading settings file: /data/settings.js /data/settings.js:517 functionGlobalContext: {
It is wherever the /data volume is mapped to in your docker setup.
on Windows it is by default in your user (home) directory, which by default is c:\users\your-username\.node-red. (unless you explicitly set different paths)
Is that correct when running under docker?
No, you are 100% correct in what you said re docker. But he asked about Windows. I assumed that he is developing under Windows (and then creating a docker image out of it).
Obviously, the Windows settings.js needs to be tweaked for docker, mostly WRT paths
I think that @maulanamuslih needs to clarify which docker image he is running and how he is running it.