powerful-orange-86819
06/02/2022, 11:35 AMwonderful-wire-43244
06/02/2022, 11:50 AMwonderful-match-15836
06/02/2022, 12:24 PMchilly-wire-18703
06/02/2022, 12:31 PMcypress.config.ts
) is invalid because ERR_REQUIRE_ESM
. My package.json
has { type: "module" }
. Is there something I need to do to tell Cypress I'm using ESM?chilly-wire-18703
06/02/2022, 12:41 PMwonderful-match-15836
06/02/2022, 12:49 PMchilly-wire-18703
06/02/2022, 12:49 PMchilly-wire-18703
06/02/2022, 12:51 PMchilly-wire-18703
06/02/2022, 12:51 PMgray-easter-54566
06/02/2022, 2:00 PMfaint-fountain-74551
06/02/2022, 3:37 PMgray-kilobyte-89541
06/02/2022, 4:01 PMcolossal-car-14055
06/02/2022, 6:04 PMastonishing-city-18705
06/02/2022, 6:25 PMnarrow-lamp-40218
06/02/2022, 6:27 PMnarrow-lamp-40218
06/02/2022, 6:29 PMable-family-92006
06/02/2022, 7:14 PMcypress.config.ts
and there is no cypress.json
in a codebase.
https://github.com/laststance/nsx/runs/6714339952?check_suite_focus=true#step:6:129mysterious-sandwich-43667
06/02/2022, 7:20 PMastonishing-city-18705
06/02/2022, 8:58 PMfull-ram-6858
06/02/2022, 11:07 PMfull-ram-6858
06/02/2022, 11:08 PMfull-ram-6858
06/03/2022, 12:20 AMchilly-wire-18703
06/03/2022, 1:07 AMError [ERR_REQUIRE_ESM]: require() of ES Module cypress.config.js
https://github.com/cypress-io/cypress/issues/22038#issuecomment-1145433804
I am now having this issue:
TypeError [ERR_UNKNOWN_FILE_EXTENSION]: Unknown file extension ".ts" for cypress.config.ts
https://github.com/cypress-io/cypress/issues/21997#issue-1256410391
just fyi because both got closed and locked but there may be more that needs fixingchilly-wire-18703
06/03/2022, 2:13 AMmysterious-sandwich-43667
06/03/2022, 2:19 AMfull-ram-6858
06/03/2022, 12:00 PMchilly-wire-18703
06/03/2022, 12:45 PMaloof-balloon-7570
06/03/2022, 1:00 PMechoing-painting-40909
06/03/2022, 1:03 PMit's not working
is far from being an explanation.
What happened? What did you do to make it occur? What's the current behavior? What's your expectation?wonderful-match-15836
06/03/2022, 1:09 PM