primeng icon indicating copy to clipboard operation
primeng copied to clipboard

p-dropdown, p-calendar broken (Error: "[...] has not been processed correctly by ngcc")

Open fxmfr opened this issue 5 years ago • 1 comments

I'm submitting a ... (check one with "x")

[X] bug report => Search github for a similar issue or PR before submitting
[ ] feature request => Please check if request is not on the roadmap already https://github.com/primefaces/primeng/wiki/Roadmap
[ ] support request => Please do not submit support request here, instead see http://forum.primefaces.org/viewforum.php?f=35

Plunkr Case (Bug Reports) https://stackblitz.com/edit/angular-ivy-nudeak

Current behavior Importing DropdownModule results in the following error:

"Error in turbo_modules/[email protected]/dropdown/dropdown.d.ts (185:22) Appears in the NgModule.imports of AppModule, but could not be resolved to an NgModule class. This likely means that the dependency (primeng/dropdown) which declares DropdownModule has not been processed correctly by ngcc." image

CalendarModule is (and maybe other Modules are) affected as well.

Starting a new project with current versions produces the error "Error in ~/src/main.ts ngcc failed to run on [email protected].". image

Expected behavior No ngcc errors.

Minimal reproduction of the problem with instructions Run the stackblitz example above

What is the motivation / use case for changing the behavior? Be able to use the components

Please tell us about your environment: Windows, VS Code

  • Angular version: 11.2.5

  • PrimeNG version: 11.3.1

  • Browser: all

  • Language: all

  • Node (for AoT issues): node --version = 14.16.0

fxmfr avatar Mar 18 '21 14:03 fxmfr

This is an angular related issue (https://github.com/angular/angular/issues/41198) which has been fixed in 11.2.6.

fxmfr avatar Apr 29 '21 14:04 fxmfr