I'm new to PrimeNG, attempted to install in a clean new Angular 16.1.4 (--standalone) app:
Code: Select all
npm install primeng
Code: Select all
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: my-dream-team@0.0.0
npm ERR! Found: @angular/common@16.1.5
npm ERR! node_modules/@angular/common
npm ERR! @angular/common@"^16.1.0" from the root project
npm ERR!
npm ERR! peer @angular/common@"^15.2.1" from primeng@15.4.6-lts
npm ERR! node_modules/primeng
npm ERR! primeng@"*" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
Please advise: how to properly install for Angular?
Thanks!
Mor