PrimeNG v12.0.1 UMD file has styleUrls which causes an error when using systemjs

UI Components for Angular
Post Reply
krupa.sodha
Posts: 2
Joined: 29 Sep 2021, 13:34

30 Sep 2021, 15:55

Hello

I am upgrading PrimeNG in my project from version 7.1.1 to version 12. I use systemjs module loader and Angular12.

After upgrading to primeng12, I get errors for loading primeng modules css files on application load.

Unhandled Promise rejection : Failed to load tree.css ; Zone: <root> ; Task: Promise.then ; Value: failed to load tree.css: undefined


The problem here looks like , UMD file of PrimeNG module now has styleUrls: ['./[name].css'], which causes Angular to load these css as localhost:9000/[name].css and it fails

[Issue Details][https://githubmemory.com/repo/primeface ... sues/10457]

Can you please guide any workaround or systemjs configuration I can make to fix the error

ppiatek
Posts: 5
Joined: 10 Nov 2021, 12:58

22 Nov 2021, 13:40

Hi, have you found solution of it?
I have the same or similar problem: https://stackoverflow.com/questions/699 ... -multisele

Post Reply

Return to “PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 7 guests