-
-
Notifications
You must be signed in to change notification settings - Fork 131
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
Undefined is not a function (near '...interpolate...') #133
Comments
add this to your package.json
and use yarn. |
Thanks for the answer. But it does not seems to work. EDIT |
don't downgrade react-native-reanimated,
and downgrade @gorhom/animated-tabbar to 2.1.1 like this
good luck |
From Redash document, you have to find and add Or you can use my patch-package file (file name is
|
This project is so underrated :( |
This project is not very usable alongside the @gorhom Bottom Drawer now that the dependencies are kinda far apart :( |
faced with the same issue when trying to update react-native version from 0.64.2 to 0.66.0 :( |
What helped me was:
|
I managed to fix this with by replacing Animated.interpolate with Animated.interpolateNode in node_modules/react-native-redash/lib/module/Colors.js... I'll give Humberd's solution a shot once I get this working on Android |
After spending 2 days in that error finally, i have found a solution. You just need to include these two libraries in you package.json with exact versions mentioned below.
@tarikko @Isaccobosio Try this |
Solution that worked for me was modifying the react-native-redash library and updating a few values for reanimated v2. I don't believe it's ideal as you'll have to change it every time the code moves machines, but it's a quick band-aid fix. Other versions of redash I attempted using had various compatibility issues so I assume a more permanent solution can be found by finding a functional version of redash that works with reanimated v2 that doesn't break existing functionality |
@Codedrainer what version of RN are you using ? When downgrading reanimated I get issues on Android:
|
@zalwicker2 thank yo very much, your solution worked for me on RN 0.70.6! |
This is the correct answer. |
Bug
BUG: Even if I copied and pasted the example I facing
Undefined is not a function (near '...interpolate...')
Screenshot
Environment info
Steps To Reproduce
HomeSVG.js
MyTabBar.js
Describe what you expected to happen:
Thanks <3
The text was updated successfully, but these errors were encountered: