-
Notifications
You must be signed in to change notification settings - Fork 24
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 "module:metro-react-native-babel-preset" #6
Comments
Hi @apppro123 First: Can you clarify what are "different files"? Also since Vasern is a local storage itself, I am confused about "the local storage" that you mentioned? Are you trying to sync data with an existing local storage? (It'd be great if you can provide a specific example) Sure you can store and get objects with Vasern at any time. Though it needs a schema and might need to convert the format between 2 local storage. Second: There are a few things need to be clean up in the "package.json". I'll have a look and push a fix (hopefully within today) |
I have pushed a fix (clean up dependencies) 9b73f9b You can remove and reinstall the lastest version (0.2.9) to apply changes |
At the moment i get this issue (after updating): |
It might related to this issue facebook/react-native#21241 (comment). There are also severals fixes in the same topic |
After i deleted .babelrc it build it but on the screen it shows another error related to Document.js for example the last line Document.import(Queryable); |
After i removed this line (line 538 in Document.js) it worked (i can now import Vasern from "vasern") |
Vasern has a modular architecture (basically it was built in different parts and then plug in together). When you removed Can you help me to clarify things below?
Once you complete, start your project and see if the error is still there. If it does, then go to the next step.
Create a {
"presets": ["module:metro-react-native-babel-preset"]
} Let me know how it goes! |
Now it works (after i updatet react-native and babel). |
Great! |
Ok, thank you! |
No worries, I'm glad it helps! Since you have solved the problem by update react-native and babel. I'll go ahead and close this issue. Feel free to reopen or create another issue :) |
Yes, perfect ty! |
First: Can i store/get objects with vasern in/from the local storage at any time over the different files?
And second: Why is there a second react-native module in vasern installed (i have already installed react native normally!)? I have the problem that i cannot run it with two of them!
And when i delete react-native there is another issue about babel!
The text was updated successfully, but these errors were encountered: