Describe the bug
I want to use fixed version of react scripts (4.0.3) but overlay with build errors doesnt work with that version. After a lot of research i found that "react-dev-utils" dependency has "react-error-overlay": "^6.0.9" and because of "^" sign it installs latest "react-error-overlay" version (6.0.11). And im not really sure, but something is wrong or incompatible with "react scripts" 4.0.3 version, and when i manually downgrade "react-error-overlay" to 6.0.9 as it supposed to be, everything works well.
Did you try recovering your dependencies?
Yes, i did npm install --force and also removed node modules with lock file and reinstalled it
Environment
current version of create-react-app: 5.0.1
running from /home/ilya/.npm/_npx/37944/lib/node_modules/create-react-app
System:
OS: Linux 5.4 Ubuntu 20.04.4 LTS (Focal Fossa)
CPU: (8) x64 Intel(R) Core(TM) i7-9700K CPU @ 3.60GHz
Binaries:
Node: 14.18.3 - ~/.nvm/versions/node/v14.18.3/bin/node
Yarn: 1.22.17 - /usr/bin/yarn
npm: 6.14.15 - ~/.nvm/versions/node/v14.18.3/bin/npm
Browsers:
Chrome: 101.0.4951.64
Firefox: 100.0.2
npmPackages:
react: ^16.13.1 => 16.14.0
react-dom: ^16.13.1 => 16.14.0
react-scripts: 4.0.3 => 4.0.3
npmGlobalPackages:
create-react-app: Not Found
Steps to reproduce
- Install react-scripts 4.0.3 version
- Go to package-lock
- Find "react-error-overlay"
- See that
"version": "6.0.11"
Expected behavior
The version is supposed to be 6.0.9 as it declared in "react-dev-utils" or you needed to create major update for "react-error-overlay" because it doesnt work with "react-scripts" <5 versions
Reproducible demo
Reproduction repo
Describe the bug
I want to use fixed version of react scripts (4.0.3) but overlay with build errors doesnt work with that version. After a lot of research i found that "react-dev-utils" dependency has
"react-error-overlay": "^6.0.9"and because of "^" sign it installs latest "react-error-overlay" version (6.0.11). And im not really sure, but something is wrong or incompatible with "react scripts" 4.0.3 version, and when i manually downgrade "react-error-overlay" to 6.0.9 as it supposed to be, everything works well.Did you try recovering your dependencies?
Yes, i did npm install --force and also removed node modules with lock file and reinstalled it
Environment
Steps to reproduce
"version": "6.0.11"Expected behavior
The version is supposed to be 6.0.9 as it declared in "react-dev-utils" or you needed to create major update for "react-error-overlay" because it doesnt work with "react-scripts" <5 versions
Reproducible demo
Reproduction repo