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

Update webpack version / pnpm compatibility #11480

Closed
icecream17 opened this issue Sep 24, 2021 · 1 comment
Closed

Update webpack version / pnpm compatibility #11480

icecream17 opened this issue Sep 24, 2021 · 1 comment

Comments

@icecream17
Copy link

Describe the bug

The webpack version is outdated, it's on 5.41.1: webpack/webpack#5087 (comment)

There's a bug in webpack that was fixed in 5.51.0, which allows compatibility with pnpm: https://github.com/webpack/webpack/releases/tag/v5.51.0

Unfortunately when forcing version 5.51.0 I get this message
image

Did you try recovering your dependencies?

N/A

Which terms did you search for in User Guide?

N/A

Environment

lol

'create-react-app' is not recognized as an internal or external command,
operable program or batch file.

Steps to reproduce

(Write your steps here:)

  1. Delete package-lock.json and node_modules
  2. Add this field to package.json:
    {
      "pnpm": {
        "overrides": {
          "webpack": "^5.51.0"
        }
      }
    }
  3. npm install -g pnpm if you don't have pnpm
  4. pnpm install

Expected behavior

Works

Actual behavior

Webpack version seems to be pinned. So now there's this message.

Reproducible demo

https://github.com/icecream17/my-ts-app...
But then do steps 2, 3, and 4

(Paste the link to an example project and exact instructions to reproduce the issue.)

@icecream17
Copy link
Author

fixed by #11474

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant