-
Notifications
You must be signed in to change notification settings - Fork 30
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
Make it working #5
Comments
I would love to use typeorm with react native. It does not work. |
@esutton it works. I use it. Do you have cyclic dependency error ? |
try this mohannad-mamo/typeorm-boilerplate#1 (comment) |
@skurgansky-sugarcrm Thank you! Works great! mohannad-mamo/typeorm-boilerplate#1 (comment) I could not get react-native-example to run on anything with or without metro-minify-terser https://github.com/sheva007/typeorm-boilerplate/ works on both Android and iOS. I cannot get an Android release build to work yet but this may be some kind of signing setup issue. I have hope with typeorm I can finally rid of realm js and regain use of Chrome debugging once again which realm js makes totally unusable. |
Hi! I am experiencing the same issue: typeorm/typeorm#4089 Would you have any further recommendations for me? I tried installing the minify-terser but this has no result |
@joris1995 |
you can also add console.log into react-native-terser and see if it is used. |
Sorry for my late response. In release mode on Android (only platform I'm building this app for, I already had native code for my iOS version) I get this error: I have been searching for a solution for this tirelessly, and I only stumble into some answers for other platforms, suggesting to edit the compiling/bundling settings. Not for react-native. Would you please give me any indication on how to solve this, or where to look for the error? In the console, it gives me a massive amount of cyclic dependency warnings (see screenshot) from inside of TypeORM, so I suspect it's an internal issue but I'm stuck looking for a solution. Is it my own Imports? is it inside TypeORM? any push in the right direction would be highly appreciated |
After struggling a lot, I've created a small tutorial on how to setup typeorm with latest react-native. |
Is not runnable in debug and release!
In release there is cyclic dependency issue with models
@OneToMany
&@ManyToOne
decoratorsThe text was updated successfully, but these errors were encountered: