FortAwesome / angular-fontawesome

Official Angular component for Font Awesome 5+
https://fontawesome.com
MIT License
1.49k stars 152 forks source link

ngcc failed to run on @fortawesome/angular-fontawesome@0.9.0 in Stackblitz #323

Closed MurhafSousli closed 2 years ago

MurhafSousli commented 3 years ago

Describe the problem

Once I install @fortawesome/angular-fontawesome@0.9.0 in a new stackblitz it shows the following error

Error in ~/src/main.ts ngcc failed to run on @fortawesome/angular-fontawesome@0.9.0.

What did you expect?

I expect the stackblitz to work with the latest version 0.9.0

Reproducible test case

Just create a new stackblitz and install @fortawesome/angular-fontawesome@0.9.0, you will get the error, here is a reproduction: https://stackblitz.com/edit/angular-ivy-tktazp?file=src%2Fapp%2Fapp.module.ts

devoto13 commented 3 years ago

Given that that ngcc works locally with angular-fontawesome and that other libraries have the same issue on Stackblitz, the problem is likely on their side. Unfortunately, there is not much we can do here until Stackblitz produced a useful error message which we can act upon. I would suggest tracking https://github.com/stackblitz/core/issues/1364 for future updates from their side.

I'll keep this issue open as we should consider migration to another platform unless Stackblitz addresses the problem.