Upgrade to react-native 0.59 breaks react-native-svg
See original GitHub issueSteps: Upgrade to react-native 0.59.0, build and run App, and get the following:
TypeError: method.bind is not a function. (In 'method.bind((0, _assertThisInitialized2.default)(_this))', 'method.bind' is undefined)
This error is located at:
in Svg (at NumberCircle.js:7)
in NumberCircle (at Overview.js:12)
in RCTView (at View.js:45)
in View (at Overview.js:10)
in Overview (at LandingScreen.js:238)
in RCTView (at View.js:45)
in View (at LandingScreen.js:237)
in RCTView (at View.js:45)
in View (at LandingScreen.js:220)
in LandingScreen (at SceneView.js:9)
in SceneView (at StackViewLayout.js:574)
in RCTView (at View.js:45)
in View (at createAnimatedComponent.js:151)
in AnimatedComponent (at StackViewCard.js:12)
in Card (at createPointerEventsContainer.js:28)
in Container (at StackViewLayout.js:612)
in RCTView (at View.js:45)
in View (at StackViewLayout.js:470)
in RCTView (at View.js:45)
in View (at StackViewLayout.js:469)
in StackViewLayout (at withOrientation.js:30)
in withOrientation (at StackView.js:63)
in RCTView (at View.js:45)
in View (at Transitioner.js:169)
in Transitioner (at StackView.js:21)
in StackView (at createNavigator.js:59)
in Navigator (at createKeyboardAwareNavigator.js:11)
in KeyboardAwareNavigator (at createNavigationContainer.js:376)
in NavigationContainer (at App.js:60)
in RCTView (at View.js:45)
in View (at Root.js:13)
in Root (at connectStyle.js:384)
in Styled(Root) (at App.js:59)
in Sidekick (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)
...
Issue Analytics
- State:
- Created 5 years ago
- Reactions:9
- Comments:20
Top Results From Across the Web
Upgrade to react-native 0.59 breaks react-native-svg #967
Simply go to the file in XCode, add an enter to it and save it. Then it automagically works. All reactions.
Read more >Upgrading to new versions - React Native
Upgrading to new versions of React Native will give you access to more APIs, views, developer tools and other goodies. Upgrading requires a ......
Read more >React Native version mismatch 0.59.1 > 0.61.2 - Stack Overflow
Yes I've used react-native upgrade to update to the latest version. If I execute the command again it returns: Specified version "0.61.2" is ......
Read more >react-native-svg - npm
react -native-svg provides SVG support to React Native on iOS, Android, macOS, Windows, and a compatibility layer for the web.
Read more >React Native Upgrade Helper
Useful content for upgrading ... React Native 0.60 includes Cocoapods integration by default, AndroidX support, auto-linking libraries, a brand new Start ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
also had missing “RNSVGVectorEffect.h” downgrading to 9.2.4 worked for me
@marcorm I think something like the following should help: rm -rf node_modules npm install npm start – --reset-cache