angular icon indicating copy to clipboard operation
angular copied to clipboard

Ivy

Open merobal opened this issue 5 years ago • 15 comments
trafficstars

@travist I debugged the issue with Ivy today. The auth, manager, grid, and resource modules are packed individually but contain references for each other, eg. manager imports auth. Ivy detects the modules as standalone packages and tries to manage async, but it reaches auth through manager as well, then throws an error since there is a lock file indicates it already processing it. The solution would be re-structuring the lib to having only 1 entry point for each module for Ivy.

merobal avatar Mar 26 '20 19:03 merobal

Thanks for this @merobal! We will add this to our developer backlog.

travist avatar Mar 26 '20 20:03 travist

Do you have any update/plans related to Ivy?

merobal avatar Apr 27 '20 09:04 merobal

This item has been resourced. We will let you know once this has been resolved.

wag110894 avatar Apr 27 '20 13:04 wag110894

do you have any update?

merobal avatar May 28 '20 13:05 merobal

@merobal, thanks for reaching out. This item is on one of our developers list. We will let you know once this issue has been resolved.

wag110894 avatar May 28 '20 14:05 wag110894

couple of months later, any update on Ivy support?

chaixdev avatar Oct 21 '20 07:10 chaixdev

Hello @chaixdev, This item is still on our developer's list. We will let you know once this issue has been resolved.

wag110894 avatar Oct 21 '20 14:10 wag110894

Hello, sorry to bother you guys ... any update on Ivy support yet? Thanks!

arjel avatar Jan 20 '21 09:01 arjel

This maybe fixed with our latest upgrade @ @formio/angular repo. Have you tried that version @arjel?

travist avatar Jan 25 '21 16:01 travist

@travist I tried on v4.11.0 and still had problems. I can try to update/reinstall and see if it's ok. Thank you!

arjel avatar Jan 25 '21 16:01 arjel

Hey guys. Just found this issue. Just reporting that it is a major showstopper for us and a decision-maker or breaker when considering this library.

(Just mentioning because if I was maintaining then I'd like to know why people are using/non using my library)

RyanHow avatar Jun 02 '21 06:06 RyanHow

Hey, Just tried to upgrade to Angular 12, and we're now forced to use Ivy.... How far is the implementation of Ivy support @travist ?

When building our project we receive errors like:

Error: Tried to write C:/**/node_modules/angular-formio/formio.config.d.ts.__ivy_ngcc_bak with an ngcc back up file but it already exists so not writing, nor backing up, C:/**/node_modules/angular-formio/formio.config.d.ts.
This error may be caused by one of the following:
* two or more entry-points overlap and ngcc has been asked to process some files more than once.
  In this case, you should check other entry-points in this package
  and set up a config to ignore any that you are not using.
* a previous run of ngcc was killed in the middle of processing, in a way that cannot be recovered.
  In this case, you should try cleaning the node_modules directory and any dist directories that contain local libraries. Then try again.

Though the application builds and is able to run. Besides these errors we are experiencing problems with emitting updated data through the FormioBaseComponent.refresh event.

soltrifork avatar Jun 01 '22 11:06 soltrifork

@travist Has support for angular been dropped?

JonasDev17 avatar Apr 11 '23 11:04 JonasDev17

@JonasDev99 No. Are you receiving the above errors or just asking generally?

brendanbond avatar Apr 11 '23 15:04 brendanbond

Ticket for internal tracking: FIO-3190

daneformio avatar May 01 '24 13:05 daneformio