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

Support node >= 18.19 for --import support on nodejs #1050

Closed
dodtsair opened this issue May 14, 2024 · 2 comments · Fixed by #1098
Closed

Support node >= 18.19 for --import support on nodejs #1050

dodtsair opened this issue May 14, 2024 · 2 comments · Fixed by #1098

Comments

@dodtsair
Copy link

With node 18.19 nodejs modified the deprecated --loader support and changed it to --import. This is often used as a way for security scanning software to scan the runtime for vulnerable software see contrast: https://www.npmjs.com/package/@contrast/agent

The old --loader mechanism breaks the nextjs framework. It can't handle files without extensions next vs next.js.

Upgrading to the lastest node v18 will bring in support for import which does not have this limitation

@MikeMcC399
Copy link
Collaborator

@MikeMcC399
Copy link
Collaborator

The following Cypress Docker images based on Node.js 18.20.3 have been released and are available on Cypress at Docker Hub:

Repository Tag
cypress/base cypress/base:18.20.3
cypress/browsers cypress/browsers:node-18.20.3-chrome-125.0.6422.141-1-ff-126.0.1-edge-125.0.2535.85-1
cypress/included cypress/included:cypress-13.11.0-node-18.20.3-chrome-125.0.6422.141-1-ff-126.0.1-edge-125.0.2535.85-1

Closing this request as resolved.

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