d_vincent
01/17/2025, 9:16 PMfs.readFileSync(path.join(__dirname, 'assets', 'images', 'imagine-logo.png'));
which resolves to /var/task/assets/images/imagine-logo.png when run in the context of a Bot, resulting in a "no such file" error.
I'm curious if the team has any solution or advice for reading files properly in the bot environment?reshma
01/18/2025, 6:50 PMreshma
01/18/2025, 6:50 PM