I’m reopening the issue from @hideodaikoku:
error UNHANDLED REJECTION Cannot find ffprobe
Error: Cannot find ffprobe
I’m using the gatsby-video
plugin that requires gatsby-plugin-ffmpeg
and gatsby-transformer-ffmpeg
, which uses ffmpeg. I’ve downloaded the latest binaries (ffmpeg-git-amd64-static.tar.xz) from John Van Sickle - FFmpeg Static Builds. And put them into my root folder of my repo, like that is the netlify docker container path: /opt/build/repo/ffmpeg, /opt/build/repo/ffprobe, /opt/build/repo/package.json
And my default netlify.toml:
[build]
base = "./"
# Directory (relative to root of your repo) that contains the deploy-ready
# HTML files and assets generated by the build. If a base directory has
# been specified, include it in the publish directory path.
publish = "public/"
# Default build command.
command = "yarn build"
I tried already to override the PATH env var, also with sed but without success. Ive spent the second day now, finding something working to use ffmpeg in my react app. Would be very nice if somebody is able to give some more tips please what might be wrong - especially @hideodaikoku!
Thank you very much!