question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

TypeError: method.bind is not a function Issue with react native 0.59.0

See original GitHub issue

What is the problem?

Getting TypeError:

ExceptionsManager.js:74 TypeError: method.bind is not a function

This error is located at:
    in Path (at animated-path.js:72)
    in AnimatedPath (at chart.js:119)
    in RNSVGSvgView (at Svg.js:83)
    in Svg (at chart.js:110)
    in RCTView (at View.js:45)
    in View (at chart.js:107)
    in RCTView (at View.js:45)
    in View (at chart.js:106)
    in Chart (at Challenge.js:112)
    in RCTView (at View.js:45)
    in View (at Challenge.js:75)
    in Challenge (at withCharts.js:186)
    in _temp (created by SceneView)
    in SceneView (at StackViewLayout.js:795)
    in RCTView (at View.js:45)
    in View (at createAnimatedComponent.js:151)
    in AnimatedComponent (at StackViewCard.js:69)
    in RCTView (at View.js:45)
    in View (at createAnimatedComponent.js:151)
    in AnimatedComponent (at screens.native.js:59)
    in Screen (at StackViewCard.js:57)
    in Card (at createPointerEventsContainer.js:27)
    in Container (at StackViewLayout.js:860)
    in RCTView (at View.js:45)
    in View (at screens.native.js:83)
    in ScreenContainer (at StackViewLayout.js:311)
    in RCTView (at View.js:45)
    in View (at createAnimatedComponent.js:151)
    in AnimatedComponent (at StackViewLayout.js:307)
    in PanGestureHandler (at StackViewLayout.js:300)
    in StackViewLayout (at withOrientation.js:30)
    in withOrientation (at StackView.js:79)
    in RCTView (at View.js:45)
    in View (at Transitioner.js:215)
    in Transitioner (at StackView.js:22)
    in StackView (created by Navigator)
    in Navigator (at createKeyboardAwareNavigator.js:12)
    in KeyboardAwareNavigator (created by SceneView)
    in SceneView (at StackViewLayout.js:795)
    in RCTView (at View.js:45)
    in View (at createAnimatedComponent.js:151)
    in AnimatedComponent (at StackViewCard.js:69)
    in RCTView (at View.js:45)
    in View (at createAnimatedComponent.js:151)
    in AnimatedComponent (at screens.native.js:59)
    in Screen (at StackViewCard.js:57)
    in Card (at createPointerEventsContainer.js:27)
    in Container (at StackViewLayout.js:860)
    in RCTView (at View.js:45)
    in View (at screens.native.js:83)
    in ScreenContainer (at StackViewLayout.js:311)
    in RCTView (at View.js:45)
    in View (at createAnimatedComponent.js:151)
    in AnimatedComponent (at StackViewLayout.js:307)
    in PanGestureHandler (at StackViewLayout.js:300)
    in StackViewLayout (at withOrientation.js:30)
    in withOrientation (at StackView.js:79)
    in RCTView (at View.js:45)
    in View (at Transitioner.js:215)
    in Transitioner (at StackView.js:22)
    in StackView (created by Navigator)
    in Navigator (at createKeyboardAwareNavigator.js:12)
    in KeyboardAwareNavigator (created by SceneView)
    in SceneView (created by SwitchView)
    in SwitchView (created by Navigator)
    in Navigator (at createAppContainer.js:388)
    in NavigationContainer (at routes.js:109)
    in Routes (at App.js:51)
    in RCTView (at View.js:45)
    in View (at App.js:49)
    in App (at renderApplication.js:35)
    in RCTView (at View.js:45)
    in View (at AppContainer.js:98)
    in RCTView (at View.js:45)
    in View (at AppContainer.js:115)
    in AppContainer (at renderApplication.js:34)

When does it happen?

I’m using AreaChart in my App and when I remove it error is not there.

What platform?

  • [ x ] iOS
  • Android (Not checked)

React Native version: 0.59.0

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:20
  • Comments:15

github_iconTop GitHub Comments

21reactions
marcormcommented, Mar 15, 2019

@vikrantnegi i solved my problem: I updated to react-native-svg 9.3.3 react-native start --reset-cache and it worked.

16reactions
vikrantnegicommented, Mar 28, 2019

@nethergrim Try updating the react-native-svg package to the latest version. It solved the problem for me.

Read more comments on GitHub >

github_iconTop Results From Across the Web

method.bind is not a function Issue with react native 0.59.0
i am getting error from react-native after i update from 0.54.0 to 0.59.5. Getting TypeError: **TypeError: method.bind is not a function.
Read more >
TypeError: method.bind is not a function Issue with react native 0.59.0 -
What is the problem? Getting TypeError: ExceptionsManager.js:74 TypeError: method.bind is not a function This error is located at: in Path (at ...
Read more >
Invalid Hook Call Warning - React
There are three common reasons you might be seeing it: You might have mismatching versions of React and React DOM. You might be...
Read more >
Facing issue on onChange function in React-React Native
[Solved]-Facing issue on onChange function in React-React Native ... function react native · method.bind is not a function Issue with react native 0.59.0...
Read more >
Direct Manipulation - React Native
and not within your React components, which makes your code more difficult to reason about. Before you use it, try to solve your...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found