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

[React Native 0.48]: Error: Redefinition of RCTMethodInfo #157

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

exentrich
Copy link

Build failed without this fix

@joncursi
Copy link

Confirmed working on my end. I am using @exentrich 's patch for now to get around this:

    "react-native-oauth": "git+ssh://[email protected]/exentrich/react-native-oauth#patch-1",

@Kottidev
Copy link
Contributor

can you accept this PR ?

@karlAlnebratt
Copy link

Experiencing same issue.

"react": "16.0.0-beta.5",
"react-native": "0.49.1",
"react-native-oauth": "2.2.0"

I'm using patch-package to fix this issue until this is released.

@tqc
Copy link
Contributor

tqc commented Oct 8, 2017

The code modified in this PR isn't actually the problem. The error comes up because there are multiple versions of the react native headers in the search path - the older version exists, but isn't the one you are actually using.

Assuming you have a fairly standard setup, deleting node_modules/react-native and reinstalling should work - a lot of files got moved to different locations around 0.48, so the old ones may not get overwritten/removed with an upgrade.

@mackenziemance
Copy link

mackenziemance commented Oct 14, 2017

Is @tqc 's solution working for anyone els ? I'm only able to solve this with the patch.

bstankowski added a commit to bstankowski/react-native-oauth that referenced this pull request Nov 14, 2017
@alejandrosanabriav
Copy link

works for me! thanks @exentrich

markdaws added a commit to markdaws/react-native-oauth that referenced this pull request Dec 7, 2017
@ice-chillios
Copy link

Working with 0.51.0 too. This should be merged a few days ago when I started debugging this one 💃

@melihmucuk
Copy link

Im running on react-native v0.51.0 and it doesnt work with current npm version. Please merge this pull request to fix it.

@mraible
Copy link

mraible commented Jan 29, 2018

I ran into this today, using the latest and greatest react-native code (^0.52.2). I can confirm that using the following solved the problem:

"react-native-oauth": "git+ssh://[email protected]/exentrich/react-native-oauth#patch-1",

@Compulsor-zz
Copy link
Contributor

Can this PLEASE get merged. For crying out loud.

@cranberyxl
Copy link

We forked it and are using the patch mentioned above.

@sb8244
Copy link

sb8244 commented Jun 1, 2018

This is still occurring and the only solution right now is to the use the forked patch. Is this going to be merged? Is there a better solution?

@CapitanRedBeard
Copy link

@auser Can you merge this in and cut a new version? Seems this is working for everyone and has been a problem for everyone

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.