2

我有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规范?

4

0 回答 0