Skip to main content
1 de 4

error al crear un nuevo proyecto de angular (es la primera ves que publico)

saben porque me da este error al crear una nueva app en angular?. busque por todos lados y no se a que se debe el error, estoy usando Debian por si es que influye en algo?. Ya probe con "npm cache clean" y me da el mismo error.

⠹ Installing packages (npm)...npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: [email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/typescript
npm ERR!   peer typescript@"~4.0.0 || ~4.1.0" from @angular-devkit/[email protected]
npm ERR!   node_modules/@angular-devkit/build-angular
npm ERR!   peer typescript@">=4.0 <4.2" from @angular/[email protected]
npm ERR!   node_modules/@angular/compiler-cli
npm ERR!     peer @angular/compiler-cli@"^11.0.0 || ^11.1.0-next" from @angular-devkit/[email protected]
npm ERR!     node_modules/@angular-devkit/build-angular
npm ERR!     peer @angular/compiler-cli@"11.1.1" from @angular/[email protected]
npm ERR!     node_modules/@angular/localize
npm ERR!       peerOptional @angular/localize@"^11.0.0 || ^11.1.0-next" from @angular-devkit/[email protected]
npm ERR!       node_modules/@angular-devkit/build-angular
npm ERR!     1 more (ng-packagr)
npm ERR!   1 more (ng-packagr)
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer typescript@"~3.9.5" from [email protected]
npm ERR! node_modules/tsickle
npm ERR!   peerOptional tsickle@"~0.39.0" from [email protected]
npm ERR!   node_modules/ng-packagr
npm ERR!     peerOptional ng-packagr@"^11.0.0 || ^11.1.0-next" from @angular-devkit/[email protected]
npm ERR!     node_modules/@angular-devkit/build-angular
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! See /home/juan/.npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/juan/.npm/_logs/2021-01-31T02_36_35_925Z-debug.log
✖ Package install failed, see above.
The Schematic workflow failed. See above.