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

Docker End To End tests error #9738

Closed
notaphplover opened this issue Oct 1, 2020 · 2 comments
Closed

Docker End To End tests error #9738

notaphplover opened this issue Oct 1, 2020 · 2 comments

Comments

@notaphplover
Copy link

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

  1. Clone the repo:
git clone
  1. Move to the projects folder
cd create-react-app
  1. 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

@Krivega
Copy link

Krivega commented Oct 22, 2020

refreshOverlayInterop is missing in the latest release react-dev-utils@10.2.1
https://github.com/facebook/create-react-app/tree/react-dev-utils%4010.2.1/packages/react-dev-utils

@ianschmitz
Copy link
Contributor

ianschmitz commented Oct 26, 2020

This was fixed in #9805.

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

3 participants