primeng latest version

UI Components for Angular
Post Reply
kevinbryan
Posts: 2
Joined: 12 Jun 2023, 15:24

12 Jun 2023, 15:31

I had installed angular using ng new testproject.
changed directory to testproject.
run the command npm install primeng

i get the following error.

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: testproject@0.0.0
npm ERR! Found: @angular/common@16.0.5
npm ERR! node_modules/@angular/common
npm ERR! @angular/common@"^16.0.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer @angular/common@"^14.0.0" from primeng@14.2.8-lts
npm ERR! node_modules/primeng
npm ERR! primeng@"*" from the root project

does primeng support only angular14xxx. Should i wait for the new release to support angular 16x. thank you.

gucal
Posts: 50
Joined: 06 Sep 2022, 08:45

13 Jun 2023, 11:10

Hi,

PrimeNG 16 released. Now available.

https://www.npmjs.com/package/primeng

Best Regards
Aliriza Gucal
PrimeNG Core Developer

kevinbryan
Posts: 2
Joined: 12 Jun 2023, 15:24

13 Jun 2023, 21:00

Thanks, Its Working.

celinecdd
Posts: 1
Joined: 12 Sep 2023, 11:34

12 Sep 2023, 11:40

If you can't find a compatible version of PrimeNG for Angular 16, consider downgradingdriving directions your Angular project to version 14 if it's feasible for your application. You can do this using the following command:

ng update @angular/cli@14.0.0

Post Reply

Return to “PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 4 guests