-
-
Notifications
You must be signed in to change notification settings - Fork 55
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: Couldn't find preset "latest" relative to directory #429
Comments
I'm not certain, since I don't use React Native myself, but I've heard that there are some issues with I'll update this and do a release tonight. @PolGuixe , I'll ping you when that's done, then you can do a test? How's that sound? |
@jmeas I can test it. 😉 |
Didn't have time to do this tonight, but i will first this tomorrow AM! Sorry for the delay @PolGuixe |
Hmmm, you know what, I was being silly – most folks will want the I'm not sure how React Native usually works – I guess it has its own compiler that either is not Babel, or uses Babel under the hood? Perhaps it'd be better to just add a note in the README letting folks know that to use this with React Native, you'll need to delete the generated |
@jmeas I don't understand. Is the Sorry, I don't really understand the fix... Basically is ignoring the |
@PolGuixe , From what I'm seeing in other OS projects, it is possible that React Native does not use Babel to compile the JavaScript, and, in fact, explodes if a
Yes, this is the fix, as I understand it, for React Native projects only. But this would break non-React Native projects, because they must be compiled by Babel, and consequently, need a
Ignoring I've never used React Native, so my knowledge of Does that make sense? 🤔 The tl;dr fix for React Native projects right now would be:
and that should work, based on what I've read in other issues. But, again, since I don't use React Native, nor know much about it, I'm making an educated guess here. |
@jmeas many thanks for the clarification. I'll keep investigating. I would like to use the package on both: react-native and non react-native. |
I am trying to use a package I've created -https://github.com/Zetoff/zetoff-js-helpers-, however when installing it in a project.
I am getting this error:
Any idea why it's happening?
The text was updated successfully, but these errors were encountered: