Skip to content
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

interpolate() was renamed to interpolateNode() in Reanimated 2. Please use interpolateNode() instead #116

Open
fessor10 opened this issue Jul 7, 2021 · 6 comments
Labels
bug Something isn't working

Comments

@fessor10
Copy link

fessor10 commented Jul 7, 2021

I get this error when compiling my code with expo

at node_modules/react-native-reanimated/src/reanimated2/interpolation.ts:119:4 in interpolate
at node_modules/react-native-redash/lib/module/Colors.js:1:2605 in interpolateColorsRGB
at node_modules/react-native-redash/lib/module/Colors.js:1:3435 in interpolateColor
at node_modules/@gorhom/animated-tabbar/src/presets/bubble/item/BubbleTabBarItem.tsx:50:28 in BubbleTabBarItemComponent
at [native code]:null in performSyncWorkOnRoot
at [native code]:null in dispatchAction
at node_modules/use-subscription/cjs/use-subscription.development.js:85:14 in checkForUpdates
at node_modules/fbemitter/lib/BaseEventEmitter.js:185:4 in __emitToSubscription
at node_modules/fbemitter/lib/BaseEventEmitter.js:166:10 in emit
at node_modules/react-native-appearance/src/index.tsx:53:6 in Appearance.set
at node_modules/react-native-appearance/src/index.tsx:20:2 in nativeEventEmitter.addListener$argument_1
at node_modules/react-native/Libraries/vendor/emitter/EventEmitter.js:189:10 in emit
at [native code]:null in callFunctionReturnFlushedQueue
Library Version
@gorhom/animated-tabbar 2.1.2
react-native 41.0.0
react-native-reanimated 2.1.0
react-native-gesture-handler 1.10.2
react-native-svg 12.1.0

Steps To Reproduce

  1. Create a new expo project.
  2. Add React Navigation, install dependencies. Using expo install react-native-reanimated react-native-gesture-handler react-native-svg
  3. Add react-native-animated-tabbar and use the library version listed above
@fessor10 fessor10 added the bug Something isn't working label Jul 7, 2021
@fessor10
Copy link
Author

fessor10 commented Jul 8, 2021

@gorhom Hi, can you please kindly have a look at this in your spare time.

I will be expecting to hear your thoughts on this.

Thank you!

@JClackett
Copy link

Having the same issue on latest expo build

@JClackett
Copy link

I think its because this package uses the old react-native-redash package, it needs to be updated

@JClackett
Copy link

Fixed by using yarn resolution in package json

  "resolutions": {
    "react-native-redash": "16.1.1"
  }

and downgrading this packages version:

    "@gorhom/animated-tabbar": "2.1.1",

@GuillaumeRZ
Copy link

Same problem here ! Thanks for the update ! :)

@butri71
Copy link

butri71 commented Sep 20, 2021

same here as well!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants