firebaseui-web icon indicating copy to clipboard operation
firebaseui-web copied to clipboard

firebaseuihandler README installation instructions produce error

Open maucaro opened this issue 1 year ago • 0 comments
trafficstars

[REQUIRED] Describe your environment

  • Operating System version: macOS 14.4.1
  • Browser version: Chrome 124.0.6367.119
  • Firebase UI version: 6.1.0
  • Firebase SDK version: 13.8.0

[REQUIRED] Describe the problem

If one installs the dependencies according to the README, the following error happens when installing gcip-iap: npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: undefined@undefined npm ERR! Found: [email protected] npm ERR! node_modules/firebase npm ERR! firebase@"^10.11.1" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer firebase@"^9.8.3" from [email protected] npm ERR! node_modules/gcip-iap npm ERR! gcip-iap@"*" 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.

Steps to reproduce:

$ npm install firebase --save $ npm install firebaseui --save $ npm install gcip-iap --save

This can be fixed by NOT installing firebase, as gcip-iap will install the correct (compat) version

maucaro avatar May 04 '24 11:05 maucaro