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.
primeng latest version
Aliriza Gucal
PrimeNG Core Developer
PrimeNG Core Developer
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
ng update @angular/cli@14.0.0
-
- Information
-
Who is online
Users browsing this forum: No registered users and 4 guests