-
Notifications
You must be signed in to change notification settings - Fork 200
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
Error trying to load babel plugin react-hot-loader/babel #15
Comments
good catch. I'll move the react-hot-loader dependency into my demo folder, that should help. gimme half an hour or so. Sorry for the trouble! |
I just installed it as a dep; easy work around :) |
looks like fixing this is going to take longer than I expected, unearthed a couple of other issues. cheers on the workaround, I'll fix this properly soon. |
I've rewritten dependencies etc, and published a fresh build. If and when you have the time, do try out 2.2.1 (without react-hot-loader in your deps). Cheers! |
You're a legend! Thank you. I'll try this tomorrow and close it for now. If I experience issues, I'll reopen. |
Does anyone have a resolution for this issue?
I'm running it with webpack
Here is my .babelrc
I'm guessing its a missing npm module but not sure which one. |
I had the same problem after upgrading to version 1.3.1. |
i had the same proble, the node_modules package don't have this file |
have this issue right now
Error
|
Install |
thanks @gaastonsr ! its work |
I installed using
--save
and you havereact-hot-loader
specified as a dev-dep. Unless I explicitly install it I get:I could be wrong but it seems that since I'm in "development" it seems your babel env config gets loaded, but since dev deps aren't installed, it can't find the plugin specified in there.
Not sure the best way to fix this without compromising dev ergonomics on your end. You could specify react-hot-loader as a standard dependency so that it's picked up in dev mode for consumers. Thoughts?
The text was updated successfully, but these errors were encountered: