ffprobe
ffprobe copied to clipboard
EACCESS Error on Production server
Hi, we have found this tool ffprobe-npm a useful one to analyse the format of video files using Node JS. This plugin is working fine in our local development machine. But the same plugin is giving the following error while deploying in the production environment (Node JS 14.17.0). Please find below the error information:
Error: spawn /appdata/lms-dev-api/node_modules/ffprobe-static/bin/linux/x64/ffprobe EACCES at Process.ChildProcess._handle.onexit (internal/child_process.js:269:19) at onErrorNT (internal/child_process.js:467:16) at processTicksAndRejections (internal/process/task_queues.js:82:21) { errno: -13, code: 'EACCES', syscall: 'spawn /appdata/lms-dev-api/node_modules/ffprobe-static/bin/linux/x64/ffprobe', path: '/appdata/lms-dev-api/node_modules/ffprobe-static/bin/linux/x64/ffprobe', spawnargs: [ '-show_streams', '-print_format', 'json', 'https://xxxxxxxxxx.xxxxx.xxx/sjdfhks/sdfhkj/' ] }