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

Can't install 1.2.4 version as it has pnpm specified to veriosn 7 #1712

Closed
4 tasks done
n0r8 opened this issue Aug 25, 2023 · 2 comments · Fixed by #1713
Closed
4 tasks done

Can't install 1.2.4 version as it has pnpm specified to veriosn 7 #1712

n0r8 opened this issue Aug 25, 2023 · 2 comments · Fixed by #1713
Assignees
Labels
bug Something isn't working

Comments

@n0r8
Copy link

n0r8 commented Aug 25, 2023

Prerequisites

Environment check

  • I'm using the latest msw version
  • I'm using Node.js version 14 or higher

Node.js version

16.16.0

Reproduction repository

c0cec11

Reproduction steps

use pnpm 8+
try to install package

Current behavior

This error happened while installing a direct dependency of bla

Your pnpm version is incompatible with "msw/1.2.4".

Expected version: ~7.12
Got: 8.3.0

This is happening because the package's manifest has an engines.pnpm field specified.
To fix this issue, install the required pnpm version globally.

Expected behavior

Should be possible to install the package.

@n0r8 n0r8 added bug Something isn't working needs:triage Issues that have not been investigated yet. scope:node Related to MSW running in Node labels Aug 25, 2023
@kettanaito
Copy link
Member

Hu, @n0r8. Thanks for reporting this.

This issue is caused by #1676, which was meant for contributors but leaks to consumers also. It shouldn't be this way and we should fix it.

@kettanaito kettanaito self-assigned this Aug 25, 2023
@kettanaito kettanaito removed scope:node Related to MSW running in Node needs:triage Issues that have not been investigated yet. labels Aug 25, 2023
@kettanaito
Copy link
Member

Released: v1.2.5 🎉

This has been released in v1.2.5!

Make sure to always update to the latest version (npm i msw@latest) to get the newest features and bug fixes.


Predictable release automation by @ossjs/release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants