-
Notifications
You must be signed in to change notification settings - Fork 115
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
Unknown plugin transform-runtime
#24
Comments
Thank you for opening the issue. Sorry for the delay, I was on a trip for a couple of weeks. I tried to reproduce your issue but I'm having trouble. It seems like Babel is trying to compile the library files, even though it's been already compiled? The
I just updated redux-orm-primer with the latest version of
Do you get an error? |
Thank you very much, and I hope your trip was great.
hmm, I have 1 thing I can imagine. Probably, this is because I'm using And your redux-orm-primer works well. Thank you very much and it's very good to know for me. |
Hey @otiai10 what did you do to get orm working with react-native? I cant seem to get past these same babel errors |
I am not familiar with Babel, so still struggling here. |
@kevando Hi, how about it?
|
Please keep in mine that |
This issue is still occurring when using React Native with Expo. The above advice works for me on version 0.9.4. But later versions of redux-orm have a different Babel setup see PR #206. Therefore my advice is to look at the .babelrc file in /node_modules/redux-orm and install those plugins. |
Problem As Is
In project of usage side
Reason
It's because missing plugins (and presets as well) in node_modules of the project.
Of course it can be solved by hitting following command in the project of usage side.
Solution To Be
But, it's a bit weird for npm to describe the dependencies of library in the package.json of usage side.
So I think we should put these dependencies in
dependencies
field of package.json, not indevDependencies
. like thisThe text was updated successfully, but these errors were encountered: