#Needs some info on an error I keep getting on npm install

1 messages · Page 1 of 1 (latest)

shy snow
#

well the error that the npm i show is kinda confusing me with all this :

#

While resolving: [email protected]
Found: @angular/[email protected]
node_modules/@angular/common
@angular/common@"14.0.5" from the root project
peer @angular/common@"^14.0.0 || ^15.0.0" from @angular/[email protected]
node_modules/@angular/cdk
@angular/cdk@"^14.2.7" from the root project
peer @angular/cdk@"14.2.7" from @angular/[email protected]
node_modules/@angular/material
@angular/material@"^14.2.7" from the root project
peer @angular/cdk@">=14.1.0" from [email protected]
node_modules/ngx-scrollbar
ngx-scrollbar@"^10.0.1" from the root project
peer @angular/cdk@">=14.0.0" from [email protected]
node_modules/ng-gallery
ng-gallery@"^7.1.2" from the root project
peer @angular/common@"14.0.5" from @angular/[email protected]
node_modules/@angular/forms
@angular/forms@"14.0.5" from the root project
peer @angular/forms@"^14.0.0 || ^15.0.0" from @angular/[email protected]
node_modules/@angular/material
@angular/material@"^14.2.7" from the root project
peer @angular/forms@">=9.0.0" from [email protected]
node_modules/ngx-color-picker

#

ngx-color-picker@"^13.0.0" from the root project
peer @angular/common@"^14.0.0 || ^15.0.0" from @angular/[email protected]
node_modules/@angular/material
@angular/material@"^14.2.7" from the root project
peer @angular/common@"14.0.5" from @angular/[email protected]
node_modules/@angular/platform-browser
@angular/platform-browser@"14.0.5" from the root project
peer @angular/platform-browser@"14.0.5" from @angular/[email protected]
node_modules/@angular/forms
@angular/forms@"14.0.5" from the root project
peer @angular/forms@"^14.0.0 || ^15.0.0" from @angular/[email protected]
node_modules/@angular/material
@angular/material@"^14.2.7" from the root project
peer @angular/forms@">=9.0.0" from [email protected]
node_modules/ngx-color-picker
ngx-color-picker@"^13.0.0" from the root project
peer @angular/platform-browser@"^14.0.0 || ^15.0.0" from @angular/[email protected]
node_modules/@angular/material
@angular/material@"^14.2.7" from the root project
peer @angular/platform-browser@"14.0.5" from @angular/[email protected]
node_modules/@angular/platform-browser-dynamic
@angular/platform-browser-dynamic@"14.0.5" from the root project
peer @angular/platform-browser@"14.0.5" from @angular/[email protected]
node_modules/@angular/router
@angular/router@"14.0.5" from the root project

#

peer @angular/common@"14.0.5" from @angular/[email protected]
node_modules/@angular/platform-browser-dynamic
@angular/platform-browser-dynamic@"14.0.5" from the root project
peer @angular/common@"14.0.5" from @angular/[email protected]
node_modules/@angular/router
@angular/router@"14.0.5" from the root project
peer @angular/common@">=13.0.0" from @ngx-translate/[email protected]
node_modules/@ngx-translate/http-loader
@ngx-translate/http-loader@"^7.0.0" from the root project
peer @angular/common@">=11.0.0" from [email protected]
node_modules/ng2-charts
ng2-charts@"^3.0.0-rc.7" from the root project
peer @angular/common@">=14.0.0-0" from [email protected]
node_modules/ngx-color
ngx-color@"^8.0.3" from the root project
peer @angular/common@">=9.0.0" from [email protected]
node_modules/ngx-color-picker
ngx-color-picker@"^13.0.0" from the root project
peer @angular/common@"^14.0.0" from [email protected]
node_modules/ngx-spinner
ngx-spinner@"^14.0.0" from the root project
peer @angular/common@">=14.0.0" from [email protected]
node_modules/ng-gallery
ng-gallery@"^7.1.2" from the root project

#

Could not resolve dependency:
peer @angular/common@">=14.1.0" from [email protected]
node_modules/ngx-scrollbar
ngx-scrollbar@"^10.0.1" from the root project

Conflicting peer dependency: @angular/[email protected]
node_modules/@angular/common
peer @angular/common@">=14.1.0" from [email protected]
node_modules/ngx-scrollbar
ngx-scrollbar@"^10.0.1" from the root project

Fix the upstream dependency conflict, or retry
this command with --force or --legacy-peer-deps
to accept an incorrect (and potentially broken) dependency resolution.

sturdy sentinel