I'd like to test Lottie files in a Snack using lottie-react-native, but I get the following error when I try to add the package as a dependency in package.json:
Failed to resolve dependency 'lottie-react-native@6.7.0' (Cannot resolve module react-native/Libraries/NativeComponent/ViewConfigIgnore after installing it as a dependency)
What platform(s) does this occur on?
iOS, Web
SDK Version
v51.0.0
(I've tested multiple SDK versions along with multiple versions of the lottie-react-native package and get the same error)
Reproducible demo or steps to reproduce from a blank project
Summary
I'd like to test Lottie files in a Snack using lottie-react-native, but I get the following error when I try to add the package as a dependency in package.json:
What platform(s) does this occur on?
iOS, Web
SDK Version
v51.0.0
(I've tested multiple SDK versions along with multiple versions of the lottie-react-native package and get the same error)
Reproducible demo or steps to reproduce from a blank project
https://snack.expo.dev/@jcohenho/lottie-react-native-issue
package.json