-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Labels
Description
Describe the bug
Issue
There is an upstream conflict when pulling in the latest @loopback/authentication @ v12.0,0, when used alongside @loopback/core @ v7.0.0
npm version 10.8.2 + node 20.18.1
Reproduction
Use below package.json in a fresh directory and install.
{
"name": "test",
"dependencies": {
"@loopback/authentication": "^12.0.0",
"@loopback/core": "^7.0.0"
}
}
Logs
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: test@undefined
npm error Found: @loopback/core@7.0.0
npm error node_modules/@loopback/core
npm error @loopback/core@"^7.0.0" from the root project
npm error
npm error Could not resolve dependency:
npm error peer @loopback/core@"^6.0.0" from @loopback/authentication@12.0.0
npm error node_modules/@loopback/authentication
npm error @loopback/authentication@"^12.0.0" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.Additional information
No response
Reproduction
provided in description
Reactions are currently unavailable