facebook / create-react-app

Set up a modern web app by running one command.
https://create-react-app.dev
MIT License
102.72k stars 26.85k forks source link

Bump react-scripts from 3.4.3 to 4.0.1 Fails #10332

Open single-stop-justin opened 3 years ago

single-stop-justin commented 3 years ago

Describe the bug

image image

(Write your answer here.) Version 4.0.1 is broken:

(Write your answer here.)

Which terms did you search for in User Guide?

The change log in the dependabot PR

(Write your answer here if relevant.)

Environment

run yarn build (paste the output of the command here.) confidential...

Steps to reproduce

Upgrade to 4.0.1, run your existing react scripts (i.e. yarn start, yarn build, etc.)

(Write your steps here:)

  1. Install new dependancy 4.0.1
  2. Run existing scripts
  3. Errors, but I can't seem to find guidance on breaking changes image

Expected behavior

(Write what you thought would happen.)

(Write what happened. Please add screenshots!)

Reproducible demo

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

shoedog commented 3 years ago

@single-stop-justin you may need to try this with 4.0.0 before 4.0.1.

The breaking changes and detailed change log are are listed here: https://github.com/facebook/create-react-app/releases/tag/v4.0.0

single-stop-justin commented 3 years ago

Thank you very much @shoedog !