Skip to content

Webpack crashes on Node 17 #11595

Description

@HADMARINE

Describe the bug

React-Scripts crashes on building an react project.

image

NOTE: There's an issue on webpack that crashes on NODE 17,
Regard this issue on webpack : Link

Did you try recovering your dependencies?

Tried, and it might not be a problem

Which terms did you search for in User Guide?

Environment

current version of create-react-app: 4.0.3
running from C:\Users\hadmarine\AppData\Local\npm-cache_npx\c67e74de0542c87c\node_modules\create-react-app

System:
OS: Windows 10 10.0.22000
CPU: (16) x64 AMD Ryzen 7 3800X 8-Core Processor
Binaries:
Node: 17.0.1 - C:\Program Files\nodejs\node.EXE
Yarn: 3.1.0 - ~\AppData\Roaming\npm\yarn.CMD
npm: 8.1.0 - C:\Program Files\nodejs\npm.CMD
Browsers:
Chrome: Not Found
Edge: Spartan (44.22000.120.0), Chromium (95.0.1020.30)
Internet Explorer: 11.0.22000.120
npmPackages:
react: ^17.0.2 => 17.0.2
react-dom: ^17.0.2 => 17.0.2
react-scripts: ^4.0.3 => 4.0.3
npmGlobalPackages:
create-react-app: Not Found

Steps to reproduce

(Write your steps here:)

  1. Bump up node version to 17.0.1
  2. build with react-scripts build

Expected behavior

Build succeed

Actual behavior

Build fails, as described on top

Reproducible demo

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

Activity

  1. changed the title [-]URGENT: webpack crashes on Node 17[/-] [+]Webpack crashes on Node 17[/+] on Oct 29, 2021
  2. pakoito commented on Oct 29, 2021

    @pakoito

    Reproducible demo

    https://github.com/pakoito/buildmancer

    When using Node 17+
    yarn start

  3. HADMARINE commented on Oct 29, 2021

    @HADMARINE
    Author

    https://github.com/webpack/webpack/releases/tag/v5.61.0

    Resolved version of Webpack released

  4. added a commit that references this issue on Oct 29, 2021
  5. HADMARINE commented on Nov 1, 2021

    @HADMARINE
    Author

    Related issue to #11562 , closing this ticket.

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions