-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Open
Labels
Description
Description
In the migration notes for cypress v15, it is mentioned that it works on node v20+, but trying to run cypress v15.0.0
with older node v20 will fail at startup with variations of Your configFile is invalid
and
import { defineConfig } from 'cypress';
^^^^^^
SyntaxError: Cannot use import statement outside a module
From node v20.6.0
onwards, the issue is fixed.
Obviously nobody would run a version of node that's over 2 years old, but filing this just in case someone else gets stuck trying to work this out 😅
With cypress v14.x, there was no issue.