react-native-skeleton-content-nonexpo
react-native-skeleton-content-nonexpo copied to clipboard
having TypeError: Cannot read property 'bezier' of undefined
TypeError: Cannot read property 'bezier' of undefined appears when im using v1.0.13 of "react-native-skeleton-content-nonexpo", v1.0.11 works fine but still something might be wrong
Do you have a screenshot of the error and the device being used?
same problem v1.0.13 also exist on v1.0.11
While it's not solved yet, v1.0.11 is working.
what version of react-native reanimated are you using @DavidInojosa ?
I had modify the dependency in node_modules in order to make it work.
I replaced all the react_native_reanimated_1.interpolateNode
with react_native_reanimated_1.interpolate
in SkeletonContent.js
And
Replaced exports.DEFAULT_EASING = react_native_reanimated_1.EasingNode.bezier(0.5, 0, 0.25, 1);
with exports.DEFAULT_EASING = react_native_reanimated_1.Easing.bezier(0.5, 0, 0.25, 1);
in Constants.js
Hi! The react native reanimated package has changed the method name from interpolate to interpolateNode in version 2.x! https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/migration By updating your local reanimated package to > 2 you will see this issue go away.
Seems like the issue got resolved with the latest comment. Closing for now but feel free to reopen if it the issue happens agains.
Still facing the issue and it is not solved. @alexZajac
Still facing the issue
maybe computer reload?
@alexZajac This issue seems to be back. Can we reopen this issue?
react-native: 0.72.4 react-native-reanimated: 3.4.2 react-native-skeleton-content-nonexpo: 1.0.13
Same issue
"react-native": "0.72.3" "react-native-reanimated": "^3.4.2" "react-native-linear-gradient": "^2.8.3" "react-native-skeleton-content-nonexpo": "^1.0.13"
Same issue
"react-native": "0.72.4", "react-native-reanimated": "^3.5.4", "react-native-linear-gradient": "^2.8.3", "react-native-skeleton-content-nonexpo": "^1.0.13",
Same here - @alexZajac can we reopen this issue?
"react-native": "0.72.6", "react-native-reanimated": "^3.5.4", "react-native-linear-gradient": "^2.8.3", "react-native-skeleton-content-nonexpo": "^1.0.13",
"react": "18.2.0", "react-native": "0.72.6", "react-native-reanimated": "^3.5.4", "react-native-skeleton-content-nonexpo": "^1.0.13", "react-native-linear-gradient": "^2.8.3",
i had to move the library to: react-native-skeleton-placeholder
:(
This PR (support of reanimated v3) will fix this issue - just needs to be merged: https://github.com/alexZajac/react-native-skeleton-content-nonexpo/pull/67
i am still facing this issue
"react-native-reanimated": "^3.8.1", "react-native": "0.73.6", "react-native-skeleton-content-nonexpo": "^1.0.13", "react-native-linear-gradient": "^2.8.3",
i am still facing this issue @alexZajac