Skip to content
This repository was archived by the owner on Apr 24, 2026. It is now read-only.
This repository was archived by the owner on Apr 24, 2026. It is now read-only.

Make it working #5

Open
Open

Description

@skurgansky-sugarcrm

Is not runnable in debug and release!
In release there is cyclic dependency issue with models @OneToMany & @ManyToOne decorators

Activity

  1. esutton commented on Apr 12, 2019

    @esutton

    I would love to use typeorm with react native. It does not work.

  2. skurgansky-sugarcrm commented on Apr 12, 2019

    @skurgansky-sugarcrm
    Author

    @esutton it works. I use it. Do you have cyclic dependency error ?

  3. skurgansky-sugarcrm commented on Apr 12, 2019

    @skurgansky-sugarcrm
    Author
  4. esutton commented on Apr 12, 2019

    @esutton

    @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.

  5. joris1995 commented on May 5, 2019

    @joris1995

    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

  6. skurgansky-sugarcrm commented on May 10, 2019

    @skurgansky-sugarcrm
    Author

    @joris1995
    it might have no results because of wrong config or old react-native module version. They added configurable option recently if im not wrong.
    try this steps: mohannad-mamo/typeorm-boilerplate#1 (comment)

  7. skurgansky-sugarcrm commented on May 10, 2019

    @skurgansky-sugarcrm
    Author

    you can also add console.log into react-native-terser and see if it is used.

  8. joris1995 commented on Jun 6, 2019

    @joris1995

    Sorry for my late response.
    I did get it working using this. My Database and app work pretty good in debug mode. I really appreciate this repo 😁.

    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: Error: Cyclic dependencyL "t"

    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
    Schermafbeelding 2019-06-06 om 23 10 55

  9. vinipachecov commented on May 30, 2020

    @vinipachecov

    After struggling a lot, I've created a small tutorial on how to setup typeorm with latest react-native.

    React-Native and TypeORM setup

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions