Skip to content

Peer dependency problem #53

@melroy89

Description

@melroy89

Since npm v7 npm install fails due to an incorrect peer dependency on your project with @angular/common.

Error message:

npm ERR! While resolving: erp.js@0.1.0
npm ERR! Found: @angular/common@16.0.2
npm ERR! node_modules/@angular/common
npm ERR!   @angular/common@"^16.0.2" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer @angular/common@"^9.0.2" from @oasisdigital/angular-material-search-select@1.1.1
npm ERR! node_modules/@oasisdigital/angular-material-search-select
npm ERR!   @oasisdigital/angular-material-search-select@"^1.1.1" 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! 

Please, try to resolve this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions