You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I try to build with --minifyjs, it also emits circular relations error like this. The minifyjs option includes the mangling by uglifyjs. I think the TypeORM is not safe about this mangling process. But the mangling process in Ionic is default. Ionic itself includes this mangling process in production build process with --prod option.
ERROR Error: Uncaught (in promise): CircularRelationsError: Circular relations detected: e -> t -> e. To resolve this issue you need to set nullable: false somewhere in this dependency structure.
CircularRelationsError: Circular relations detected: e -> t -> e. To resolve this issue you need to set nullable: false somewhere in this dependency structure.
at new t (vendor.js:1)
at e.validateDependencies (vendor.js:1)
at e.validateMany (vendor.js:1)
at e.buildMetadatas (vendor.js:1)
at e. (vendor.js:1)
at vendor.js:1
at Object.next (vendor.js:1)
at s (vendor.js:1)
at t.invoke (polyfills.js:3)
at Object.onInvoke (vendor.js:1)
at new t (vendor.js:1)
at e.validateDependencies (vendor.js:1)
at e.validateMany (vendor.js:1)
at e.buildMetadatas (vendor.js:1)
at e. (vendor.js:1)
at vendor.js:1
at Object.next (vendor.js:1)
at s (vendor.js:1)
at t.invoke (polyfills.js:3)
at Object.onInvoke (vendor.js:1)
at c (polyfills.js:3)
at polyfills.js:3
at polyfills.js:3
at t.invoke (polyfills.js:3)
at Object.onInvoke (vendor.js:1)
at t.invoke (polyfills.js:3)
at r.run (polyfills.js:3)
at polyfills.js:3
at t.invokeTask (polyfills.js:3)
at Object.onInvokeTask (vendor.js:1)
The text was updated successfully, but these errors were encountered:
By this mention, typeorm/typeorm#2597, if to prevent mangling as the limitation of TypeORM usage in Ionic is correct, please add this limitation to document. thank you.
When I try to build with --minifyjs, it also emits circular relations error like this. The minifyjs option includes the mangling by uglifyjs. I think the TypeORM is not safe about this mangling process. But the mangling process in Ionic is default. Ionic itself includes this mangling process in production build process with --prod option.
ERROR Error: Uncaught (in promise): CircularRelationsError: Circular relations detected: e -> t -> e. To resolve this issue you need to set nullable: false somewhere in this dependency structure.
CircularRelationsError: Circular relations detected: e -> t -> e. To resolve this issue you need to set nullable: false somewhere in this dependency structure.
at new t (vendor.js:1)
at e.validateDependencies (vendor.js:1)
at e.validateMany (vendor.js:1)
at e.buildMetadatas (vendor.js:1)
at e. (vendor.js:1)
at vendor.js:1
at Object.next (vendor.js:1)
at s (vendor.js:1)
at t.invoke (polyfills.js:3)
at Object.onInvoke (vendor.js:1)
at new t (vendor.js:1)
at e.validateDependencies (vendor.js:1)
at e.validateMany (vendor.js:1)
at e.buildMetadatas (vendor.js:1)
at e. (vendor.js:1)
at vendor.js:1
at Object.next (vendor.js:1)
at s (vendor.js:1)
at t.invoke (polyfills.js:3)
at Object.onInvoke (vendor.js:1)
at c (polyfills.js:3)
at polyfills.js:3
at polyfills.js:3
at t.invoke (polyfills.js:3)
at Object.onInvoke (vendor.js:1)
at t.invoke (polyfills.js:3)
at r.run (polyfills.js:3)
at polyfills.js:3
at t.invokeTask (polyfills.js:3)
at Object.onInvokeTask (vendor.js:1)
The text was updated successfully, but these errors were encountered: