Skip to content
New issue

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

PrimeNg did not support Angular 17 #14076

Closed
pctimhk opened this issue Nov 9, 2023 · 2 comments
Closed

PrimeNg did not support Angular 17 #14076

pctimhk opened this issue Nov 9, 2023 · 2 comments
Labels
Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible

Comments

@pctimhk
Copy link

pctimhk commented Nov 9, 2023

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

@pctimhk pctimhk added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Nov 9, 2023
@JHarrisGTI
Copy link

See #14063.

@cetincakiroglu
Copy link
Contributor

Hi,

This issue is fixed and Angular17 support provided with PrimeNG v17

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
Projects
None yet
Development

No branches or pull requests

3 participants