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

Upgrade react-redux to v.4.0.6 throw UnableToResolveError #33

Closed
thachp opened this issue Dec 30, 2015 · 5 comments
Closed

Upgrade react-redux to v.4.0.6 throw UnableToResolveError #33

thachp opened this issue Dec 30, 2015 · 5 comments

Comments

@thachp
Copy link

thachp commented Dec 30, 2015

Unable to upgrade react-redux to latest version.

Uncaught error Error: UnableToResolveError: Unable to resolve module react-redux/native.
Invalid directory /Users/node_modules/react-redux/native

Repro(s)
In package.json, change "react-redux": "^3.1.0" to "react-redux": "^4.0.5".
Click Build in XCode

screen shot 2015-12-29 at 1 49 03 pm

ENV

npm ERR! Darwin 15.0.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm"
npm ERR! node v4.2.1
npm ERR! npm  v2.14.7

Related to facebook/react-native#4062 and #32

@bartonhammond
Copy link
Owner

Note the docs on React-Redux https://github.com/rackt/react-redux#react-native - We have to stay on 3.x for the time being.

@yonahforst
Copy link

I'm getting the same error even on version "^3.1.0" after upgrading from snowflake "0.0.6" to "0.0.8" ( current master)

@bartonhammond
Copy link
Owner

It builds on a fresh install on my machine and it builds on the CI, Bitrise. I would confirm that your node_modules is actually at 3.1.0. You may have to delete the current node_modules/react-redux and reinstall it.

@yonahforst
Copy link

whoops! i had forgotten to restart the react packager. sorry about that.

@bartonhammond
Copy link
Owner

This is resolved

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

No branches or pull requests

3 participants