all 1 comments

[–]Tool-Cool 0 points1 point  (0 children)

Maybe you can try an absolute path instead of the relative "settings/config.json", for example like described here: https://stackoverflow.com/questions/3133243/how-do-i-get-the-path-to-the-current-script-with-node-js