Skip to content

Webpack crashes on Node 17 #11595

Closed
Closed
@HADMARINE

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

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

pakoito commented on Oct 29, 2021

@pakoito

Reproducible demo

https://github.com/pakoito/buildmancer

When using Node 17+
yarn start

HADMARINE

HADMARINE commented on Oct 29, 2021

@HADMARINE
ContributorAuthor
added a commit that references this issue on Oct 29, 2021
HADMARINE

HADMARINE commented on Nov 1, 2021

@HADMARINE
ContributorAuthor

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

        Participants

        @pakoito@HADMARINE

        Issue actions

          Webpack crashes on Node 17 · Issue #11595 · facebook/create-react-app