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

Upgrading to 0.30.0 Unhandled JS Exception: this._nativeModule.addListener is not a function. (In this._nativeModule.addListener ) #9036

Closed
mebinum opened this issue Jul 27, 2016 · 13 comments
Labels
Ran Commands One of our bots successfully processed a command. Resolution: Locked This issue was locked by the bot.

Comments

@mebinum
Copy link

mebinum commented Jul 27, 2016

Error Issue

Trying to upgrade from react@0.14.8 and react-native@0.25.1 to 0.30.0 and I'm getting the following error above for iOS

I've tried the suggestions in #8025 #7679 , also tried clean and rebuilding the project in xcode, deleting the node_modules folder and reinstalling but not luck.

The application is for iOS running on a Mac v10.11.5 any help with this would be much appreciated

my package.json contains the following libraries

                  "dependencies": {
                      "react": "^15.2.0",
                      "react-native": "^0.30.0",
                      "react-native-google-signin": "^0.6.1",
                      "react-native-swipeout": "^2.0.12",
                      "react-redux": "^4.4.5",
                      "redux": "^3.5.2",
                      "redux-actions": "^0.10.0",
                      "redux-logger": "^2.6.1",
                      "redux-persist": "^3.1.1",
                      "redux-promise-middleware": "^3.3.2",
                      "redux-thunk": "^2.1.0",
                      "seed-react-native": "^1.0.21"
            },
                "devDependencies": {
                      "babel-eslint": "^6.1.0",
                      "eslint": "^3.0.1",
                      "eslint-plugin-flowtype": "^2.3.0",
                      "eslint-plugin-react": "^5.2.2",
                      "remote-redux-devtools": "^0.3.3"
                    }`
@sgwilym
Copy link

sgwilym commented Jul 29, 2016

This has become a pretty pressing issue for me, with none of the old staples working: nuking node_modules, pods, clearing watchman, and cleaning Xcode.

@sgwilym
Copy link

sgwilym commented Aug 1, 2016

Fixed this issue with that old chestnut: clearing XCode’s DerivedData. 🙄

@oillamp
Copy link

oillamp commented Aug 13, 2016

@sgwilym thanks a lot, clear DerivedData, it does work.

@zo-chu
Copy link

zo-chu commented Aug 16, 2016

Hey, have the same issue on 0.31.0 version. Clearing DerivedData , node_modules, etc , didn't work, does anyone have any idea what else I can do?

@krillov
Copy link

krillov commented Aug 22, 2016

@zo-chu I have the same problem. Have you found a solution maybe?

@zo-chu
Copy link

zo-chu commented Aug 22, 2016

@krillov nope. Still bothers me, tried to reinstall this component again but no luck :/

@krillov
Copy link

krillov commented Aug 22, 2016

@zo-chu Ok. I downgraded to 0.30 again just to test it and it works fine. Have to edit... it doesn't work.

@oillamp
Copy link

oillamp commented Aug 23, 2016

@zo-chu after npm install , and before pod install, try to close xcode and simulator

@zo-chu
Copy link

zo-chu commented Aug 25, 2016

@oillamp nope, unfortunately no luck. It seems like it can't see this module and that's it.

@charpeni
Copy link
Contributor

@facebook-github-bot label Icebox

@charpeni
Copy link
Contributor

Hi there! This issue is being closed because it has been inactive for a while.

But don't worry, it will live on with ProductPains! Check out its new home: https://productpains.com/post/react-native/upgrading-to-0300-unhandled-js-exception-thisnativemoduleaddlistener-is-not-a-function-in-thisnativemoduleaddlistener-

ProductPains helps the community prioritize the most important issues thanks to its voting feature.
It is easy to use - just login with GitHub.

Also, if this issue is a bug, please consider sending a PR with a fix.
We're a small team and rely on the community for bug fixes of issues that don't affect fb apps.

@charpeni
Copy link
Contributor

@facebook-github-bot close

@facebook-github-bot
Copy link
Contributor

@charpeni tells me to close this issue. If you think it should still be opened let us know why.

@facebook-github-bot facebook-github-bot added Ran Commands One of our bots successfully processed a command. Icebox labels Nov 14, 2016
@facebook facebook locked as resolved and limited conversation to collaborators May 24, 2018
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Jul 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Ran Commands One of our bots successfully processed a command. Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

8 participants