Skip to content

fix(platform-server): add missing peer dependency for rxjs#60308

Closed
devversion wants to merge 1 commit intoangular:mainfrom
devversion:platform-server-missing-dep
Closed

fix(platform-server): add missing peer dependency for rxjs#60308
devversion wants to merge 1 commit intoangular:mainfrom
devversion:platform-server-missing-dep

Conversation

@devversion
Copy link
Copy Markdown
Member

The server package imports from rxjs, but the dependency was not specified as peerDependency, nor dependency. This surfaces as an error in strict dependency environments, like with pnpm's symlinked node modules structure.

This commit fixes this. It presumably doesn't fail with e.g. Yarn, or npm because of node modules hoisting.

The server package imports from `rxjs`, but the dependency was not
specified as `peerDependency`, nor `dependency`. This surfaces as an
error in strict dependency environments, like with pnpm's symlinked node
modules structure.

This commit fixes this. It presumably doesn't fail with e.g. Yarn, or
npm because of node modules hoisting.
@devversion devversion added action: review The PR is still awaiting reviews from at least one requested reviewer target: patch This PR is targeted for the next patch release labels Mar 10, 2025
@angular-robot angular-robot bot added the area: server Issues related to server-side rendering label Mar 10, 2025
@ngbot ngbot bot added this to the Backlog milestone Mar 10, 2025
Copy link
Copy Markdown
Member

@josephperrott josephperrott left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@devversion devversion added action: merge The PR is ready for merge by the caretaker and removed action: review The PR is still awaiting reviews from at least one requested reviewer labels Mar 10, 2025
@AndrewKushnir
Copy link
Copy Markdown
Contributor

This PR was merged into the repository by commit 0cff9a1.

The changes were merged into the following branches: main, 19.2.x

AndrewKushnir pushed a commit that referenced this pull request Mar 10, 2025
The server package imports from `rxjs`, but the dependency was not
specified as `peerDependency`, nor `dependency`. This surfaces as an
error in strict dependency environments, like with pnpm's symlinked node
modules structure.

This commit fixes this. It presumably doesn't fail with e.g. Yarn, or
npm because of node modules hoisting.

PR Close #60308
@angular-automatic-lock-bot
Copy link
Copy Markdown

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Apr 10, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: merge The PR is ready for merge by the caretaker area: server Issues related to server-side rendering target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants