I have Problem with finding a json file

The quoted line is not needed when loading a static json/pdf/image etc, it is needed when code is loaded I think.

This however is needed:
fs.readFile('./all/channels.json',..)

It works for me local and remote with a Lambda function.