We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I try to install primeng in angular app created in angular cli 17.0. However, the following error displayed.
npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: [email protected] npm ERR! Found: @angular/[email protected] npm ERR! node_modules/@angular/common npm ERR! @angular/common@"^17.0.0" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer @angular/common@"^16.2.0" from [email protected] 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. npm ERR!
Angular CLI: 17.0.0 Node: 18.17.1 Package Manager: npm 9.6.2 OS: win32 x64
Angular: 17.0.1 ... animations, common, compiler, compiler-cli, core, forms ... platform-browser, platform-browser-dynamic, router
@angular-devkit/architect 0.1700.0 @angular-devkit/build-angular 17.0.0 @angular-devkit/core 17.0.0 @angular-devkit/schematics 17.0.0 @angular/cli 17.0.0 @schematics/angular 17.0.0 rxjs 7.8.1 typescript 5.2.2 zone.js 0.14.2
No response
17.0.0
16.7.2
Angular CLI App
TypeScript
18.17.1
Chrome 90
Execute the follow command npm install -g @angular/cli npm update -g @angular/cli ng new AngularWebApp --style scss --standalone false --ssr false --routing true" npm install PrimeNg
Install success
The text was updated successfully, but these errors were encountered:
See #14063.
Sorry, something went wrong.
Hi,
This issue is fixed and Angular17 support provided with PrimeNG v17
No branches or pull requests
Describe the bug
I try to install primeng in angular app created in angular cli 17.0. However, the following error displayed.
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: [email protected]
npm ERR! Found: @angular/[email protected]
npm ERR! node_modules/@angular/common
npm ERR! @angular/common@"^17.0.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer @angular/common@"^16.2.0" from [email protected]
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.
npm ERR!
Environment
Angular CLI: 17.0.0
Node: 18.17.1
Package Manager: npm 9.6.2
OS: win32 x64
Angular: 17.0.1
... animations, common, compiler, compiler-cli, core, forms
... platform-browser, platform-browser-dynamic, router
Package Version
@angular-devkit/architect 0.1700.0
@angular-devkit/build-angular 17.0.0
@angular-devkit/core 17.0.0
@angular-devkit/schematics 17.0.0
@angular/cli 17.0.0
@schematics/angular 17.0.0
rxjs 7.8.1
typescript 5.2.2
zone.js 0.14.2
Reproducer
No response
Angular version
17.0.0
PrimeNG version
16.7.2
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
18.17.1
Browser(s)
Chrome 90
Steps to reproduce the behavior
Execute the follow command
npm install -g @angular/cli
npm update -g @angular/cli
ng new AngularWebApp --style scss --standalone false --ssr false --routing true"
npm install PrimeNg
Expected behavior
Install success
The text was updated successfully, but these errors were encountered: