connect-session-firebase icon indicating copy to clipboard operation
connect-session-firebase copied to clipboard

Can't install

Open acoyfellow opened this issue 4 years ago • 1 comments

I typically use this library. Running into issues right now. running npm install firebase-admin connect-session-firebase --save yields:

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: [email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/firebase-admin
npm ERR!   firebase-admin@"^9.5.0" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer firebase-admin@"~5.13.0" from [email protected]
npm ERR! node_modules/connect-session-firebase
npm ERR!   connect-session-firebase@"^5.13.0" 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.
npm ERR! 
npm ERR! See /root/.npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2021-03-21T14_24_06_501Z-debug.log

acoyfellow avatar Mar 21 '21 14:03 acoyfellow

as suggested, npm i --legacy-peer-deps resolves, but how can we solve the reccomended install option?

acoyfellow avatar Mar 21 '21 14:03 acoyfellow

as suggested, npm i --legacy-peer-deps resolves, but how can we solve the reccomended install option?

This doesn't fix the issue in my case https://github.com/firebase/firebase-admin-node/issues/1915

fnisarm avatar Oct 08 '22 08:10 fnisarm

@acoyfellow @fnisarm apologies for not noticing this issue earlier. I have cleaned up the package dependencies plus other tooling, and published 11.0.0 to npm. This version now expects any [email protected] peer

benweier avatar Mar 06 '23 02:03 benweier