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

Testcafe 7.3.2 requires Node 20.x #8390

Open
thierryandreys opened this issue Feb 27, 2025 · 1 comment
Open

Testcafe 7.3.2 requires Node 20.x #8390

thierryandreys opened this issue Feb 27, 2025 · 1 comment
Labels
STATE: Need clarification An issue lacks information for further research. TYPE: bug The described behavior is considered as wrong (bug).

Comments

@thierryandreys
Copy link

What is your Scenario?

Change in testcafe-hammerhead on lru-cache package has changed the minimum required version of NodeJS for Testcafe to 20.x.
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: '[email protected]',
npm WARN EBADENGINE required: { node: '20 || >=22' },
npm WARN EBADENGINE current: { node: 'v18.20.6', npm: '10.2.1' }
npm WARN EBADENGINE }

What is the Current behavior?

fail to install

What is the Expected behavior?

installation under Node 18 successful

What is the public URL of the test page? (attach your complete example)

no

What is your TestCafe test code?

no code

Your complete configuration file

No response

Your complete test report

No response

Screenshots

No response

Steps to Reproduce

  1. Node 18 latest version installed
  2. run npm install testcafe@latest

TestCafe version

3.7.2

Node.js version

v18.20.6

Command-line arguments

Browser name(s) and version(s)

No response

Platform(s) and version(s)

No response

Other

No response

@thierryandreys thierryandreys added the TYPE: bug The described behavior is considered as wrong (bug). label Feb 27, 2025
@testcafe-need-response-bot testcafe-need-response-bot bot added the STATE: Need response An issue that requires a response or attention from the team. label Feb 27, 2025
@aleks-pro
Copy link
Contributor

Hello @thierryandreys ,

Thank you for reporting the issue. I reproduced it.

The previous lru-cache package version should work fine with testcafe in most cases. So, as a workaround, you can pin the lru-chache package version or testcafe. To do this, add an overrides section to your package.json file.

Please let us know if this workaround meets your requirements.

NOTE: according to the Node team's release schedule, version 18 will meet its end of life in April 2025. So, TestCafe will discontinue official support for this NodeJS version as well.

@testcafe-need-response-bot testcafe-need-response-bot bot removed the STATE: Need response An issue that requires a response or attention from the team. label Feb 28, 2025
@aleks-pro aleks-pro added the STATE: Need clarification An issue lacks information for further research. label Feb 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
STATE: Need clarification An issue lacks information for further research. TYPE: bug The described behavior is considered as wrong (bug).
Projects
None yet
Development

No branches or pull requests

2 participants