我有my-package
它@angular/common@"^12.2.6"
作为对等依赖项和根项目也有@angular/common@"^12.2.6"
作为依赖项,但是npm install
给了我这个错误:
npm ERR!
npm ERR! Conflicting peer dependency: @angular/common@12.2.10
npm ERR! node_modules/@angular/common
npm ERR! peer @angular/common@"^12.2.6" from my-package@2.1.3
npm ERR! node_modules/pi-diagram
npm ERR! my-package@"2.1.3" from the root project
npm ERR!
不12.2.10
符合^12.2.6
规范?