the npm module is requesting the WINDOWS EXECUTABLE instead of the LINUX EXECUTABLE (Docker in this case.)
Docker FROM Image: node:14.0-alpine
Error: Command failed with ENOENT: /usr/src/app/node_modules/youtube-dl/bin/youtube-dl.exe --dump-json --format=140 https://www.youtube.com/watch?v=yhS9LnDoo_w
2021-02-05 04:30:45.72 UTCspawn /usr/src/app/node_modules/youtube-dl/bin/youtube-dl.exe ENOENT
2021-02-05 04:30:45.72 UTC at Process.ChildProcess._handle.onexit (internal/child_process.js:268:19)
2021-02-05 04:30:45.72 UTC at onErrorNT (internal/child_process.js:468:16)
2021-02-05 04:30:45.72 UTC at processTicksAndRejections (internal/process/task_queues.js:84:21)
the npm module is requesting the WINDOWS EXECUTABLE instead of the LINUX EXECUTABLE (Docker in this case.) Docker FROM Image:
node:14.0-alpine