react-native-skeleton-content-nonexpo icon indicating copy to clipboard operation
react-native-skeleton-content-nonexpo copied to clipboard

having TypeError: Cannot read property 'bezier' of undefined

Open Leleka14 opened this issue 3 years ago • 6 comments

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

Leleka14 avatar May 24 '21 19:05 Leleka14

Do you have a screenshot of the error and the device being used?

alexZajac avatar May 24 '21 21:05 alexZajac

same problem v1.0.13 also exist on v1.0.11 image

NvIGA avatar May 25 '21 06:05 NvIGA

While it's not solved yet, v1.0.11 is working.

DavidInojosa avatar Jul 27 '21 20:07 DavidInojosa

what version of react-native reanimated are you using @DavidInojosa ?

davlf avatar Oct 28 '21 09:10 davlf

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

bilal-elchami avatar Nov 23 '21 13:11 bilal-elchami

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.

elliotrask avatar Jan 12 '22 13:01 elliotrask

Seems like the issue got resolved with the latest comment. Closing for now but feel free to reopen if it the issue happens agains.

alexZajac avatar Sep 05 '22 23:09 alexZajac

Still facing the issue and it is not solved. @alexZajac

DeepikaSharma5 avatar Apr 30 '23 19:04 DeepikaSharma5

Still facing the issue

HossamAbdelnasser13 avatar May 31 '23 09:05 HossamAbdelnasser13

maybe computer reload?

tw1ster4k avatar Jul 10 '23 13:07 tw1ster4k

@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

zeusstl avatar Aug 28 '23 16:08 zeusstl

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"

julianvv avatar Sep 29 '23 00:09 julianvv

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",

luan-evangelista avatar Oct 09 '23 20:10 luan-evangelista

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",

ahinkle avatar Oct 31 '23 14:10 ahinkle

"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 :(

savio777 avatar Nov 01 '23 16:11 savio777

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

ahinkle avatar Nov 05 '23 00:11 ahinkle

i am still facing this issue

wisnulaku6 avatar Mar 19 '24 13:03 wisnulaku6

"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

showtan001 avatar Mar 22 '24 08:03 showtan001