Page 1 of 1

primeng latest version

Posted: 12 Jun 2023, 15:31
by kevinbryan
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.

Re: primeng latest version

Posted: 13 Jun 2023, 11:10
by gucal
Hi,

PrimeNG 16 released. Now available.

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

Best Regards

Re: primeng latest version

Posted: 13 Jun 2023, 21:00
by kevinbryan
Thanks, Its Working.

Re: primeng latest version

Posted: 12 Sep 2023, 11:40
by celinecdd
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