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

Node v16.17.0 throws error when launching Cypress #23620

Closed
bennymeade opened this issue Aug 30, 2022 · 2 comments
Closed

Node v16.17.0 throws error when launching Cypress #23620

bennymeade opened this issue Aug 30, 2022 · 2 comments
Assignees

Comments

@bennymeade
Copy link

bennymeade commented Aug 30, 2022

Current behavior

Latest Node version 16.17.0 is causing this error:

Error [ERR_LOADER_CHAIN_INCOMPLETE]: "file:///home/runner/.cache/Cypress/10.6.0/Cypress/resources/app/node_modules/ts-node/esm/transpile-only.mjs 'resolve'" did not call the next hook in its chain and did not explicitly signal a short circuit. If this is intentional, include shortCircuit: true in the hook's return.
at new NodeError (node:internal/errors:387:5)
at ESMLoader.resolve (node:internal/modules/esm/loader:852:13)
at async ESMLoader.getModuleJob (node:internal/modules/esm/loader:431:7)
at async Promise.all (index 0)
at async ESMLoader.import (node:internal/modules/esm/loader:533:24)
at async loadESM (node:internal/process/esm_loader:91:5)
at async handleMainPromise (node:internal/modules/run_main:65:12) {
code: 'ERR_LOADER_CHAIN_INCOMPLETE'
}

Desired behavior

Works the same as the previous Node version 16.16.0

Test code to reproduce

Run Node v16.17.0

Cypress Version

10.6.0

Node version

16.17.0

Operating System

Linux in GH Actions

Debug Logs

No response

Other

No response

@bennymeade bennymeade changed the title Node v16.17.0 throws error Node v16.17.0 throws error when launching Cypress Aug 30, 2022
@AriPerkkio
Copy link

Same as #22795, see #22795 (comment).

@bennymeade
Copy link
Author

Closing as duplicate of #22795

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants