mfrachet / cypress-audit

⚡ Run Lighthouse and Pa11y audits directly in your E2E test suites
https://mfrachet.github.io/cypress-audit/
MIT License
352 stars 43 forks source link

cy.task('lighthouse') failed with the following error: > Unexpected token '??=' #229

Open AneleAndrew opened 1 year ago

AneleAndrew commented 1 year ago

cy.task('lighthouse') failed with the following error:

Unexpected token '??='

basiaBB commented 1 year ago

Hi, I have the same issue using node with 14.17.4 version. Switching to 16.20.1 fixed the issue.

ZhouYou528 commented 1 year ago

I have same issue using node 18.17.0