René's URL Explorer Experiment


Title: fix(core): drop vestigial @angular/platform-browser-dynamic peer by armando-navarro · Pull Request #3718 · angular/angularfire · GitHub

Open Graph Title: fix(core): drop vestigial @angular/platform-browser-dynamic peer by armando-navarro · Pull Request #3718 · angular/angularfire

X Title: fix(core): drop vestigial @angular/platform-browser-dynamic peer by armando-navarro · Pull Request #3718 · angular/angularfire

Description: ng add @angular/fire fails with npm error ERESOLVE on Angular >= 20.1 apps (#3667). Cause @angular/fire declares a required peer on @angular/platform-browser-dynamic (^20.0.0 on the v20 line, ^21.0.0 on main). Every platform-browser-dynamic patch release requires the exact @angular/core and @angular/common version matching its own patch (for example, platform-browser-dynamic@20.1.7 declares @angular/core@20.1.7). To satisfy that wide peer range, npm picks some platform-browser-dynamic patch, and that patch in turn requires the exact @angular/core and @angular/common version matching itself (per point 2). That required version usually differs from the core/common the app already has installed, so npm cannot satisfy both at once and the install aborts with ERESOLVE. The reporter's tree pulled in platform-browser-dynamic@20.1.7, which demanded core@20.1.7 while their app had core@20.1.6; a pristine Angular 20 app hits the same conflict through 20.0.7. Why removing the peer is safe Nothing in the published package imports platform-browser-dynamic. The unpacked @angular/fire@20.0.1 and @21.0.0-rc.0 tarballs contain zero references outside the peer declaration itself (checked fesm2022/*.mjs, all .d.ts, and schematics/). The repository's only usage is the Karma test bootstrap (src/test.ts), which is supplied by the repository's root package.json and is unaffected. Apps that still bootstrap with platformBrowserDynamic() get the package from their own dependencies, never from this peer. Angular deprecated platform-browser-dynamic as of 20.1; the peer currently forces a deprecated package into every consumer install. Alternative considered: marking the peer optional in peerDependenciesMeta (the pattern this manifest already uses for firebase-tools and @angular/platform-server). That would also avoid the ERESOLVE on npm, but it keeps advertising a dependency relationship that does not exist, and the fix would then depend on npm-specific resolver behavior. Removal fixes every package manager. There is precedent for removing unneeded peers outright (#2095). Verification: built the package from this branch and installed the packed tarball into a fresh Angular 21 app: the install succeeds with no ERESOLVE, and platform-browser-dynamic is absent from the dependency tree. A control install of the currently published package into the same app pulls in the deprecated platform-browser-dynamic@21.2.18. Angular 20 users get this fix through the planned 20.0.2 patch release, which cherry-picks this commit together with the already-merged config generation fix (#3707). Refs #3667 (left open deliberately: the reporters there are on the v20 line, so the issue will be closed manually once 20.0.2 ships this fix to npm latest).

Open Graph Description: ng add @angular/fire fails with npm error ERESOLVE on Angular >= 20.1 apps (#3667). Cause @angular/fire declares a required peer on @angular/platform-browser-dynamic (^20.0.0 on the v20 line, ^...

X Description: ng add @angular/fire fails with npm error ERESOLVE on Angular >= 20.1 apps (#3667). Cause @angular/fire declares a required peer on @angular/platform-browser-dynamic (^20.0.0 on the v20 lin...

Opengraph URL: https://github.com/angular/angularfire/pull/3718

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:d6f3a6ef-fd8c-c02b-56c8-adc0ffdcf275
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idBB32:3CD7D9:1BCC4DD:247CB22:6A5C8680
html-safe-noncea8390fa24dcdb6d90f34c977cabb0352d33d23b6d5893c44ac38904c2ef06d02
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQjMyOjNDRDdEOToxQkNDNEREOjI0N0NCMjI6NkE1Qzg2ODAiLCJ2aXNpdG9yX2lkIjoiNjU4NzA4NDMwNDQ4NDY5NzcyOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac5d7b1029bd60823f66c668e0baf62045bb951d23e0633e86ca6ab9fd294b481b
hovercard-subject-tagpull_request:4081579392
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/angular/angularfire/pull/3718/files
twitter:imagehttps://avatars.githubusercontent.com/u/13904589?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/13904589?s=400&v=4
og:image:altng add @angular/fire fails with npm error ERESOLVE on Angular >= 20.1 apps (#3667). Cause @angular/fire declares a required peer on @angular/platform-browser-dynamic (^20.0.0 on the v20 line, ^...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/angular/angularfire git https://github.com/angular/angularfire.git
octolytics-dimension-user_id139426
octolytics-dimension-user_loginangular
octolytics-dimension-repository_id49453413
octolytics-dimension-repository_nwoangular/angularfire
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id49453413
octolytics-dimension-repository_network_root_nwoangular/angularfire
turbo-body-classeslogged-out env-production page-responsive
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release9c975978430e9ad293956f2bbdaf153b1bd84a99
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/angular/angularfire/pull/3718/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangularfire%2Fpull%2F3718%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangularfire%2Fpull%2F3718%2Ffiles
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=angular%2Fangularfire
Reloadhttps://github.com/angular/angularfire/pull/3718/files
Reloadhttps://github.com/angular/angularfire/pull/3718/files
Reloadhttps://github.com/angular/angularfire/pull/3718/files
Please reload this pagehttps://github.com/angular/angularfire/pull/3718/files
angular https://github.com/angular
angularfirehttps://github.com/angular/angularfire
Notifications https://github.com/login?return_to=%2Fangular%2Fangularfire
Fork 2.2k https://github.com/login?return_to=%2Fangular%2Fangularfire
Star 7.8k https://github.com/login?return_to=%2Fangular%2Fangularfire
Code https://github.com/angular/angularfire
Issues 294 https://github.com/angular/angularfire/issues
Pull requests 21 https://github.com/angular/angularfire/pulls
Discussions https://github.com/angular/angularfire/discussions
Actions https://github.com/angular/angularfire/actions
Projects https://github.com/angular/angularfire/projects
Security and quality 0 https://github.com/angular/angularfire/security
Insights https://github.com/angular/angularfire/pulse
Code https://github.com/angular/angularfire
Issues https://github.com/angular/angularfire/issues
Pull requests https://github.com/angular/angularfire/pulls
Discussions https://github.com/angular/angularfire/discussions
Actions https://github.com/angular/angularfire/actions
Projects https://github.com/angular/angularfire/projects
Security and quality https://github.com/angular/angularfire/security
Insights https://github.com/angular/angularfire/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fangular%2Fangularfire%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fangular%2Fangularfire%2Fissues%2Fnew%2Fchoose
armando-navarrohttps://github.com/armando-navarro
angular:mainhttps://github.com/angular/angularfire/tree/main
armando-navarro:a12-drop-pbd-peerhttps://github.com/armando-navarro/angularfire/tree/a12-drop-pbd-peer
Conversation 0 https://github.com/angular/angularfire/pull/3718
Commits 1 https://github.com/angular/angularfire/pull/3718/commits
Checks 24 https://github.com/angular/angularfire/pull/3718/checks
Files changed 1 https://github.com/angular/angularfire/pull/3718/files
fix(core): drop vestigial @angular/platform-browser-dynamic peer https://github.com/angular/angularfire/pull/3718/files#top
Show all changes 1 commit https://github.com/angular/angularfire/pull/3718/files
39e0fbd fix(core): drop vestigial @angular/platform-browser-dynamic peer armando-navarro Jul 18, 2026 https://github.com/angular/angularfire/pull/3718/commits/39e0fbdd4fd6a015e92a09853e71268da8eb3a76
Clear filters https://github.com/angular/angularfire/pull/3718/files
Please reload this pagehttps://github.com/angular/angularfire/pull/3718/files
Please reload this pagehttps://github.com/angular/angularfire/pull/3718/files
src/package.jsonhttps://github.com/angular/angularfire/pull/3718/files#diff-cc5a2f170768969f124108ad3be7fdbcbed774c11774d99a87a3a78fef4ab97b
View file https://github.com/angular/angularfire/blob/39e0fbdd4fd6a015e92a09853e71268da8eb3a76/src/package.json
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/angular/angularfire/pull/3718/{{ revealButtonHref }}
https://github.com/angular/angularfire/pull/3718/files#diff-cc5a2f170768969f124108ad3be7fdbcbed774c11774d99a87a3a78fef4ab97b
https://github.com/angular/angularfire/pull/3718/files#diff-cc5a2f170768969f124108ad3be7fdbcbed774c11774d99a87a3a78fef4ab97b
Please reload this pagehttps://github.com/angular/angularfire/pull/3718/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.