Description
Describe the bug
End To End tests doesn't seem to work
Did you try recovering your dependencies?
Yes
Which terms did you search for in User Guide?
I just read the Readme file which suggests yarn e2e:docker
to run end to end tests.
Environment
Environment Info:
current version of create-react-app: 3.4.1
running from /home/random/.npm/_npx/30653/lib/node_modules/create-react-app
System:
OS: Linux 4.19 Debian GNU/Linux 10 (buster) 10 (buster)
CPU: (8) x64 Intel(R) Xeon(R) CPU E5-2623 v3 @ 3.00GHz
Binaries:
Node: 10.19.0 - ~/.nvm/versions/node/v10.19.0/bin/node
Yarn: 1.22.5 - /usr/bin/yarn
npm: 6.14.8 - ~/.nvm/versions/node/v10.19.0/bin/npm
Browsers:
Chrome: 85.0.4183.121
Firefox: 81.0
npmPackages:
react: Not Found
react-dom: Not Found
react-scripts: Not Found
npmGlobalPackages:
create-react-app: Not Found
Steps to reproduce
(Write your steps here:)
- Clone the repo:
git clone
- Move to the projects folder
cd create-react-app
- Run end to end tests:
yarn e2e:docker
Expected behavior
Tests should pass
Actual behavior
Some tests fails:
Failed to compile.
../cra-template/template/src/index.js
Module not found: You attempted to import /home/node/create-react-app/packages/react-dev-utils/refreshOverlayInterop.js which falls outside of the project src/ directory. Relative imports outside of src/ are not supported.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
++ set +x
e2e-simple.sh: ERROR! An error was encountered executing line 139.
Cleaning up.
yarn config v1.22.4
success Set "registry" to "https://registry.yarnpkg.com".
Done in 0.04s.
Exiting with error.
✘ Job failed
Reproducible demo
See the Steps to reproduce section