You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
dheeraj20-bot opened this issue
Aug 26, 2024
· 3 comments
Labels
adaptersChanges related to the core code concerning database adaptersbugSomething isn't workingtriageUnseen or unconfirmed by a maintainer yet. Provide extra information in the meantime.
I'm encountering a dependency conflict when trying to install the @auth/firebase-adapter package alongside [email protected]. The @auth/firebase-adapter package requires firebase-admin@^11.4.1, which is incompatible with the installed version (12.4.0). This results in an ERESOLVE error, making it impossible to resolve the dependency tree.
Operating System :- Windows 11
node Version :- 20.12.2
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: @0.1.0
npm ERR! Found: [email protected]
npm ERR! node_modules/firebase-admin
npm ERR! firebase-admin@"^12.4.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer firebase-admin@"^11.4.1" from @auth/[email protected]
npm ERR! node_modules/@auth/firebase-adapter
npm ERR! @auth/firebase-adapter@"*" 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.
How to reproduce
npm install @auth/firebase-adapter
Expected Behavior:
The @auth/firebase-adapter package should be compatible with the latest version of firebase-admin (v12.x.x) or provide guidance on how to resolve the conflict.
Actual Behavior:
The installation fails with the following error:
Expected behavior
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: @0.1.0
npm ERR! Found: [email protected]
npm ERR! node_modules/firebase-admin
npm ERR! firebase-admin@"^12.4.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer firebase-admin@"^11.4.1" from @auth/[email protected]
npm ERR! node_modules/@auth/firebase-adapter
npm ERR! @auth/firebase-adapter@"*" 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.
The text was updated successfully, but these errors were encountered:
dheeraj20-bot
added
adapters
Changes related to the core code concerning database adapters
bug
Something isn't working
triage
Unseen or unconfirmed by a maintainer yet. Provide extra information in the meantime.
labels
Aug 26, 2024
adaptersChanges related to the core code concerning database adaptersbugSomething isn't workingtriageUnseen or unconfirmed by a maintainer yet. Provide extra information in the meantime.
Adapter type
@auth/firebase-adapter
Environment
@radix-ui/react-aspect-ratio": "^1.1.0",
"@radix-ui/react-avatar": "^1.1.0",
"@radix-ui/react-dropdown-menu": "^2.1.1",
"@radix-ui/react-slot": "^1.1.0",
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.1",
"firebase": "^10.13.0",
"lucide-react": "^0.435.0",
"next": "14.2.6",
"next-auth": "^4.24.7",
"next-themes": "^0.3.0",
"react": "^18",
"react-dom": "^18",
"tailwind-merge": "^2.5.2",
"tailwindcss-animate": "^1.0.7"
Reproduction URL
https://github.com/dheeraj20-bot/translator-saas
Describe the issue
I'm encountering a dependency conflict when trying to install the @auth/firebase-adapter package alongside [email protected]. The @auth/firebase-adapter package requires firebase-admin@^11.4.1, which is incompatible with the installed version (12.4.0). This results in an ERESOLVE error, making it impossible to resolve the dependency tree.
Operating System :- Windows 11
node Version :- 20.12.2
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: @0.1.0
npm ERR! Found: [email protected]
npm ERR! node_modules/firebase-admin
npm ERR! firebase-admin@"^12.4.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer firebase-admin@"^11.4.1" from @auth/[email protected]
npm ERR! node_modules/@auth/firebase-adapter
npm ERR! @auth/firebase-adapter@"*" 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.
How to reproduce
Expected Behavior:
The @auth/firebase-adapter package should be compatible with the latest version of firebase-admin (v12.x.x) or provide guidance on how to resolve the conflict.
Actual Behavior:
The installation fails with the following error:
Expected behavior
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: @0.1.0
npm ERR! Found: [email protected]
npm ERR! node_modules/firebase-admin
npm ERR! firebase-admin@"^12.4.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer firebase-admin@"^11.4.1" from @auth/[email protected]
npm ERR! node_modules/@auth/firebase-adapter
npm ERR! @auth/firebase-adapter@"*" 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.
The text was updated successfully, but these errors were encountered: