react-native-skeleton-content-nonexpo: Animated node with ID 2 already exists

Describe the bug I installed the react-native-skeleton-content-nonexpo library, and after following the example code in the documentation, I got the error Animated node with ID 2 already exists

Screenshots Screenshot 2020-06-11 at 16 54 33

Additional context I’m running React native v0.62.2 and react-native-skeleton-content-nonexpo v1.0.8

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 26 (5 by maintainers)

Most upvoted comments

@osikes When you say getting everything to 1.9.x resolved issue, can you elaborate on that? What is the source of the versioning issue, as it’s unclear to me since I have only one version of react-native-reanimated installed and I keep getting the same error? @alexZajac

Sure @Billmike . For me it was as simple as my package.json had a reference to “react-native-reanimated”: “^1.8.0”, which I needed to change to 1.9.0.

Now if you have various dependencies that then themselves reference different versions of ‘react-native-reanimated’… you’re probably in for a more difficult time 😞 . And will either have to request author of those libraries to update or fork them yourself.

This Lib did not work with reanimated 2? because I got the same issue, in my case I have reanimated 2!

@osikes When you say getting everything to 1.9.x resolved issue, can you elaborate on that? What is the source of the versioning issue, as it’s unclear to me since I have only one version of react-native-reanimated installed and I keep getting the same error? @alexZajac