-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
redux-router 1.0.0beta5 introduces Error: Cannot find module 'invariant' #650
Comments
I updated node to 4.2.2 and npm to 3.5, reinstall everything to fix the problem. |
Having the same issue, node 4.2.2 and npm 2.14.7 |
Having the same issue, node v0.10.26 and npm v2.5.1 |
Just FYI: Please make sure that you are using (Before I had node v4.0.0 and npm v2.X - and had the issue described on top comment) |
I can verify that using npm3 fixes the issue. Per our package.json (https://github.com/erikras/react-redux-universal-hot-example/blob/master/package.json#L175) I've been running the Node 4.1.1 (which comes with npm 2.14.4). Unfortunately, our Travis tests are still passing since they don't run the webpack dev server. If we are now requiring npm3 we should make note of that in the README and add it to engines in package.json: Since this issue only affects development, Heroku deploys continue to work, but it would be wise to tell it to explicitly use npm3: https://devcenter.heroku.com/articles/nodejs-support#specifying-an-npm-version |
It seems that rackt is considering replacing redux-router with redux-simple-router which is I think is the right way to go for its simplicity and ease of use |
Cool, same issue for me - upgraded node and npm as suggested, removed node_modules prior to running "npm install" once more.... works! |
I tried npm@3. It's super slow :/ |
From my heroku deploy logs on startup:
Reverting back to 1.0.0-beta4 fixed the issue.
The text was updated successfully, but these errors were encountered: