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.

root-toast depends on root-siblings, and root-siblings version is not compatible with React Native v0.48

See original GitHub issue

So related to #41, but more english in it.

root-toast has a dependency: root-siblings

screen shot 2017-09-08 at 3 53 55 pm

root-siblings’ version is not compatible with any higher React Native versions (I am currently on 0.45 for this to work)

I need to upgrade RN so that other dependencies behave properly, but in order to do that, I will have to wipe out root-toast entirely.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:5
  • Comments:14 (1 by maintainers)

github_iconTop GitHub Comments

11reactions
coolieancommented, Sep 11, 2017

Temporary solution: Modify node_modules/react-native-root-siblings/lib/AppRegistryInjection.js

//import EventEmitter from 'react-native/Libraries/EventEmitter/EventEmitter';
import EventEmitter from 'react-native/Libraries/vendor/emitter/EventEmitter'

This version of RN moves the location of the emitter package

1reaction
magicismightcommented, Dec 5, 2017

This has been fixed in 2.2.0

Read more comments on GitHub >

github_iconTop Results From Across the Web

react-native-root-siblings - npm
From 4.0 the redux store context injection is not enabled by default, the redux store context should be set by a context wrapper....
Read more >
Upgrading to new versions - React Native
I want to upgrade with React Native CLI but I don't use Git​. While your project does not have to be handled by...
Read more >
React Native Tutorial for Beginners - Build a React Native App
React Native Tutorial for Beginners - Learn to build an amazing React Native app for iOS & Android. Get the full...
Read more >
react native toast like component, pure javascript solution
root-toast depends on root-siblings, and root-siblings version is not compatible with React Native v0.48. So related to #41, but more english in it....
Read more >
Troubleshooting common React Native bugs - LogRocket Blog
React Native is a great framework to implement your app for both Android and iOS platforms. But while it's widely supported by the...
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