Error: spawn EACCES using node-fluent-ffmpeg

I am using node-fluent-ffmpeg in my backend, but I cannot configure it correctly. I installed PATHS as it instructed:

process.env['FFMPEG_PATH'] = '/var/task/node_modules/fluent-ffmpeg/node_modules/ffmpeg';
process.env['FFPROBE_PATH'] = '/var/task/node_modules/fluent-ffmpeg/node_modules/ffprobe';

But now he throws this error: enter image description here

What does it mean? I read that this is due to file permissions, but I don’t understand what file it is talking about.

+4
source share
1 answer

this can help you https://github.com/fluent-ffmpeg/node-fluent-ffmpeg/issues/372

all you have to do: fs.chmod ('777', function ...... and it will work

0
source

All Articles