You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am getting following error TypeError: _reactNativeReanimated.Easing.bezier(...) is not a function after build on an android device.
I am not sure what is going on. Bezier function exists and there is no type error in VS Code.
I checked node modules and bezier function exists in Easing.ts
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I am getting following error TypeError: _reactNativeReanimated.Easing.bezier(...) is not a function after build on an android device.
I am not sure what is going on. Bezier function exists and there is no type error in VS Code.
I checked node modules and bezier function exists in Easing.ts
function bezier(
x1: number,
y1: number,
x2: number,
y2: number
): { factory: () => (x: number) => number } {
'worklet';
return {
factory: () => {
'worklet';
return Bezier(x1, y1, x2, y2);
},
};
}
I cleaned cache, removed package-lock.json, node modules and more. Nothing has helped
Do you have any idea what can I do?
Beta Was this translation helpful? Give feedback.
All reactions