Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expo Snack does not support lottie-react-native #589

Open
jcohenho opened this issue Jun 17, 2024 · 1 comment
Open

Expo Snack does not support lottie-react-native #589

jcohenho opened this issue Jun 17, 2024 · 1 comment

Comments

@jcohenho
Copy link

jcohenho commented Jun 17, 2024

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:

Failed to resolve dependency '[email protected]' (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

https://snack.expo.dev/@jcohenho/lottie-react-native-issue

package.json

{
  "dependencies": {
    "react-native-paper": "4.9.2",
    "@expo/vector-icons": "^14.0.0",
     "lottie-react-native": "6.7.0"
  }
}
@jvgeee
Copy link

jvgeee commented Jul 9, 2024

+10. need to log a bug with Lottie and they specifically suggest doing it via a snack, yet Snack is failing to load it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants