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
Browserify error when trying to build bundle with react-router v1.0.0-rc2 #2195
Comments
Quick workaround, although not ideal, is to locally install |
I have the same issue: https://dl.dropboxusercontent.com/u/1893981/react-router%20issue.mov |
+1 with webpack :-/ |
+1 |
3 similar comments
+1 |
+1 |
+1 |
+1 |
1 similar comment
+1 |
Same issue with webpack |
+1 with webpack |
we hear you, working to get it fixed :) |
+1 with webpack |
1 similar comment
+1 with webpack |
as @musbaig mentioned the quick workaround for now is to:
|
Is this caused by npm/npm#9894? The .tgz in the npm registry contains a node_modules/history directory: http://registry.npmjs.org/react-router/-/react-router-1.0.0-rc2.tgz |
@insin clubuttic |
npm/npm#9894 has nothing to do with this, BTW. |
Bah, bad release. Sorry everyone.
|
No worries. Great work, by the way! |
Looking into this now. I'll have an rc3 out shortly that fixes this issue. |
Updating the history to 1.12.3 in package.json for react-router solved my problem however, I'm getting this now, using React 0.14 and rc2:
|
Are you sure, @taion? If npm is bundling a (potentially) older version of the |
Huh. I don't know, then. Maybe it's also possible that this could cause CI issues, since nested dependencies also get pulled in? I guess I assumed it wouldn't cause issues because it doesn't seem like anybody's noticed issues other than with |
I'm seeing some bizarre behavior here that I believe is related to npm/npm#9894. On 7c15589 (current master):
So our If I remove the
Now, the The temporary workaround here for me I think is to publish an rc3 that doesn't include any |
This is an awful workaround, but you can also downgrade to npm2, and make sure you never run ETA: It's awful because it's liable to break again the next time |
You could also put |
That's a great idea, @taion. I'll do that for now. |
If I'll ever need npm master I'll message @taion 😄 |
WHY ON GOD'S GREEN EARTH DOES NPM RUN PREPUBLISH WHEN I RUN NPM INSTALL 😫 related: npm/npm#3059 |
I did mention that caveat:
I can't really think of anything better. I don't know if you can fix this in |
I think I'm just going to fix this in the release script. If I |
Related, I think I'm just going to stop using |
👍 I think The release script definitely looks like the best way to go, though. Sorry about that. |
No problem, @taion. Your discovery of npm/npm#9894 proved invaluable in finding the root cause of this issue, so thank you for that ;) |
Ok, just released rc3 which fixes this issue. Everything seems ok:
Please open another issue if you're still having problems. |
Works beautifully. Thanks so much for the super quick turnaround on this! 👏 |
👍 |
Awesome guys, thank you for the timely fix. Great work!! |
Thank you guys for your reactivity !! |
Good news! npm/fstream-npm#15 |
The text was updated successfully, but these errors were encountered: