Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing Peer Dependencies for Firebase 9 Beta #4799

Closed
lschmierer opened this issue Apr 16, 2021 · 5 comments
Closed

Missing Peer Dependencies for Firebase 9 Beta #4799

lschmierer opened this issue Apr 16, 2021 · 5 comments
Assignees

Comments

@lschmierer
Copy link

[REQUIRED] Describe your environment

  • Operating System version: Windows 10 Pro (Build 19042), Node 14, NPM 6
  • Browser version: n/a
  • Firebase SDK version: 9.0.0-beta.1
  • Firebase Product: all

[REQUIRED] Describe the problem

Steps to reproduce:

npm i [email protected]

npm WARN @firebase/firestore-compat@0.0.900-exp.894b5da5a requires a peer of @firebase/app@0.x but none is installed. You must install peer dependencies yourself.
npm WARN @firebase/storage-compat@0.0.900-exp.894b5da5a requires a peer of @firebase/app@0.x but none is installed. You must install peer dependencies yourself.
npm WARN @firebase/database-compat@0.0.900-exp.894b5da5a requires a peer of @firebase/app@0.x but none is installed. You must install peer dependencies yourself.
npm WARN @firebase/storage-types@0.4.0 requires a peer of @firebase/util@1.x but none is installed. You must install peer dependencies yourself.
@google-oss-bot
Copy link
Contributor

I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.

@looptheloop88
Copy link

Hi @lschmierer, thanks for the report. I was able to replicate the issue using SDK version 9.0.0-beta.1.

This issue has been raised and discussed with the team. I will keep this thread posted for any updates.

@akauppi
Copy link

akauppi commented Apr 16, 2021

Isn’t this a duplicate of #4789 - only mentioning that it also affects 9 beta.

@lschmierer
Copy link
Author

lschmierer commented Apr 16, 2021

@akauppi #4789 has an incorrect dependency warning while this is about missing missing peer dependencies.
#4789 appears to happen on npm@7 while this is on npm@6.

Npm@7 automatically installs peer dependencies while npm@6 doesn’t.

@Feiyang1
Copy link
Member

The warnings should be gone in 9.0.0-beta.2.

@firebase firebase locked and limited conversation to collaborators Jun 13, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants