-
Notifications
You must be signed in to change notification settings - Fork 378
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
Doesn't provide peer deps when using Yarn v2 #973
Comments
Temporary fix is to use the "@firebase/[email protected]":
peerDependencies:
"@firebase/app-types": "0.x"
"@firebase/[email protected]":
peerDependencies:
"@firebase/app-types": "0.x"
"@firebase/util": "0.x" Once I did that, I got a warning about
So, I added that to the [email protected]:
dependencies:
"@firebase/app-types": "0.x" And it looks fine now. |
None of the above action items can be addressed in this repo. Is there anything that needs to be done in this codebase? @Feiyang1 what do you think of the above? |
We can fix every package except for I'm pondering if we should add The downside is admin SDK users will start seeing #614 again. Maybe we should talk about creating a |
@hiranya911 @Feiyang1 Any update on this yet? I'm still seeing these warnings... |
Seems still not fixed yet. Using pnpm here. |
Will this be addressed? |
So when I install the latest version of
Is anyone seeing additional warnings about additional packages? I just want to make sure I have a full list of the problem packages to fix, and the specific packages the warnings are about seem to have changed since the original 2020 post at the top. In addition to spot-fixing any problem packages, we're also looking into a more comprehensive solution to prevent issues like this in the future. Note to self: The warning above can be fixed by removing the |
any updates on this? |
[REQUIRED] Describe your environment
[REQUIRED] Describe the problem
This doesn't support Yarn v2 because some of the
@firebase
packages don't provide their dependent's peer dependencies (e.g.@firebase/auth
doesn't provide@firebase/util
which is requested by@firebase/auth-types
).You should:
@firebase/app-types
as a peer dependency to@firebase/database
and@firebase/auth
@firebase/util
as a peer dependency to@firebase/auth
Steps to reproduce:
develop
and fetch the latest changes:@firebase/database
and@firebase/auth
not providing their dependency's peer dependencies:The text was updated successfully, but these errors were encountered: