-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
config file crashed in docker cypress/factory #28603
Comments
I did initially create this issue on the cypress-docker-image repo but as it does not seem to be related to the docker image itself, it is a Cypress issue. |
Yah, I've seen this error in situations where it's not really a configFile issue. It's a bit of a catch all sometimes. This one is weird. I'm not sure what's happening just looking at it. |
here are some interesting things I saw in the logs (if it can help)
|
This issue has not had any activity in 180 days. Cypress evolves quickly and the reported behavior should be tested on the latest version of Cypress to verify the behavior is still occurring. It will be closed in 14 days if no updates are provided. |
This issue has been closed due to inactivity. |
Current behavior
Hi,
I keep getting this error while running my custom pnpm command to run cypres tests.
Initially it was a
JavaScript heap out of memory
issue until a addedENV NODE_OPTIONS="--max_old_space_size=8192"
to my docker file, since then it crashes on the config file.some weird things I noticed while trying to debug the issue:
If you use
WORKDIR /opt/app
andCOPY. /opt/app
it does not crash, it only crashes withCOPY . .
It does not seem to be the config file itself as it works in most cases unless I have the provided docker config.
I tried with a simple Node image for instead of the
cypress/factory
but the issue remains the same.my whole docker file
Desired behavior
The tests should run without crashing with
COPY . .
Test code to reproduce
run cypress via my docker config and try to run tests.
Cypress Version
13.6.2
Node version
20.10.0
Operating System
github
Debug Logs
can't really add those as it contains sensitive work information
Other
No response
The text was updated successfully, but these errors were encountered: