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

Webpack crashes on Node 17 #11595

Closed
HADMARINE opened this issue Oct 29, 2021 · 3 comments
Closed

Webpack crashes on Node 17 #11595

HADMARINE opened this issue Oct 29, 2021 · 3 comments

Comments

@HADMARINE
Copy link
Contributor

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.)

@HADMARINE HADMARINE changed the title URGENT: webpack crashes on Node 17 Webpack crashes on Node 17 Oct 29, 2021
@pakoito
Copy link

pakoito commented Oct 29, 2021

Reproducible demo

https://github.com/pakoito/buildmancer

When using Node 17+
yarn start

@HADMARINE
Copy link
Contributor Author

HADMARINE commented Oct 29, 2021

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

Resolved version of Webpack released

HADMARINE added a commit to HADMARINE/create-react-app that referenced this issue Oct 29, 2021
Bump webpack version to 5.61.0
Resolution of facebook#11595
@HADMARINE
Copy link
Contributor 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
Projects
None yet
Development

No branches or pull requests

2 participants