Hey there, I'm currently trying to install ffmpeg-kit-react-native using the config plugin.
It seems there's a small dependency (or documentation?) issue: after installing ffmpeg-kit-react-native and @config-plugins/ffmpeg-kit-react-native, eas build fails with Error: Cannot find module 'expo-build-properties'.
From what I can tell, a simple solution would be to add expo-build-properties to @config-plugins/ffmpeg-kit-react-native's dependencies, as it is imported here:
This was introduced in #114. In that PR, expo-build-properties was added as a dependency to another config plugin (react-native-webrtc - see diff), so this just seems like a small oversight.
Alternatively, this could be added as a peerDependency - in that case, it would be great to update the installation docs to include adding the expo-build-properties dependency.
Duplicate bug report (closed, but not fixed): #148
Summary
Hey there, I'm currently trying to install
ffmpeg-kit-react-native
using the config plugin.It seems there's a small dependency (or documentation?) issue: after installing
ffmpeg-kit-react-native
and@config-plugins/ffmpeg-kit-react-native
,eas build
fails withError: Cannot find module 'expo-build-properties'
.From what I can tell, a simple solution would be to add
expo-build-properties
to@config-plugins/ffmpeg-kit-react-native
's dependencies, as it is imported here:https://github.com/expo/config-plugins/blob/a6d6b1dff8a3bffbee6e7cb767e0b71ede0ee02b/packages/ffmpeg-kit-react-native/src/withFFMPEG.ts#L6
This was introduced in #114. In that PR,
expo-build-properties
was added as a dependency to another config plugin (react-native-webrtc
- see diff), so this just seems like a small oversight.Alternatively, this could be added as a
peerDependency
- in that case, it would be great to update the installation docs to include adding theexpo-build-properties
dependency.Duplicate bug report (closed, but not fixed): #148
Config Plugin
@config-plugins/ffmpeg-kit-react-native
What platform(s) does this occur on?
Android, iOS
SDK Version
47
Reproducible demo
In a fresh Expo project...
yarn add ffmpeg-kit-react-native @config-plugins/ffmpeg-kit-react-native
yarn eas build --platform all
This fails with the following error, no build is submitted to EAS:
yarn add expo-build-properties
, and re-run the EAS build command: build is submitted as expected ✅