Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rodrigocnascimento/4b71d39fcb3cf13946e86ec02b0fc7f7 to your computer and use it in GitHub Desktop.
Save rodrigocnascimento/4b71d39fcb3cf13946e86ec02b0fc7f7 to your computer and use it in GitHub Desktop.
npm resolution error report
# npm resolution error report
2021-06-12T12:51:44.021Z
While resolving: angular-material-admin@1.0.5
Found: rxjs@7.0.0
node_modules/rxjs
rxjs@"7.0.0" from the root project
Could not resolve dependency:
peer rxjs@"^6.5.3" from @angular/core@11.2.14
node_modules/@angular/core
@angular/core@"~11.2.13" from the root project
peer @angular/core@"11.2.14" from @angular/common@11.2.14
node_modules/@angular/common
@angular/common@"~11.2.13" 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.
Raw JSON explanation object:
{
"code": "ERESOLVE",
"current": {
"name": "rxjs",
"version": "7.0.0",
"whileInstalling": {
"name": "angular-material-admin",
"version": "1.0.5",
"path": "/home/rodrigo/code/crypto-board/webapp"
},
"location": "node_modules/rxjs",
"isWorkspace": false,
"dependents": [
{
"type": "prod",
"name": "rxjs",
"spec": "7.0.0",
"from": {
"location": "/home/rodrigo/code/crypto-board/webapp"
}
}
]
},
"currentEdge": {
"type": "prod",
"name": "rxjs",
"spec": "7.0.0",
"from": {
"location": "/home/rodrigo/code/crypto-board/webapp"
}
},
"edge": {
"type": "peer",
"name": "rxjs",
"spec": "^6.5.3",
"error": "INVALID",
"from": {
"name": "@angular/core",
"version": "11.2.14",
"whileInstalling": {
"name": "angular-material-admin",
"version": "1.0.5",
"path": "/home/rodrigo/code/crypto-board/webapp"
},
"location": "node_modules/@angular/core",
"isWorkspace": false,
"dependents": [
{
"type": "prod",
"name": "@angular/core",
"spec": "~11.2.13",
"from": {
"location": "/home/rodrigo/code/crypto-board/webapp"
}
},
{
"type": "peer",
"name": "@angular/core",
"spec": "11.2.14",
"from": {
"name": "@angular/common",
"version": "11.2.14",
"whileInstalling": {
"name": "angular-material-admin",
"version": "1.0.5",
"path": "/home/rodrigo/code/crypto-board/webapp"
},
"location": "node_modules/@angular/common",
"isWorkspace": false,
"dependents": [
{
"type": "prod",
"name": "@angular/common",
"spec": "~11.2.13",
"from": {
"location": "/home/rodrigo/code/crypto-board/webapp"
}
}
]
}
}
]
}
},
"peerConflict": null,
"strictPeerDeps": false,
"force": false
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment