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

Regression: pnpm installs incorrect dependency #5412

Closed
andershessellund opened this issue Sep 26, 2022 · 0 comments · Fixed by #5442
Closed

Regression: pnpm installs incorrect dependency #5412

andershessellund opened this issue Sep 26, 2022 · 0 comments · Fixed by #5442
Assignees
Milestone

Comments

@andershessellund
Copy link

pnpm version: 7.12.2

This is a regression, the bug is not present in 7.10.0.

Code to reproduce the issue:

I have the following package.json:

{
  "dependencies": {
    "rxjs": "6.6.7",
    "tslib": "2.4.0",
    "typescript": "4.6.4"
  },
  "devDependencies": {
    "jest-preset-angular": "12.0.1"
  }
}

I have auto-install-peers=true in .npmrc.

Expected behavior:

I would expect pnpm to install version 6.6.7 of rxjs, since this version is specified in package.json and also satisfies all nested peer dependencies.

Actual behavior:

pnpm installs version 7.5.7 of rxjs. No warnings.

Additional information:

  • node -v prints: v18.8.0
  • Windows, macOS, or Linux?: macOS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants