путь разрешения в узле JS до тока DIR
path.resolve(__dirname, 'settings.json')
Splendid Skunk
path.resolve(__dirname, 'settings.json')