Description
Describe the bug
React-Scripts crashes on building an react project.
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:)
- Bump up node version to 17.0.1
- 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
[-]URGENT: webpack crashes on Node 17[/-][+]Webpack crashes on Node 17[/+]pakoito commentedon Oct 29, 2021
Reproducible demo
https://github.com/pakoito/buildmancer
When using Node 17+
yarn start
HADMARINE commentedon Oct 29, 2021
https://github.com/webpack/webpack/releases/tag/v5.61.0
Resolved version of Webpack released
Update package.json
HADMARINE commentedon Nov 1, 2021
Related issue to #11562 , closing this ticket.