Hola buenas estoy intentando instalar npm i primeng me sale este error al momento de instalar
Tengo angular la versión Angular CLI: 14.2.12
Node: 20.11.1 (Unsupported)
Package Manager: npm 10.2.4
OS: win32 x64
PS D:\MIS\Front> npm i primeng
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@"^14.2.5" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer @angular/common@"^17.0.0 || ^18.0.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!
npm ERR!
npm ERR! For a full report see:
npm ERR! C:\Users\TPFLE002\AppData\Local\npm-cache\_logs\2024-12-02T21_33_49_297Z-eresolve-report.txt
npm ERR! A complete log of this run can be found in: C:\Users\TPFLE002\AppData\Local\npm-cache\_logs\2024-12-02T21_33_49_297Z-debug-0.log
PS D:\MIS\Front>
npm i primeng@14
npm fund
for details 33 vulnerabilities (4 low, 13 moderate, 12 high, 4 critical) To address issues that do not require attention, run: npm audit fix To address all issues (including breaking changes), run: npm audit fix --force Runnpm audit
for details.