cypress-io / cypress

Fast, easy and reliable testing for anything that runs in a browser.
https://cypress.io
MIT License
47.07k stars 3.19k forks source link

Cypress fails to start with Typescript ^5.3.2 when using `extends` in tsconfig.json #28385

Closed NimmLor closed 11 months ago

NimmLor commented 12 months ago

Current behavior

The server crashes after upgrading to Typescript 5.3.2. Downgrading to 5.2.2 fixes the issue.

For me this happens only if I uses extends in tsconfig.json and specifying a module. As a workaround the extends can be changed to reference the file directly:

-  "extends": "@atws/tsconfig/node20/react",
+  "extends": "../../node_modules/@atws/tsconfig/node20/react",

Output after running cypress run or cypress open:

DevTools listening on ws://127.0.0.1:62199/devtools/browser/c48ca7b4-e4cf-4c2e-81cc-5d894e2295e6

node:internal/process/esm_loader:40
      internalBinding('errors').triggerUncaughtException(
                                ^
[Object: null prototype] {
  [Symbol(nodejs.util.inspect.custom)]: [Function: [nodejs.util.inspect.custom]]
}

Node.js v20.9.0

Desired behavior

The server starts up as usual

Test code to reproduce

It fails with even the most basic config:

import { defineConfig } from 'cypress'

export default defineConfig({
  e2e: {},
})

package.json is using vite (react-ts) with type: module

tsconfig.json

{
  "compilerOptions": {
    "lib": ["es5", "dom"],
    "target": "es5",
    "types": ["cypress", "node"]
  },
  "include": ["**/*.ts"],
  "extends": "some-module-name/base.json"
}

Cypress Version

13.6.0, 13.5.1

Node version

v20.9.0

Operating System

Win 11, Github Actions Linux Runner

Other

Worked for multiple months without issues, we have been using every typescript version since v4.9

Debug Logs

```shell cypress:cli:cli cli starts with arguments ["C:\\Program Files\\nodejs\\node.exe","C:\\repos\\corp-monorepo\\node_modules\\cypress\\bin\\cypress","open"] +0ms cypress:cli NODE_OPTIONS=--max_old_space_size=8192 +0ms cypress:cli:cli program parsing arguments +1ms cypress:cli:cli opening Cypress +0ms cypress:cli parsed cli options {} +97ms cypress:cli verifying Cypress app +0ms cypress:cli checking environment variables +0ms cypress:cli checking if executable exists C:\Users\loren\AppData\Local\Cypress\Cache\13.6.0\Cypress\Cypress.exe +1ms cypress:cli Binary is executable? : true +2ms cypress:cli binaryDir is C:\Users\loren\AppData\Local\Cypress\Cache\13.6.0\Cypress +0ms cypress:cli Reading binary package.json from: C:\Users\loren\AppData\Local\Cypress\Cache\13.6.0\Cypress\resources\app\package.json +0ms cypress:cli Found binary version 13.6.0 installed in: C:\Users\loren\AppData\Local\Cypress\Cache\13.6.0\Cypress +3ms cypress:cli { verified: true } +3ms cypress:cli is Verified ? true +0ms cypress:cli opening from options {"project":"C:\\repos\\corp-monorepo\\apps\\web"} +0ms cypress:cli command line arguments ["--project","C:\\repos\\corp-monorepo\\apps\\web"] +0ms cypress:cli needs to start own Xvfb? false +0ms cypress:cli spawning, should retry on display problem? false +0ms cypress:cli spawn args [ '--', '--project', 'C:\\repos\\corp-monorepo\\apps\\web', '--cwd', 'C:\\repos\\corp-monorepo\\apps\\web', '--userNodePath', 'C:\\Program Files\\nodejs\\node.exe', '--userNodeVersion', '20.9.0' ] { detached: false, stdio: 'pipe', windowsHide: false } +1ms cypress:cli spawning Cypress with executable: C:\Users\loren\AppData\Local\Cypress\Cache\13.6.0\Cypress\Cypress.exe +1ms cypress:cli piping process STDIN into child STDIN +6ms cypress:cli piping child STDOUT to process STDOUT +0ms cypress:cli piping child STDERR to process STDERR +1ms [29988:1122/092003.804:ERROR:node_bindings.cc(300)] Most NODE_OPTIONs are not supported in packaged apps. See documentation for more details. cypress:snapshot:info Caching 3465, defining 4295 modules! Using cache +0ms cypress:snapshot:debug initializing packherd require +0ms cypress:server:performance-benchmark elapsed time at v8-snapshot-startup-time: 101.933ms +0ms cypress:server:appdata path: C:\Users\loren\AppData\Roaming\Cypress\cy\production\browsers +0ms cypress:server:cypress starting cypress with argv [ 'C:\\Users\\loren\\AppData\\Local\\Cypress\\Cache\\13.6.0\\Cypress\\Cypress.exe', '--', '--project', 'C:\\repos\\corp-monorepo\\apps\\web', '--cwd', 'C:\\repos\\corp-monorepo\\apps\\web', '--userNodePath', 'C:\\Program Files\\nodejs\\node.exe', '--userNodeVersion', '20.9.0' ] +0ms cypress:server:args argv array: [ 'C:\\Users\\loren\\AppData\\Local\\Cypress\\Cache\\13.6.0\\Cypress\\Cypress.exe', '--project', 'C:\\repos\\corp-monorepo\\apps\\web', '--cwd', 'C:\\repos\\corp-monorepo\\apps\\web', '--userNodePath', 'C:\\Program Files\\nodejs\\node.exe', '--userNodeVersion', '20.9.0' ] +0ms cypress:server:args parsed argv options { options: { _: [ 'C:\\Users\\loren\\AppData\\Local\\Cypress\\Cache\\13.6.0\\Cypress\\Cypress.exe' ], project: 'C:\\repos\\corp-monorepo\\apps\\web', cwd: 'C:\\repos\\corp-monorepo\\apps\\web', userNodePath: 'C:\\Program Files\\nodejs\\node.exe', userNodeVersion: '20.9.0' } } +1ms cypress:server:args argv parsed: { _: [ 'C:\\Users\\loren\\AppData\\Local\\Cypress\\Cache\\13.6.0\\Cypress\\Cypress.exe' ], project: 'C:\\repos\\corp-monorepo\\apps\\web', cwd: 'C:\\repos\\corp-monorepo\\apps\\web', userNodePath: 'C:\\Program Files\\nodejs\\node.exe', userNodeVersion: '20.9.0', invokedFromCli: true } +2ms cypress:server:util:proxy found proxy environment variables {} +0ms cypress:server:util:proxy HTTP_PROXY is falsy, disabling HTTP_PROXY +3ms cypress:server:util:proxy setting default NO_PROXY of `` +0ms cypress:server:util:proxy <-loopback> not found, adding localhost to NO_PROXY +0ms cypress:server:util:proxy normalized proxy environment variables { NO_PROXY: '127.0.0.1,::1,localhost' } +0ms cypress:server:args options { _: [ 'C:\\Users\\loren\\AppData\\Local\\Cypress\\Cache\\13.6.0\\Cypress\\Cypress.exe' ], project: 'C:\\repos\\corp-monorepo\\apps\\web', cwd: 'C:\\repos\\corp-monorepo\\apps\\web', userNodePath: 'C:\\Program Files\\nodejs\\node.exe', userNodeVersion: '20.9.0', invokedFromCli: true, config: {} } +5ms cypress:server:args argv options: { _: [ 'C:\\Users\\loren\\AppData\\Local\\Cypress\\Cache\\13.6.0\\Cypress\\Cypress.exe' ], project: 'C:\\repos\\corp-monorepo\\apps\\web', cwd: 'C:\\repos\\corp-monorepo\\apps\\web', userNodePath: 'C:\\Program Files\\nodejs\\node.exe', userNodeVersion: '20.9.0', invokedFromCli: true, config: {}, projectRoot: 'C:\\repos\\corp-monorepo\\apps\\web' } +0ms cypress:server:cypress from argv [ 'C:\\Users\\loren\\AppData\\Local\\Cypress\\Cache\\13.6.0\\Cypress\\Cypress.exe', '--project', 'C:\\repos\\corp-monorepo\\apps\\web', '--cwd', 'C:\\repos\\corp-monorepo\\apps\\web', '--userNodePath', 'C:\\Program Files\\nodejs\\node.exe', '--userNodeVersion', '20.9.0' ] got options { _: [ 'C:\\Users\\loren\\AppData\\Local\\Cypress\\Cache\\13.6.0\\Cypress\\Cypress.exe' ], project: 'C:\\repos\\corp-monorepo\\apps\\web', cwd: 'C:\\repos\\corp-monorepo\\apps\\web', userNodePath: 'C:\\Program Files\\nodejs\\node.exe', userNodeVersion: '20.9.0', invokedFromCli: true, config: {}, projectRoot: 'C:\\repos\\corp-monorepo\\apps\\web' } +9ms cypress:server:appdata path: C:\Users\loren\AppData\Roaming\Cypress\cy\production +39ms DevTools listening on ws://127.0.0.1:61732/devtools/browser/9d7651c6-0041-444c-9396-1007ea8227b8 cypress:server:cypress starting in mode interactive with options { _: [ 'C:\\Users\\loren\\AppData\\Local\\Cypress\\Cache\\13.6.0\\Cypress\\Cypress.exe' ], project: 'C:\\repos\\corp-monorepo\\apps\\web', cwd: 'C:\\repos\\corp-monorepo\\apps\\web', userNodePath: 'C:\\Program Files\\nodejs\\node.exe', userNodeVersion: '20.9.0', invokedFromCli: true, config: {}, projectRoot: 'C:\\repos\\corp-monorepo\\apps\\web' } +37ms cypress:server:cypress running Electron currently +0ms cypress:graphql:nexusDeferIfNotLoadedPlugin Adding nexusDeferIfNotLoadedPlugin for Query.cloudLatestRunUpdateSpecData +0ms cypress:graphql:nexusDeferIfNotLoadedPlugin Adding nexusDeferIfNotLoadedPlugin for Query.cloudProjectBySlug +0ms cypress:graphql:nexusDeferIfNotLoadedPlugin Adding nexusDeferIfNotLoadedPlugin for Query.cloudProjectsBySlugs +0ms cypress:graphql:nexusDeferIfNotLoadedPlugin Adding nexusDeferIfNotLoadedPlugin for Query.cloudSpecByPath +1ms cypress:graphql:nexusDeferIfNotLoadedPlugin Adding nexusDeferIfNotLoadedPlugin for Query.cloudViewer +0ms cypress:graphql:nexusDeferIfNotLoadedPlugin Adding nexusDeferIfNotLoadedPlugin for Query.pollingIntervals +0ms cypress:graphql:nexusDeferIfNotLoadedPlugin Adding nexusDeferIfNotLoadedPlugin for Query.versions +0ms cypress:graphql:nexusDeferIfNotLoadedPlugin Adding nexusDeferIfNotLoadedPlugin for CurrentProject.cloudProject +0ms cypress:graphql:nexusDeferIfNotLoadedPlugin Adding nexusDeferIfNotLoadedPlugin for RelevantRunInfo.status +1ms cypress:graphql:nexusDeferIfNotLoadedPlugin Adding nexusDeferIfNotLoadedPlugin for RemoteFetchableCloudProjectResult.data +1ms cypress:graphql:nexusDeferIfNotLoadedPlugin Adding nexusDeferIfNotLoadedPlugin for RemoteFetchableCloudProjectSpecResult.data +0ms cypress:server:browsers:utils getBrowsers +0ms cypress:launcher:detect detecting if the following browsers are present [ { name: 'chrome', family: 'chromium', channel: 'stable', displayName: 'Chrome', versionRegex: /Google Chrome (\S+)/m, binary: [ 'google-chrome', 'chrome', 'google-chrome-stable' ], minSupportedVersion: 64 }, { name: 'chromium', family: 'chromium', channel: 'stable', displayName: 'Chromium', versionRegex: /Chromium (\S+)/m, binary: [ 'chromium-browser', 'chromium' ], minSupportedVersion: 64 }, { name: 'chrome', family: 'chromium', channel: 'beta', displayName: 'Chrome Beta', versionRegex: /Google Chrome (\S+) beta/m, binary: 'google-chrome-beta', minSupportedVersion: 64 }, { name: 'chrome', family: 'chromium', channel: 'canary', displayName: 'Canary', versionRegex: /Google Chrome Canary (\S+)/m, binary: 'google-chrome-canary', minSupportedVersion: 64 }, { name: 'firefox', family: 'firefox', channel: 'stable', displayName: 'Firefox', versionRegex: /^Mozilla Firefox ([^\sab]+)$/m, binary: 'firefox', minSupportedVersion: 86, validator: [Function: validator] }, { name: 'firefox', family: 'firefox', channel: 'dev', displayName: 'Firefox Developer Edition', versionRegex: /^Mozilla Firefox (\S+b\S*)$/m, binary: [ 'firefox-developer-edition', 'firefox' ], minSupportedVersion: 86 }, { name: 'firefox', family: 'firefox', channel: 'nightly', displayName: 'Firefox Nightly', versionRegex: /^Mozilla Firefox (\S+a\S*)$/m, binary: [ 'firefox-nightly', 'firefox-trunk' ], minSupportedVersion: 86 }, { name: 'edge', family: 'chromium', channel: 'stable', displayName: 'Edge', versionRegex: /Microsoft Edge (\S+)/im, binary: [ 'edge', 'microsoft-edge' ], minSupportedVersion: 79 }, { name: 'edge', family: 'chromium', channel: 'canary', displayName: 'Edge Canary', versionRegex: /Microsoft Edge.+?(\S*(?= canary)|(?<=canary )\S*)/im, binary: [ 'edge-canary', 'microsoft-edge-canary' ], minSupportedVersion: 79 }, { name: 'edge', family: 'chromium', channel: 'beta', displayName: 'Edge Beta', versionRegex: /Microsoft Edge.+?(\S*(?= beta)|(?<=beta )\S*)/im, binary: [ 'edge-beta', 'microsoft-edge-beta' ], minSupportedVersion: 79 }, { name: 'edge', family: 'chromium', channel: 'dev', displayName: 'Edge Dev', versionRegex: /Microsoft Edge.+?(\S*(?= dev)|(?<=dev )\S*)/im, binary: [ 'edge-dev', 'microsoft-edge-dev' ], minSupportedVersion: 79 } ] +0ms cypress:server:browsers:utils WebKit is enabled, but there was an error constructing the WebKit browser: { err: Error: Cannot find module 'playwright-webkit' Require stack: - C:\Users\loren\AppData\Local\Cypress\Cache\13.6.0\Cypress\resources\app\packages\server\lib\browsers\utils.ts at Module._resolveFilename (node:internal/modules/cjs/loader:1082:15) at n._resolveFilename (node:electron/js2c/browser_init:2:117603) at resolve (node:internal/modules/cjs/helpers:116:19) at Function.resolve (evalmachine.:1:789766) at P (:4454:74844) at Object.I [as getBrowsers] (:4454:75679) at b.machineBrowsers (:4227:74332) at E._setCurrentProject (:4410:75591) at new E (:4410:68536) at new S (:4410:130017) at N (:4526:41746) at s.exports (:4526:146993) at :4533:3280 at tryCatcher (C:\Users\loren\AppData\Local\Cypress\Cache\13.6.0\Cypress\resources\app\node_modules\bluebird\js\release\util.js:16:23) at Function. (C:\Users\loren\AppData\Local\Cypress\Cache\13.6.0\Cypress\resources\app\node_modules\bluebird\js\release\method.js:39:29) at Object.runElectron (:4533:3050) at Object.startInMode (:4533:6086) at :4533:4826 at tryCatcher (C:\Users\loren\AppData\Local\Cypress\Cache\13.6.0\Cypress\resources\app\node_modules\bluebird\js\release\util.js:16:23) at Promise._settlePromiseFromHandler (C:\Users\loren\AppData\Local\Cypress\Cache\13.6.0\Cypress\resources\app\node_modules\bluebird\js\release\promise.js:512:31) at Promise._settlePromise (C:\Users\loren\AppData\Local\Cypress\Cache\13.6.0\Cypress\resources\app\node_modules\bluebird\js\release\promise.js:569:18) at Promise._settlePromise0 (C:\Users\loren\AppData\Local\Cypress\Cache\13.6.0\Cypress\resources\app\node_modules\bluebird\js\release\promise.js:614:10) at Promise._settlePromises (C:\Users\loren\AppData\Local\Cypress\Cache\13.6.0\Cypress\resources\app\node_modules\bluebird\js\release\promise.js:694:18) at Promise._fulfill (C:\Users\loren\AppData\Local\Cypress\Cache\13.6.0\Cypress\resources\app\node_modules\bluebird\js\release\promise.js:638:18) at PromiseArray._resolve (C:\Users\loren\AppData\Local\Cypress\Cache\13.6.0\Cypress\resources\app\node_modules\bluebird\js\release\promise_array.js:126:19) at PromiseArray._promiseFulfilled (C:\Users\loren\AppData\Local\Cypress\Cache\13.6.0\Cypress\resources\app\node_modules\bluebird\js\release\promise_array.js:144:14) at Promise._settlePromise (C:\Users\loren\AppData\Local\Cypress\Cache\13.6.0\Cypress\resources\app\node_modules\bluebird\js\release\promise.js:574:26) at Promise._settlePromise0 (C:\Users\loren\AppData\Local\Cypress\Cache\13.6.0\Cypress\resources\app\node_modules\bluebird\js\release\promise.js:614:10) at Promise._settlePromises (C:\Users\loren\AppData\Local\Cypress\Cache\13.6.0\Cypress\resources\app\node_modules\bluebird\js\release\promise.js:694:18) at Promise._fulfill (C:\Users\loren\AppData\Local\Cypress\Cache\13.6.0\Cypress\resources\app\node_modules\bluebird\js\release\promise.js:638:18) at Promise._settlePromise (C:\Users\loren\AppData\Local\Cypress\Cache\13.6.0\Cypress\resources\app\node_modules\bluebird\js\release\promise.js:582:21) at Promise._settlePromise0 (C:\Users\loren\AppData\Local\Cypress\Cache\13.6.0\Cypress\resources\app\node_modules\bluebird\js\release\promise.js:614:10) at Promise._settlePromises (C:\Users\loren\AppData\Local\Cypress\Cache\13.6.0\Cypress\resources\app\node_modules\bluebird\js\release\promise.js:694:18) at Promise._fulfill (C:\Users\loren\AppData\Local\Cypress\Cache\13.6.0\Cypress\resources\app\node_modules\bluebird\js\release\promise.js:638:18) at Promise._settlePromise (C:\Users\loren\AppData\Local\Cypress\Cache\13.6.0\Cypress\resources\app\node_modules\bluebird\js\release\promise.js:582:21) at Promise._settlePromise0 (C:\Users\loren\AppData\Local\Cypress\Cache\13.6.0\Cypress\resources\app\node_modules\bluebird\js\release\promise.js:614:10) at Promise._settlePromises (C:\Users\loren\AppData\Local\Cypress\Cache\13.6.0\Cypress\resources\app\node_modules\bluebird\js\release\promise.js:694:18) at Promise._fulfill (C:\Users\loren\AppData\Local\Cypress\Cache\13.6.0\Cypress\resources\app\node_modules\bluebird\js\release\promise.js:638:18) at PromiseArray._resolve (C:\Users\loren\AppData\Local\Cypress\Cache\13.6.0\Cypress\resources\app\node_modules\bluebird\js\release\promise_array.js:126:19) at PromiseArray._promiseFulfilled (C:\Users\loren\AppData\Local\Cypress\Cache\13.6.0\Cypress\resources\app\node_modules\bluebird\js\release\promise_array.js:144:14) at Promise._settlePromise (C:\Users\loren\AppData\Local\Cypress\Cache\13.6.0\Cypress\resources\app\node_modules\bluebird\js\release\promise.js:574:26) at Promise._settlePromise0 (C:\Users\loren\AppData\Local\Cypress\Cache\13.6.0\Cypress\resources\app\node_modules\bluebird\js\release\promise.js:614:10) at Promise._settlePromises (C:\Users\loren\AppData\Local\Cypress\Cache\13.6.0\Cypress\resources\app\node_modules\bluebird\js\release\promise.js:694:18) at Promise._fulfill (C:\Users\loren\AppData\Local\Cypress\Cache\13.6.0\Cypress\resources\app\node_modules\bluebird\js\release\promise.js:638:18) at C:\Users\loren\AppData\Local\Cypress\Cache\13.6.0\Cypress\resources\app\node_modules\bluebird\js\release\nodeback.js:42:21 at :2050:115512 { code: 'MODULE_NOT_FOUND', requireStack: [ 'C:\\Users\\loren\\AppData\\Local\\Cypress\\Cache\\13.6.0\\Cypress\\resources\\app\\packages\\server\\lib\\browsers\\utils.ts' ] } } +2ms cypress:data-context:sources:GitDataSource config: { isRunMode: false, projectRoot: 'C:\\repos\\corp-monorepo\\apps\\web', onError: [Function (anonymous)], onBranchChange: [Function: onBranchChange], onGitInfoChange: [Function: onGitInfoChange], onGitLogChange: [AsyncFunction: onGitLogChange] } +0ms cypress:data-context:sources:GitDataSource Refreshing git data +6ms cypress:data-context:sources:EventCollectorSource Starting +0ms cypress:scaffold-config:detect Checking for default Cypress config file +0ms cypress:scaffold-config:detect Detected cypress.config.ts - using TS +0ms cypress:server:appdata path: C:\Users\loren\AppData\Roaming\Cypress\cy\production\cache +103ms cypress:data-context:actions:LocalSettingsActions refresh local settings +0ms cypress:server:util:editors get user editor +0ms cypress:server:saved_state making saved state from C:\Users\loren\AppData\Local\Cypress\Cache\13.6.0\Cypress\resources\app\packages\server +0ms cypress:server:saved_state missing project path, looking for project here +0ms cypress:lifecycle:ProjectConfigIpc fork child process { CHILD_PROCESS_FILE_PATH: 'C:\\Users\\loren\\AppData\\Local\\Cypress\\Cache\\13.6.0\\Cypress\\resources\\app\\node_modules\\@packages\\server\\lib\\plugins\\child\\require_async_child.js', configProcessArgs: [ '--projectRoot', 'C:\\repos\\corp-monorepo\\apps\\web', '--file', 'C:\\repos\\corp-monorepo\\apps\\web\\cypress.config.ts' ], childOptions: { stdio: 'pipe', cwd: 'C:\\repos\\corp-monorepo\\apps\\web', execPath: 'C:\\Program Files\\nodejs\\node.exe' } } +0ms cypress:lifecycle:ProjectConfigIpc found typescript in C:\repos\corp-monorepo\apps\web +1ms cypress:lifecycle:ProjectConfigIpc using --experimental-specifier-resolution=node with --loader file:///C:/Users/loren/AppData/Local/Cypress/Cache/13.6.0/Cypress/resources/app/node_modules/ts-node/esm/transpile-only.mjs +2ms cypress:lifecycle:ProjectConfigIpc trigger the load of the file +5ms cypress:server:saved_state making saved state from C:\Users\loren\AppData\Local\Cypress\Cache\13.6.0\Cypress\resources\app\packages\server +30ms cypress:server:saved_state for project path C:\repos\corp-monorepo\apps\web +1ms cypress:server:saved_state state path for project C:\repos\corp-monorepo\apps\web +0ms cypress:server:appdata path: C:\Users\loren\AppData\Roaming\Cypress\cy\production\projects\web-9c2c72f77daac917c1039baba2769a2b\state.json +35ms cypress:server:saved_state full state path C:\Users\loren\AppData\Roaming\Cypress\cy\production\projects\web-9c2c72f77daac917c1039baba2769a2b\state.json +2ms cypress:server:saved_state making new state file around C:\Users\loren\AppData\Roaming\Cypress\cy\production\projects\web-9c2c72f77daac917c1039baba2769a2b\state.json +0ms cypress:server:saved_state state path for global mode +4ms cypress:server:appdata path: C:\Users\loren\AppData\Roaming\Cypress\cy\production\projects\__global__\state.json +4ms cypress:server:saved_state full state path C:\Users\loren\AppData\Roaming\Cypress\cy\production\projects\__global__\state.json +0ms cypress:server:saved_state making new state file around C:\Users\loren\AppData\Roaming\Cypress\cy\production\projects\__global__\state.json +0ms cypress:launcher:windows got version string for chrome: { exePath: 'C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe', version: '119.0.6045.160' } +0ms cypress:launcher:windows error while looking up exe, trying next exePath { exePath: 'C:\\Program Files (x86)\\Google\\chrome-win32\\chrome.exe', exePaths: [], err: Error: Browser not installed: chromium at r (:4423:133634) at a (:4423:147048) at :4423:147393 { notInstalled: true } } +2ms cypress:data-context:sources:GitDataSource Loading git hashes +56ms cypress:launcher:windows got version string for chrome: { exePath: 'C:\\Program Files\\Google\\Chrome Beta\\Application\\chrome.exe', version: '120.0.6099.28' } +12ms cypress:launcher:windows error while looking up exe, trying next exePath { exePath: 'C:\\Users\\loren\\AppData\\Local\\Google\\Chrome SxS\\Application\\chrome.exe', exePaths: [], err: Error: Browser not installed: chrome at r (:4423:133634) at a (:4423:147048) at :4423:147393 { notInstalled: true } } +0ms cypress:launcher:windows got version string for firefox: { exePath: 'C:\\Program Files\\Mozilla Firefox\\firefox.exe', version: '95.0.2' } +1ms cypress:data-context:sources:CloudDataSource Executing remote dashboard request query Cypress_CheckAuth { cloudViewer { id email fullName } } , {} +0ms cypress:server:windows creating electron window with options { url: 'http://localhost:61734/__launchpad/index.html', backgroundColor: 'white', width: 1200, height: 890, minWidth: 597, minHeight: 400, x: -1605, y: 193, type: 'INDEX', devTools: false, trackState: { width: 'appWidth', height: 'appHeight', x: 'appX', y: 'appY', devTools: 'isAppDevToolsOpen' }, onBlur: [Function: onBlur], onFocus: [Function: onFocus], onClose: [Function: onClose], show: true, webPreferences: { contextIsolation: true, partition: null, webSecurity: false, nodeIntegration: false, backgroundThrottling: false }, frame: true, contextMenu: false, recordFrameRate: null, onCrashed: [Function: onCrashed], onNewWindow: [Function: onNewWindow] } +0ms cypress:network:agent addRequest called { isHttps: true, href: 'https://cloud.cypress.io/test-runner-graphql' } +0ms cypress:network:connect beginning getAddress { hostname: 'cloud.cypress.io', port: 80 } +0ms cypress:launcher:windows error while looking up exe, trying next exePath { exePath: 'C:\\Users\\loren\\AppData\\Local\\Firefox Developer Edition\\firefox.exe', exePaths: [], err: Error: Browser not installed: firefox at r (:4423:133634) at a (:4423:147048) at :4423:147393 { notInstalled: true } } +87ms cypress:launcher:windows error while looking up exe, trying next exePath { exePath: 'C:\\Program Files (x86)\\Firefox Developer Edition\\firefox.exe', exePaths: [], err: Error: Browser not installed: firefox at r (:4423:133634) at a (:4423:147048) at :4423:147498 { notInstalled: true } } +1ms cypress:launcher:windows error while looking up exe, trying next exePath { exePath: 'C:\\Program Files\\Firefox Developer Edition\\firefox.exe', exePaths: [], err: Error: Browser not installed: firefox at r (:4423:133634) at a (:4423:147048) at :4423:147498 { notInstalled: true } } +0ms cypress:network:connect got addresses { hostname: 'cloud.cypress.io', port: 80, addresses: [ { address: '172.67.25.250', family: 4 }, { address: '104.22.11.239', family: 4 }, { address: '104.22.10.239', family: 4 } ] } +21ms cypress:data-context:sources:GitDataSource hashes loaded +101ms cypress:data-context:sources:GitDataSource Calling onGitLogChange: callback defined true, git hash count 100 +1ms cypress:config:browser validating configuration {} +0ms cypress:data-context:sources:GitDataSource On current branch dependabot/npm_and_yarn/typescript-5.3.2 +120ms cypress:data-context:sources:GitDataSource Creating watcher +0ms cypress:data-context:sources:GitDataSource Watcher initialized +5ms cypress:network:agent got family { family: 4, href: 'https://cloud.cypress.io/test-runner-graphql' } +155ms cypress:launcher:windows error while looking up exe, trying next exePath { exePath: 'C:\\Users\\loren\\AppData\\Local\\Firefox Nightly\\firefox.exe', exePaths: [], err: Error: Browser not installed: firefox at r (:4423:133634) at a (:4423:147048) at :4423:147393 { notInstalled: true } } +145ms cypress:launcher:windows error while looking up exe, trying next exePath { exePath: 'C:\\Program Files (x86)\\Firefox Nightly\\firefox.exe', exePaths: [], err: Error: Browser not installed: firefox at r (:4423:133634) at a (:4423:147048) at :4423:147498 { notInstalled: true } } +0ms cypress:launcher:windows error while looking up exe, trying next exePath { exePath: 'C:\\Program Files\\Firefox Nightly\\firefox.exe', exePaths: [], err: Error: Browser not installed: firefox at r (:4423:133634) at a (:4423:147048) at :4423:147498 { notInstalled: true } } +0ms cypress:launcher:windows got version string for edge: { exePath: 'C:\\Program Files (x86)\\Microsoft\\Edge\\Application\\msedge.exe', version: '119.0.2151.72' } +3ms cypress:launcher:windows error while looking up exe, trying next exePath { exePath: 'C:\\Users\\loren\\AppData\\Local\\Microsoft\\Edge SxS\\Application\\msedge.exe', exePaths: [], err: Error: Browser not installed: edge at r (:4423:133634) at a (:4423:147048) at :4423:147393 { notInstalled: true } } +2ms cypress:launcher:windows error while looking up exe, trying next exePath { exePath: 'C:\\Program Files (x86)\\Microsoft\\Edge Beta\\Application\\msedge.exe', exePaths: [], err: Error: Browser not installed: edge at r (:4423:133634) at a (:4423:147048) at :4423:147393 { notInstalled: true } } +2ms cypress:launcher:windows error while looking up exe, trying next exePath { exePath: 'C:\\Program Files (x86)\\Microsoft\\Edge Dev\\Application\\msedge.exe', exePaths: [], err: Error: Browser not installed: edge at r (:4423:133634) at a (:4423:147048) at :4423:147393 { notInstalled: true } } +6ms cypress:server:browsers:utils found browsers { browsers: [ { name: 'chrome', family: 'chromium', channel: 'stable', displayName: 'Chrome', version: '119.0.6045.160', path: 'C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe', minSupportedVersion: 64, majorVersion: '119' }, { name: 'chrome', family: 'chromium', channel: 'beta', displayName: 'Chrome Beta', version: '120.0.6099.28', path: 'C:\\Program Files\\Google\\Chrome Beta\\Application\\chrome.exe', minSupportedVersion: 64, majorVersion: '120' }, { name: 'firefox', family: 'firefox', channel: 'stable', displayName: 'Firefox', version: '95.0.2', path: 'C:\\Program Files\\Mozilla Firefox\\firefox.exe', minSupportedVersion: 86, majorVersion: '95' }, { name: 'edge', family: 'chromium', channel: 'stable', displayName: 'Edge', version: '119.0.2151.72', path: 'C:\\Program Files (x86)\\Microsoft\\Edge\\Application\\msedge.exe', minSupportedVersion: 79, majorVersion: '119' } ] } +321ms node:internal/process/esm_loader:40 internalBinding('errors').triggerUncaughtException( ^ [Object: null prototype] { [Symbol(nodejs.util.inspect.custom)]: [Function: [nodejs.util.inspect.custom]] } Node.js v20.9.0 cypress:server:util:editors user has the following editors: [ { id: 'code', binary: 'code', name: 'Visual Studio Code' } ] +350ms cypress:server:saved_state making saved state from C:\Users\loren\AppData\Local\Cypress\Cache\13.6.0\Cypress\resources\app\packages\server +313ms cypress:server:saved_state missing project path, looking for project here +0ms cypress:server:saved_state state path for global mode +1ms cypress:server:appdata path: C:\Users\loren\AppData\Roaming\Cypress\cy\production\projects\__global__\state.json +314ms cypress:server:saved_state full state path C:\Users\loren\AppData\Roaming\Cypress\cy\production\projects\__global__\state.json +0ms cypress:server:util:editors saved preferred editor: undefined +1ms cypress:server:util:editors return available editors: [ { id: 'computer', name: 'File Explorer', binary: 'computer' }, { id: 'code', name: 'Visual Studio Code', binary: 'code' } ] +0ms cypress:server:saved_state making saved state from C:\Users\loren\AppData\Local\Cypress\Cache\13.6.0\Cypress\resources\app\packages\server +1ms cypress:server:saved_state missing project path, looking for project here +0ms cypress:server:saved_state state path for global mode +0ms cypress:server:appdata path: C:\Users\loren\AppData\Roaming\Cypress\cy\production\projects\__global__\state.json +1ms cypress:server:saved_state full state path C:\Users\loren\AppData\Roaming\Cypress\cy\production\projects\__global__\state.json +0ms cypress:graphql:nexusDeferIfNotLoadedPlugin Racing execution for CurrentProject.cloudProject +583ms cypress:graphql:nexusDeferIfNotLoadedPlugin Racing execution for Query.versions +0ms cypress:data-context:sources:VersionsDataSource #getLatestVersion +0ms cypress:server:saved_state making saved state from C:\Users\loren\AppData\Local\Cypress\Cache\13.6.0\Cypress\resources\app\packages\server +190ms cypress:server:saved_state missing project path, looking for project here +0ms cypress:network:agent addRequest called { isHttps: true, href: 'https://registry.npmjs.org/cypress' } +265ms cypress:network:connect beginning getAddress { hostname: 'registry.npmjs.org', port: 80 } +398ms cypress:graphql:nexusDeferIfNotLoadedPlugin Racing execution for Query.cloudViewer +1ms cypress:graphql:remoteSchemaWrapped executing: {"operationName":"HeaderBar_HeaderBarQuery_cloudViewer","requestPolicy":"cache-first"} +0ms cypress:data-context:sources:CloudDataSource Executing remote dashboard request query HeaderBar_HeaderBarQuery_cloudViewer { cloudViewer { id cloudOrganizationsUrl organizations(first: 100) { nodes { id name projects(first: 100) { nodes { id slug name __typename } __typename } __typename } __typename } email fullName firstOrganization: organizations(first: 1) { nodes { id __typename } __typename } __typename } } , {} +480ms cypress:network:agent addRequest called { isHttps: true, href: 'https://cloud.cypress.io/test-runner-graphql' } +5ms cypress:network:agent got family { family: 4, href: 'https://cloud.cypress.io/test-runner-graphql' } +0ms cypress:graphql:nexusDeferIfNotLoadedPlugin CurrentProject.cloudProject did not resolve immediately +5ms cypress:graphql:nexusDeferIfNotLoadedPlugin Query.versions did not resolve immediately +0ms cypress:graphql:nexusDeferIfNotLoadedPlugin Query.cloudViewer did not resolve immediately +0ms cypress:config:browser validating configuration {} +397ms cypress:config:browser validating configuration {} +1ms cypress:network:connect got addresses { hostname: 'registry.npmjs.org', port: 80, addresses: [ { address: '104.16.30.34', family: 4 }, { address: '104.16.26.34', family: 4 }, { address: '104.16.1.35', family: 4 }, { address: '104.16.28.34', family: 4 }, { address: '104.16.0.35', family: 4 }, { address: '104.16.2.35', family: 4 }, { address: '104.16.25.34', family: 4 }, { address: '104.16.3.35', family: 4 }, { address: '104.16.27.34', family: 4 }, { address: '104.16.29.34', family: 4 }, { address: '104.16.24.34', family: 4 }, { address: '104.16.31.34', family: 4 } ] } +8ms cypress:server:saved_state state path for global mode +9ms cypress:server:appdata path: C:\Users\loren\AppData\Roaming\Cypress\cy\production\projects\__global__\state.json +200ms cypress:server:saved_state full state path C:\Users\loren\AppData\Roaming\Cypress\cy\production\projects\__global__\state.json +1ms cypress:data-context:sources:VersionsDataSource Checking 60 dependencies in project +15ms cypress:scaffold-config:frameworks detecting @angular/cli in C:\repos\corp-monorepo\apps\web +0ms cypress:scaffold-config:frameworks error when detecting @angular/cli: unable to resolve package file +2ms cypress:scaffold-config:frameworks detecting @angular-devkit/build-angular in C:\repos\corp-monorepo\apps\web +0ms cypress:scaffold-config:frameworks error when detecting @angular-devkit/build-angular: unable to resolve package file +0ms cypress:scaffold-config:frameworks detecting @angular/core in C:\repos\corp-monorepo\apps\web +0ms cypress:scaffold-config:frameworks error when detecting @angular/core: unable to resolve package file +1ms cypress:scaffold-config:frameworks detecting @angular/common in C:\repos\corp-monorepo\apps\web +0ms cypress:scaffold-config:frameworks error when detecting @angular/common: unable to resolve package file +0ms cypress:scaffold-config:frameworks detecting @angular/platform-browser-dynamic in C:\repos\corp-monorepo\apps\web +0ms cypress:scaffold-config:frameworks error when detecting @angular/platform-browser-dynamic: unable to resolve package file +0ms cypress:scaffold-config:frameworks detecting react in C:\repos\corp-monorepo\apps\web +0ms cypress:scaffold-config:frameworks detecting react-dom in C:\repos\corp-monorepo\apps\web +1ms cypress:scaffold-config:frameworks detecting react-scripts in C:\repos\corp-monorepo\apps\web +0ms cypress:scaffold-config:frameworks error when detecting react-scripts: unable to resolve package file +1ms cypress:scaffold-config:frameworks detecting vue in C:\repos\corp-monorepo\apps\web +0ms cypress:scaffold-config:frameworks error when detecting vue: unable to resolve package file +0ms cypress:scaffold-config:frameworks detecting @vue/cli-service in C:\repos\corp-monorepo\apps\web +0ms cypress:scaffold-config:frameworks error when detecting @vue/cli-service: unable to resolve package file +0ms cypress:scaffold-config:frameworks detecting svelte in C:\repos\corp-monorepo\apps\web +0ms cypress:scaffold-config:frameworks error when detecting svelte: unable to resolve package file +0ms cypress:scaffold-config:frameworks detecting solid-js in C:\repos\corp-monorepo\apps\web +0ms cypress:scaffold-config:frameworks error when detecting solid-js: unable to resolve package file +1ms cypress:scaffold-config:frameworks detecting lit in C:\repos\corp-monorepo\apps\web +0ms cypress:scaffold-config:frameworks error when detecting lit: unable to resolve package file +0ms cypress:scaffold-config:frameworks detecting preact in C:\repos\corp-monorepo\apps\web +0ms cypress:scaffold-config:frameworks error when detecting preact: unable to resolve package file +0ms cypress:scaffold-config:frameworks detecting preact-cli in C:\repos\corp-monorepo\apps\web +0ms cypress:scaffold-config:frameworks error when detecting preact-cli: unable to resolve package file +0ms cypress:scaffold-config:frameworks detecting ember in C:\repos\corp-monorepo\apps\web +0ms cypress:scaffold-config:frameworks error when detecting ember: unable to resolve package file +1ms cypress:scaffold-config:frameworks detecting @stencil/core in C:\repos\corp-monorepo\apps\web +0ms cypress:scaffold-config:frameworks error when detecting @stencil/core: unable to resolve package file +0ms cypress:scaffold-config:frameworks detecting @builder.io/qwik in C:\repos\corp-monorepo\apps\web +0ms cypress:scaffold-config:frameworks error when detecting @builder.io/qwik: unable to resolve package file +0ms cypress:scaffold-config:frameworks detecting alpinejs in C:\repos\corp-monorepo\apps\web +0ms cypress:scaffold-config:frameworks error when detecting alpinejs: unable to resolve package file +0ms cypress:scaffold-config:frameworks detecting @glimmer/component in C:\repos\corp-monorepo\apps\web +0ms cypress:scaffold-config:frameworks error when detecting @glimmer/component: unable to resolve package file +0ms cypress:scaffold-config:frameworks detecting typescript in C:\repos\corp-monorepo\apps\web +0ms cypress:scaffold-config:frameworks detecting vite in C:\repos\corp-monorepo\apps\web +1ms cypress:scaffold-config:frameworks detecting webpack in C:\repos\corp-monorepo\apps\web +0ms cypress:scaffold-config:frameworks error when detecting webpack: unable to resolve package file +1ms cypress:scaffold-config:frameworks detecting parcel in C:\repos\corp-monorepo\apps\web +0ms cypress:scaffold-config:frameworks error when detecting parcel: unable to resolve package file +0ms cypress:scaffold-config:frameworks detecting rollup in C:\repos\corp-monorepo\apps\web +0ms cypress:scaffold-config:frameworks detecting snowpack in C:\repos\corp-monorepo\apps\web +0ms cypress:scaffold-config:frameworks error when detecting snowpack: unable to resolve package file +1ms cypress:scaffold-config:frameworks detecting jest in C:\repos\corp-monorepo\apps\web +0ms cypress:scaffold-config:frameworks detecting jsdom in C:\repos\corp-monorepo\apps\web +0ms cypress:scaffold-config:frameworks error when detecting jsdom: unable to resolve package file +0ms cypress:scaffold-config:frameworks detecting jest-preview in C:\repos\corp-monorepo\apps\web +0ms cypress:scaffold-config:frameworks error when detecting jest-preview: unable to resolve package file +1ms cypress:scaffold-config:frameworks detecting storybook in C:\repos\corp-monorepo\apps\web +0ms cypress:scaffold-config:frameworks error when detecting storybook: unable to resolve package file +0ms cypress:scaffold-config:frameworks detecting @storybook/addon-interactions in C:\repos\corp-monorepo\apps\web +0ms cypress:scaffold-config:frameworks error when detecting @storybook/addon-interactions: unable to resolve package file +0ms cypress:scaffold-config:frameworks detecting @storybook/addon-a11y in C:\repos\corp-monorepo\apps\web +0ms cypress:scaffold-config:frameworks error when detecting @storybook/addon-a11y: unable to resolve package file +0ms cypress:scaffold-config:frameworks detecting chromatic in C:\repos\corp-monorepo\apps\web +0ms cypress:scaffold-config:frameworks error when detecting chromatic: unable to resolve package file +0ms cypress:scaffold-config:frameworks detecting @testing-library/react in C:\repos\corp-monorepo\apps\web +0ms cypress:scaffold-config:frameworks error when detecting @testing-library/react: unable to resolve package file +1ms cypress:scaffold-config:frameworks detecting @testing-library/react-hooks in C:\repos\corp-monorepo\apps\web +0ms cypress:scaffold-config:frameworks error when detecting @testing-library/react-hooks: unable to resolve package file +0ms cypress:scaffold-config:frameworks detecting @testing-library/dom in C:\repos\corp-monorepo\apps\web +0ms cypress:scaffold-config:frameworks error when detecting @testing-library/dom: unable to resolve package file +0ms cypress:scaffold-config:frameworks detecting @testing-library/jest-dom in C:\repos\corp-monorepo\apps\web +0ms cypress:scaffold-config:frameworks error when detecting @testing-library/jest-dom: unable to resolve package file +0ms cypress:scaffold-config:frameworks detecting @testing-library/cypress in C:\repos\corp-monorepo\apps\web +0ms cypress:scaffold-config:frameworks error when detecting @testing-library/cypress: unable to resolve package file +1ms cypress:scaffold-config:frameworks detecting @testing-library/user-event in C:\repos\corp-monorepo\apps\web +0ms cypress:scaffold-config:frameworks error when detecting @testing-library/user-event: unable to resolve package file +0ms cypress:scaffold-config:frameworks detecting @testing-library/vue in C:\repos\corp-monorepo\apps\web +0ms cypress:scaffold-config:frameworks error when detecting @testing-library/vue: unable to resolve package file +0ms cypress:scaffold-config:frameworks detecting @testing-library/svelte in C:\repos\corp-monorepo\apps\web +0ms cypress:scaffold-config:frameworks error when detecting @testing-library/svelte: unable to resolve package file +0ms cypress:scaffold-config:frameworks detecting @testing-library/preact in C:\repos\corp-monorepo\apps\web +0ms cypress:scaffold-config:frameworks error when detecting @testing-library/preact: unable to resolve package file +0ms cypress:scaffold-config:frameworks detecting happy-dom in C:\repos\corp-monorepo\apps\web +0ms cypress:scaffold-config:frameworks error when detecting happy-dom: unable to resolve package file +1ms cypress:scaffold-config:frameworks detecting vitest in C:\repos\corp-monorepo\apps\web +0ms cypress:scaffold-config:frameworks detecting vitest-preview in C:\repos\corp-monorepo\apps\web +0ms cypress:scaffold-config:frameworks error when detecting vitest-preview: unable to resolve package file +0ms cypress:scaffold-config:frameworks detecting selenium-webdriver in C:\repos\corp-monorepo\apps\web +0ms cypress:scaffold-config:frameworks error when detecting selenium-webdriver: unable to resolve package file +0ms cypress:scaffold-config:frameworks detecting nightwatch in C:\repos\corp-monorepo\apps\web +1ms cypress:scaffold-config:frameworks error when detecting nightwatch: unable to resolve package file +0ms cypress:scaffold-config:frameworks detecting karma in C:\repos\corp-monorepo\apps\web +0ms cypress:scaffold-config:frameworks error when detecting karma: unable to resolve package file +0ms cypress:scaffold-config:frameworks detecting playwright in C:\repos\corp-monorepo\apps\web +0ms cypress:scaffold-config:frameworks error when detecting playwright: unable to resolve package file +0ms cypress:scaffold-config:frameworks detecting playwright-core in C:\repos\corp-monorepo\apps\web +0ms cypress:scaffold-config:frameworks error when detecting playwright-core: unable to resolve package file +0ms cypress:scaffold-config:frameworks detecting @playwright/experimental-ct-core in C:\repos\corp-monorepo\apps\web +0ms cypress:scaffold-config:frameworks error when detecting @playwright/experimental-ct-core: unable to resolve package file +1ms cypress:scaffold-config:frameworks detecting @playwright/experimental-ct-react in C:\repos\corp-monorepo\apps\web +0ms cypress:scaffold-config:frameworks error when detecting @playwright/experimental-ct-react: unable to resolve package file +0ms cypress:scaffold-config:frameworks detecting @playwright/experimental-ct-svelte in C:\repos\corp-monorepo\apps\web +0ms cypress:scaffold-config:frameworks error when detecting @playwright/experimental-ct-svelte: unable to resolve package file +0ms cypress:scaffold-config:frameworks detecting @playwright/experimental-ct-vue in C:\repos\corp-monorepo\apps\web +0ms cypress:scaffold-config:frameworks error when detecting @playwright/experimental-ct-vue: unable to resolve package file +0ms cypress:scaffold-config:frameworks detecting @playwright/experimental-ct-vue2 in C:\repos\corp-monorepo\apps\web +0ms cypress:scaffold-config:frameworks error when detecting @playwright/experimental-ct-vue2: unable to resolve package file +1ms cypress:scaffold-config:frameworks detecting @playwright/experimental-ct-solid in C:\repos\corp-monorepo\apps\web +0ms cypress:scaffold-config:frameworks error when detecting @playwright/experimental-ct-solid: unable to resolve package file +0ms cypress:scaffold-config:frameworks detecting @playwright/experimental-ct-react17 in C:\repos\corp-monorepo\apps\web +0ms cypress:scaffold-config:frameworks error when detecting @playwright/experimental-ct-react17: unable to resolve package file +0ms cypress:scaffold-config:frameworks detecting axe-core in C:\repos\corp-monorepo\apps\web +0ms cypress:scaffold-config:frameworks detecting jest-axe in C:\repos\corp-monorepo\apps\web +1ms cypress:scaffold-config:frameworks error when detecting jest-axe: unable to resolve package file +0ms cypress:scaffold-config:frameworks detecting enzyme in C:\repos\corp-monorepo\apps\web +0ms cypress:scaffold-config:frameworks error when detecting enzyme: unable to resolve package file +0ms cypress:network:agent got family { family: 4, href: 'https://registry.npmjs.org/cypress' } +29ms cypress:scaffold-config:frameworks found package.json { name: 'react', description: 'React is a JavaScript library for building user interfaces.', keywords: [ 'react' ], version: '18.2.0', homepage: 'https://reactjs.org/', bugs: 'https://github.com/facebook/react/issues', license: 'MIT', files: [ 'LICENSE', 'README.md', 'index.js', 'cjs/', 'umd/', 'jsx-runtime.js', 'jsx-dev-runtime.js', 'react.shared-subset.js' ], main: 'index.js', exports: { '.': { 'react-server': './react.shared-subset.js', default: './index.js' }, './package.json': './package.json', './jsx-runtime': './jsx-runtime.js', './jsx-dev-runtime': './jsx-dev-runtime.js' }, repository: { type: 'git', url: 'https://github.com/facebook/react.git', directory: 'packages/react' }, engines: { node: '>=0.10.0' }, dependencies: { 'loose-envify': '^1.1.0' }, browserify: { transform: [ 'loose-envify' ] } } +2ms cypress:scaffold-config:frameworks found package.json { name: 'react-dom', version: '18.2.0', description: 'React package for working with the DOM.', main: 'index.js', repository: { type: 'git', url: 'https://github.com/facebook/react.git', directory: 'packages/react-dom' }, keywords: [ 'react' ], license: 'MIT', bugs: { url: 'https://github.com/facebook/react/issues' }, homepage: 'https://reactjs.org/', dependencies: { 'loose-envify': '^1.1.0', scheduler: '^0.23.0' }, peerDependencies: { react: '^18.2.0' }, files: [ 'LICENSE', 'README.md', 'index.js', 'client.js', 'profiling.js', 'server.js', 'server.browser.js', 'server.node.js', 'test-utils.js', 'cjs/', 'umd/' ], exports: { '.': './index.js', './client': './client.js', './server': { deno: './server.browser.js', worker: './server.browser.js', browser: './server.browser.js', default: './server.node.js' }, './server.browser': './server.browser.js', './server.node': './server.node.js', './profiling': './profiling.js', './test-utils': './test-utils.js', './package.json': './package.json' }, browser: { './server.js': './server.browser.js' }, browserify: { transform: [ 'loose-envify' ] } } +1ms cypress:scaffold-config:frameworks found package.json { name: 'vite', version: '5.0.0', type: 'module', license: 'MIT', author: 'Evan You', description: 'Native-ESM powered web dev build tool', bin: { vite: 'bin/vite.js' }, keywords: [ 'frontend', 'framework', 'hmr', 'dev-server', 'build-tool', 'vite' ], main: './dist/node/index.js', types: './dist/node/index.d.ts', exports: { '.': { import: [Object], require: [Object] }, './client': { types: './client.d.ts' }, './dist/client/*': './dist/client/*', './types/*': { types: './types/*' }, './package.json': './package.json' }, files: [ 'bin', 'dist', 'client.d.ts', 'index.cjs', 'index.d.cts', 'types' ], engines: { node: '^18.0.0 || >=20.0.0' }, repository: { type: 'git', url: 'git+https://github.com/vitejs/vite.git', directory: 'packages/vite' }, bugs: { url: 'https://github.com/vitejs/vite/issues' }, homepage: 'https://github.com/vitejs/vite/tree/main/#readme', funding: 'https://github.com/vitejs/vite?sponsor=1', '//': 'READ CONTRIBUTING.md to understand what to put under deps vs. devDeps!', dependencies: { esbuild: '^0.19.3', postcss: '^8.4.31', rollup: '^4.2.0' }, optionalDependencies: { fsevents: '~2.3.3' }, devDependencies: { '@ampproject/remapping': '^2.2.1', '@babel/parser': '^7.23.3', '@jridgewell/trace-mapping': '^0.3.20', '@rollup/plugin-alias': '^5.0.1', '@rollup/plugin-commonjs': '^25.0.7', '@rollup/plugin-dynamic-import-vars': '^2.1.0', '@rollup/plugin-json': '^6.0.1', '@rollup/plugin-node-resolve': '15.2.3', '@rollup/plugin-typescript': '^11.1.5', '@rollup/pluginutils': '^5.0.5', '@types/escape-html': '^1.0.4', '@types/pnpapi': '^0.0.5', acorn: '^8.11.2', 'acorn-walk': '^8.3.0', cac: '^6.7.14', chokidar: '^3.5.3', connect: '^3.7.0', 'convert-source-map': '^2.0.0', cors: '^2.8.5', 'cross-spawn': '^7.0.3', debug: '^4.3.4', 'dep-types': 'link:./src/types', dotenv: '^16.3.1', 'dotenv-expand': '^10.0.0', 'es-module-lexer': '^1.4.1', 'escape-html': '^1.0.3', 'estree-walker': '^3.0.3', etag: '^1.8.1', 'fast-glob': '^3.3.2', 'http-proxy': '^1.18.1', 'json-stable-stringify': '^1.0.2', 'launch-editor-middleware': '^2.6.1', lightningcss: '^1.22.1', 'magic-string': '^0.30.5', micromatch: '^4.0.5', mlly: '^1.4.2', mrmime: '^1.0.1', okie: '^1.0.1', open: '^8.4.2', parse5: '^7.1.2', periscopic: '^4.0.2', picocolors: '^1.0.0', picomatch: '^2.3.1', 'postcss-import': '^15.1.0', 'postcss-load-config': '^4.0.1', 'postcss-modules': '^6.0.0', 'resolve.exports': '^2.0.2', 'rollup-plugin-dts': '^6.1.0', 'rollup-plugin-license': '^3.2.0', sirv: '^2.0.3', 'source-map-support': '^0.5.21', 'strip-ansi': '^7.1.0', 'strip-literal': '^1.3.0', tsconfck: '^3.0.0', tslib: '^2.6.2', types: 'link:./types', ufo: '^1.3.1', ws: '^8.14.2' }, peerDependencies: { '@types/node': '^18.0.0 || >=20.0.0', less: '*', lightningcss: '^1.21.0', sass: '*', stylus: '*', sugarss: '*', terser: '^5.4.0' }, peerDependenciesMeta: { '@types/node': { optional: true }, sass: { optional: true }, stylus: { optional: true }, less: { optional: true }, sugarss: { optional: true }, lightningcss: { optional: true }, terser: { optional: true } }, scripts: { dev: 'rimraf dist && pnpm run build-bundle -w', build: 'rimraf dist && run-s build-bundle build-types', 'build-bundle': 'rollup --config rollup.config.ts --configPlugin typescript', 'build-types': 'run-s build-types-temp build-types-roll build-types-check', 'build-types-temp': 'tsc --emitDeclarationOnly --outDir temp/node -p src/node', 'build-types-roll': 'rollup --config rollup.dts.config.ts --configPlugin typescript && rimraf temp', 'build-types-check': 'tsc --project tsconfig.check.json', typecheck: 'tsc --noEmit', lint: 'eslint --cache --ext .ts src/**', format: 'prettier --write --cache --parser typescript "src/**/*.ts"' } } +0ms cypress:scaffold-config:frameworks found package.json { name: 'vitest', type: 'module', version: '0.34.6', description: 'A blazing fast unit test framework powered by Vite', author: 'Anthony Fu ', license: 'MIT', funding: 'https://opencollective.com/vitest', homepage: 'https://github.com/vitest-dev/vitest#readme', repository: { type: 'git', url: 'git+https://github.com/vitest-dev/vitest.git', directory: 'packages/vitest' }, bugs: { url: 'https://github.com/vitest-dev/vitest/issues' }, keywords: [ 'vite', 'vite-node', 'vitest', 'test', 'jest' ], sideEffects: false, exports: { '.': { require: [Object], import: [Object] }, './*': './*', './globals': { types: './globals.d.ts' }, './importMeta': { types: './importMeta.d.ts' }, './node': { types: './dist/node.d.ts', import: './dist/node.js' }, './execute': { types: './dist/execute.d.ts', import: './dist/execute.js' }, './browser': { types: './dist/browser.d.ts', import: './dist/browser.js' }, './runners': { types: './dist/runners.d.ts', import: './dist/runners.js' }, './suite': { types: './dist/suite.d.ts', import: './dist/suite.js' }, './environments': { types: './dist/environments.d.ts', import: './dist/environments.js' }, './utils': { types: './dist/utils.d.ts', import: './dist/utils.js' }, './config': { types: './config.d.ts', require: './dist/config.cjs', import: './dist/config.js' }, './coverage': { types: './coverage.d.ts', import: './dist/coverage.js' }, './reporters': { types: './dist/reporters.d.ts', import: './dist/reporters.js' } }, main: './dist/index.js', module: './dist/index.js', types: './dist/index.d.ts', bin: { vitest: './vitest.mjs' }, files: [ 'dist', 'bin', '*.d.ts', '*.d.cts', '*.mjs', '*.cjs' ], engines: { node: '>=v14.18.0' }, peerDependencies: { '@edge-runtime/vm': '*', '@vitest/browser': '*', '@vitest/ui': '*', 'happy-dom': '*', jsdom: '*', playwright: '*', safaridriver: '*', webdriverio: '*' }, peerDependenciesMeta: { '@vitest/ui': { optional: true }, '@vitest/browser': { optional: true }, 'happy-dom': { optional: true }, jsdom: { optional: true }, webdriverio: { optional: true }, safaridriver: { optional: true }, playwright: { optional: true }, '@edge-runtime/vm': { optional: true } }, dependencies: { '@types/chai': '^4.3.5', '@types/chai-subset': '^1.3.3', '@types/node': '*', acorn: '^8.9.0', 'acorn-walk': '^8.2.0', cac: '^6.7.14', chai: '^4.3.10', debug: '^4.3.4', 'local-pkg': '^0.4.3', 'magic-string': '^0.30.1', pathe: '^1.1.1', picocolors: '^1.0.0', 'std-env': '^3.3.3', 'strip-literal': '^1.0.1', tinybench: '^2.5.0', tinypool: '^0.7.0', vite: '^3.1.0 || ^4.0.0 || ^5.0.0-0', 'why-is-node-running': '^2.2.2', '@vitest/runner': '0.34.6', '@vitest/utils': '0.34.6', 'vite-node': '0.34.6', '@vitest/expect': '0.34.6', '@vitest/snapshot': '0.34.6', '@vitest/spy': '0.34.6' }, devDependencies: { '@ampproject/remapping': '^2.2.1', '@antfu/install-pkg': '^0.1.1', '@edge-runtime/vm': '3.0.3', '@sinonjs/fake-timers': '^11.0.0', '@types/diff': '^5.0.3', '@types/estree': '^1.0.1', '@types/istanbul-lib-coverage': '^2.0.4', '@types/istanbul-reports': '^3.0.1', '@types/jsdom': '^21.1.1', '@types/micromatch': '^4.0.2', '@types/prompts': '^2.4.4', '@types/sinonjs__fake-timers': '^8.1.2', birpc: '0.2.12', 'chai-subset': '^1.6.0', 'cli-truncate': '^3.1.0', 'event-target-polyfill': '^0.0.3', execa: '^7.1.1', 'expect-type': '^0.16.0', 'fast-glob': '^3.3.0', 'find-up': '^6.3.0', flatted: '^3.2.7', 'get-tsconfig': '^4.6.2', 'happy-dom': '^9.20.3', jsdom: '^22.1.0', 'log-update': '^5.0.1', micromatch: '^4.0.5', mlly: '^1.4.0', 'p-limit': '^4.0.0', 'pkg-types': '^1.0.3', playwright: '^1.35.1', 'pretty-format': '^29.5.0', prompts: '^2.4.2', safaridriver: '^0.0.5', 'strip-ansi': '^7.1.0', webdriverio: '^8.11.2', ws: '^8.13.0' }, scripts: { build: 'rimraf dist && rollup -c', dev: 'NODE_OPTIONS="--max-old-space-size=8192" rollup -c --watch -m inline' } } +0ms cypress:scaffold-config:frameworks found package.json { name: 'axe-core', description: 'Accessibility engine for automated Web UI testing', version: '4.7.2', license: 'MPL-2.0', engines: { node: '>=4' }, contributors: [ { name: 'David Sturley', organization: 'Deque Systems, Inc.', url: 'http://deque.com/' }, { name: 'Dylan Barrell', email: 'dylan@barrell.com', organization: 'Deque Systems, Inc.', url: 'http://deque.com/' }, { name: 'Wilco Fiers', organization: 'Deque Systems, Inc.', url: 'http://deque.com/' }, { name: 'Dian Fay', organization: 'Deque Systems, Inc.', url: 'http://deque.com/' }, { name: 'Marcy Sutton', organization: 'Deque Systems, Inc.', url: 'http://deque.com/' } ], homepage: 'https://www.deque.com/axe/', repository: { type: 'git', url: 'https://github.com/dequelabs/axe-core.git' }, keywords: [ 'Accessibility', 'a11y', 'testing', 'unit', 'tdd', 'bdd', 'axe' ], main: 'axe.js', typings: 'axe.d.ts', files: [ 'axe.js', 'axe.min.js', 'axe.d.ts', 'sri-history.json', 'locales/' ], 'standard-version': { scripts: { postbump: 'npm ci && npm run sri-update && git add doc/rule-descriptions.md' }, skip: { tag: true } }, scripts: { start: 'http-server -p 9876 --silent', develop: 'grunt dev --force', 'api-docs': 'jsdoc --configure .jsdoc.json', build: 'grunt', eslint: "eslint --color --format stylish '{lib,test,build,doc}/**/*.js' 'Gruntfile.js'", test: 'npm run test:tsc && run-s "test:unit:* -- {@}" --', 'test:tsc': 'tsc', 'test:unit': 'karma start test/karma.conf.js', 'test:debug': 'npm run test:unit -- --no-single-run --browsers=Chrome', 'test:unit:core': 'npm run test:unit -- testDirs=core', 'test:unit:commons': 'npm run test:unit -- testDirs=commons', 'test:unit:rule-matches': 'npm run test:unit -- testDirs=rule-matches', 'test:unit:checks': 'npm run test:unit -- testDirs=checks', 'test:unit:api': 'npm run test:unit -- testDirs=api', 'test:unit:integration': 'npm run test:unit -- testDirs=integration', 'test:unit:virtual-rules': 'npm run test:unit -- testDirs=virtual-rules', integration: 'node test/integration/full/test-webdriver.js', 'integration:apg': 'mocha --fail-zero test/aria-practices/*.spec.js', 'integration:chrome': 'npm run integration -- browser=Chrome', 'integration:firefox': 'npm run integration -- browser=Firefox', 'test:integration': 'npm run test:integration:chrome', 'test:integration:chrome': 'start-server-and-test 9876 integration:chrome', 'test:integration:firefox': 'start-server-and-test 9876 integration:firefox', 'test:examples': 'node ./doc/examples/test-examples', 'test:act': 'mocha --fail-zero test/act-rules/*.spec.js', 'test:apg': 'start-server-and-test 9876 integration:apg', 'test:locales': 'mocha test/test-locales.js', 'test:virtual-rules': 'mocha test/test-virtual-rules.js', 'test:rule-help-version': 'mocha test/test-rule-help-version.js', 'test:node': 'mocha test/node/*.js', version: `echo "use 'npm run release' to bump axe-core version" && exit 1`, release: 'git fetch origin --tags --force && standard-version -a', 'rule-gen': 'node build/rule-generator', 'next-release': 'standard-version --scripts.prebump=./build/next-version.js --skip.commit=true --skip.tag=true', 'sri-update': 'grunt build && node build/sri-update && git add sri-history.json', 'sri-validate': 'node build/sri-update --validate', fmt: 'prettier --write .', prepare: 'husky install', prebuild: 'node ./build/check-node-version.js', pretest: 'node ./build/check-node-version.js', postbuild: 'prettier --write ./locales/_template.json ./doc/rule-descriptions.md' }, devDependencies: { '@axe-core/webdriverjs': '^4.5.2', '@babel/core': '^7.20.12', '@babel/plugin-proposal-object-rest-spread': '^7.20.7', '@babel/preset-env': '^7.20.2', '@babel/runtime-corejs3': '^7.20.7', '@deque/dot': '^1.1.5', 'aria-practices': 'github:w3c/aria-practices#ce0336bd82d7d3651abcbde86af644197ddbc629', 'aria-query': '^5.1.3', 'browser-driver-manager': '1.0.4', chai: '^4.3.7', chalk: '^4.x', chromedriver: 'latest', clone: '^2.1.2', 'colorjs.io': '^0.4.3', 'conventional-commits-parser': '^3.2.4', 'core-js': '^3.27.1', 'css-selector-parser': '^1.4.1', 'emoji-regex': '^10.2.1', 'es6-promise': '^4.2.8', esbuild: '^0.10.x', eslint: '^8.31.0', 'eslint-config-prettier': '^8.6.0', 'eslint-plugin-mocha-no-only': '^1.1.1', execa: '5.x', globby: '11.x', grunt: '^1.5.3', 'grunt-babel': '^8.0.0', 'grunt-bytesize': '^0.2.0', 'grunt-contrib-clean': '^2.0.1', 'grunt-contrib-concat': '^2.1.0', 'grunt-contrib-uglify': '^5.2.2', 'grunt-contrib-watch': '^1.1.0', 'html-entities': '1.x', 'http-server': '^14.1.1', husky: '^8.0.3', jquery: '^3.6.3', jsdoc: '^3.6.11', jsdom: '^21.0.0', karma: '^6.4.1', 'karma-chai': '^0.1.0', 'karma-chrome-launcher': '^3.1.1', 'karma-firefox-launcher': '^2.1.2', 'karma-ie-launcher': '^1.0.0', 'karma-mocha': '^2.0.1', 'karma-sinon': '^1.0.5', 'karma-spec-reporter': '^0.0.36', 'lint-staged': '^13.1.0', 'make-dir': '^3.1.0', 'markdown-table': '2.x', memoizee: '^0.4.15', minami: '^1.2.3', mocha: '^10.2.0', 'node-notifier': '^10.0.1', 'npm-run-all': '^4.1.5', prettier: '^2.8.2', proxyquire: '^2.1.3', revalidator: '^0.3.1', 'selenium-webdriver': '^4.7.1', 'serve-handler': '^6.1.5', sinon: '^15.0.1', 'sri-toolbox': '^0.2.0', 'standard-version': '^9.5.0', 'start-server-and-test': '^1.15.2', typedarray: '^0.0.7', typescript: '^4.9.4', 'uglify-js': '^3.17.4', 'wcag-act-rules': 'github:w3c/wcag-act-rules#2341a1b', 'weakmap-polyfill': '^2.0.4' }, 'lint-staged': { '*.{md,json,ts,html}': [ 'prettier --write' ], '*.js': [ 'eslint --fix', 'prettier --write' ] } } +1ms cypress:scaffold-config:frameworks found package.json { name: 'typescript', author: 'Microsoft Corp.', homepage: 'https://www.typescriptlang.org/', version: '5.3.2', license: 'Apache-2.0', description: 'TypeScript is a language for application scale JavaScript development', keywords: [ 'TypeScript', 'Microsoft', 'compiler', 'language', 'javascript' ], bugs: { url: 'https://github.com/Microsoft/TypeScript/issues' }, repository: { type: 'git', url: 'https://github.com/Microsoft/TypeScript.git' }, main: './lib/typescript.js', typings: './lib/typescript.d.ts', bin: { tsc: './bin/tsc', tsserver: './bin/tsserver' }, engines: { node: '>=14.17' }, files: [ 'bin', 'lib', '!lib/enu', 'LICENSE.txt', 'README.md', 'SECURITY.md', 'ThirdPartyNoticeText.txt', '!**/.gitattributes' ], devDependencies: { '@esfx/canceltoken': '^1.0.0', '@octokit/rest': '^19.0.13', '@types/chai': '^4.3.4', '@types/glob': '^8.1.0', '@types/microsoft__typescript-etw': '^0.1.1', '@types/minimist': '^1.2.2', '@types/mocha': '^10.0.1', '@types/ms': '^0.7.31', '@types/node': 'latest', '@types/source-map-support': '^0.5.6', '@types/which': '^2.0.1', '@typescript-eslint/eslint-plugin': '^6.0.0', '@typescript-eslint/parser': '^6.0.0', '@typescript-eslint/utils': '^6.0.0', 'azure-devops-node-api': '^12.0.0', c8: '^7.14.0', chai: '^4.3.7', chalk: '^4.1.2', chokidar: '^3.5.3', diff: '^5.1.0', dprint: '^0.42.3', esbuild: '^0.19.0', eslint: '^8.22.0', 'eslint-formatter-autolinkable-stylish': '^1.2.0', 'eslint-plugin-local': '^1.0.0', 'eslint-plugin-no-null': '^1.0.2', 'eslint-plugin-simple-import-sort': '^10.0.0', 'fast-xml-parser': '^4.0.11', glob: '^8.1.0', hereby: '^1.6.4', 'jsonc-parser': '^3.2.0', minimist: '^1.2.8', mocha: '^10.2.0', 'mocha-fivemat-progress-reporter': '^0.1.0', ms: '^2.1.3', 'node-fetch': '^3.2.10', playwright: '^1.38.0', 'source-map-support': '^0.5.21', tslib: '^2.5.0', typescript: '^5.0.2', which: '^2.0.2' }, overrides: { 'typescript@*': '$typescript' }, scripts: { test: 'hereby runtests-parallel --light=false', 'test:eslint-rules': 'hereby run-eslint-rules-tests', build: 'npm run build:compiler && npm run build:tests', 'build:compiler': 'hereby local', 'build:tests': 'hereby tests', 'build:tests:notypecheck': 'hereby tests --no-typecheck', start: 'node lib/tsc', clean: 'hereby clean', gulp: 'hereby', lint: 'hereby lint', format: 'dprint fmt', 'setup-hooks': 'node scripts/link-hooks.mjs' }, browser: { fs: false, os: false, path: false, crypto: false, buffer: false, '@microsoft/typescript-etw': false, 'source-map-support': false, inspector: false, perf_hooks: false }, packageManager: 'npm@8.19.4', volta: { node: '20.1.0', npm: '8.19.4' } } +0ms cypress:scaffold-config:frameworks found package.json { name: 'jest', description: 'Delightful JavaScript Testing.', version: '29.7.0', main: './build/index.js', types: './build/index.d.ts', exports: { '.': { types: './build/index.d.ts', default: './build/index.js' }, './package.json': './package.json', './bin/jest': './bin/jest.js' }, dependencies: { '@jest/core': '^29.7.0', '@jest/types': '^29.6.3', 'import-local': '^3.0.2', 'jest-cli': '^29.7.0' }, devDependencies: { '@tsd/typescript': '^5.0.4', 'tsd-lite': '^0.7.0' }, peerDependencies: { 'node-notifier': '^8.0.1 || ^9.0.0 || ^10.0.0' }, peerDependenciesMeta: { 'node-notifier': { optional: true } }, bin: './bin/jest.js', engines: { node: '^14.15.0 || ^16.10.0 || >=18.0.0' }, repository: { type: 'git', url: 'https://github.com/jestjs/jest.git', directory: 'packages/jest' }, homepage: 'https://jestjs.io/', license: 'MIT', keywords: [ 'ava', 'babel', 'coverage', 'easy', 'expect', 'facebook', 'immersive', 'instant', 'jasmine', 'jest', 'jsdom', 'mocha', 'mocking', 'painless', 'qunit', 'runner', 'sandboxed', 'snapshot', 'tap', 'tape', 'test', 'testing', 'typescript', 'watch' ], publishConfig: { access: 'public' }, gitHead: '4e56991693da7cd4c3730dc3579a1dd1403ee630' } +0ms -- redacted because it would exceed the max length -- ```
gigaSproule commented 12 months ago

I also have an issue upgrading TypeScript to 5.3.2, but I get a different error. Again, downgrading to 5.2.2 is ok.

Your configFile is invalid: /path/to/repo/cypress.config.ts

It threw an error when required, check the stack trace below:

TypeError [ERR_UNKNOWN_FILE_EXTENSION]: Unknown file extension ".ts" for /path/to/repo/cypress.config.ts
    at new NodeError (node:internal/errors:405:5)
    at Object.getFileProtocolModuleFormat [as file:] (node:internal/modules/esm/get_format:79:11)
    at defaultGetFormat (node:internal/modules/esm/get_format:124:36)
    at defaultLoad (node:internal/modules/esm/load:89:20)
    at nextLoad (node:internal/modules/esm/loader:163:28)
    at ESMLoader.load (node:internal/modules/esm/loader:603:26)
    at ESMLoader.moduleProvider (node:internal/modules/esm/loader:457:22)
    at new ModuleJob (node:internal/modules/esm/module_job:64:26)
    at ESMLoader.#createModuleJob (node:internal/modules/esm/loader:480:17)
    at ESMLoader.getModuleJob (node:internal/modules/esm/loader:434:34)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
karlhorky commented 12 months ago

Also receiving this on our Cypress tests (TypeScript config file, TypeScript tests) on GitHub actions (using cypress-io/github-action):

The tests will just hang there for hours. (maybe Cypress / the GitHub action could at least crash if this happens?). Eg. using setUncaughtExceptionCaptureCallback from node:process

It looks like this is your first time using Cypress: 13.6.0
[STARTED] Task without title.
[SUCCESS] Task without title.
Opening Cypress...
DevTools listening on ws://127.0.0.1:43529/devtools/browser/6f2e81cc-a284-4431-b152-7da6459b867f
[6301:1124/111613.793079:ERROR:object_proxy.cc(590)] Failed to call method: org.freedesktop.portal.Settings.Read: object_path= /org/freedesktop/portal/desktop: unknown error type: 
node:internal/process/esm_loader:40
      internalBinding('errors').triggerUncaughtException(
                                ^
[Object: null prototype] {
  [Symbol(nodejs.util.inspect.custom)]: [Function: [nodejs.util.inspect.custom]]
}
Node.js v20.8.1

cc @MikeMcC399

karlhorky commented 12 months ago

As for root cause, maybe this is related to the ts-node failures with TypeScript 5.3:

@lmiller1990 would it be possible to upgrade ts-node version once the PR fixing this is merged?

karlhorky commented 12 months ago

Because the node:internal/process/esm_loader:40 internalBinding('errors').triggerUncaughtException( ... nodejs.util.inspect.custom ... from the error message doesn't provide much context, @alpharder also mentioned here that you can also patch ts-node using patch-package:

MikeMcC399 commented 11 months ago

@karlhorky

The tests will just hang there for hours. (maybe Cypress / the GitHub action could at least crash if this happens?). Eg. using setUncaughtExceptionCaptureCallback from node:process

To prevent GitHub Actions from hanging until it reaches the GitHub job limit of 6 hours, GitHub Actions offers a timeout for steps and for jobs. Cypress GitHub Actions could look at whether any error-handling enhancement is needed, but the main focus should be on getting Cypress to work according to expectations.

karlhorky commented 11 months ago

To prevent GitHub Actions from hanging until it reaches the GitHub job limit of 6 hours, GitHub Actions offers a timeout for steps and for jobs.

I'm aware of this, but that's not something most users will do, and Cypress and the GitHub Action should crash on errors, not hang.

In my personal case, even though I'm aware of these configuration options, I didn't have this configured for all my workflows, and automatic bot upgrades to TypeScript 5.3.2 ended up with Cypress hangs burning through my whole GitHub Actions quota for the month.

MikeMcC399 commented 11 months ago

@karlhorky

Cypress and the GitHub Action should crash on errors, not hang.

I agree that it is a bad thing for anything to hang without returning an error. It would be really useful, if this is a reproducible condition, to have an example repo available which consistently hangs so this could be investigated.

In my personal case, even though I'm aware of these configuration options, I didn't have this configured for all my workflows, and automatic bot upgrades to TypeScript 5.3.2 ended up with Cypress hangs burning through my whole GitHub Actions quota for the month.

That is very unfortunate and annoying!

VismaTobbe commented 11 months ago

Any updates? Get the exact same error, downgrading to 5.2.2 did not fix this for me. :/

jennifer-shehane commented 11 months ago

Another TypeScript v5 issue: https://github.com/cypress-io/cypress/issues/27731

karlhorky commented 11 months ago

@jennifer-shehane I would suggest prioritizing #28385 higher than #27731 if you can, since:

BenShelton commented 11 months ago

I also have an issue upgrading TypeScript to 5.3.2, but I get a different error. Again, downgrading to 5.2.2 is ok.

Your configFile is invalid: /path/to/repo/cypress.config.ts

It threw an error when required, check the stack trace below:

TypeError [ERR_UNKNOWN_FILE_EXTENSION]: Unknown file extension ".ts" for /path/to/repo/cypress.config.ts
    at new NodeError (node:internal/errors:405:5)
    at Object.getFileProtocolModuleFormat [as file:] (node:internal/modules/esm/get_format:79:11)
    at defaultGetFormat (node:internal/modules/esm/get_format:124:36)
    at defaultLoad (node:internal/modules/esm/load:89:20)
    at nextLoad (node:internal/modules/esm/loader:163:28)
    at ESMLoader.load (node:internal/modules/esm/loader:603:26)
    at ESMLoader.moduleProvider (node:internal/modules/esm/loader:457:22)
    at new ModuleJob (node:internal/modules/esm/module_job:64:26)
    at ESMLoader.#createModuleJob (node:internal/modules/esm/loader:480:17)
    at ESMLoader.getModuleJob (node:internal/modules/esm/loader:434:34)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

We had the same. Changing the file extension from cypress.config.ts to cypress.config.mjs is a possible workaround for this, although it's sad to have to lose types from this file.

karlhorky commented 11 months ago

@jennifer-shehane @cacieprins @mschile seems like ts-node resolved their problem with TypeScript 5.3.x in ts-node@10.9.2

Maybe upgrading to this version will also stop Cypress from hanging with TypeScript 5.3.x?

susnux commented 11 months ago

Maybe upgrading to this version will also stop Cypress from hanging with TypeScript 5.3.x?

No even with that update of ts-node cypress still fails to start with Typescript 5.3:

DevTools listening on ws://127.0.0.1:44343/devtools/browser/4a70e88f-1707-4213-a759-439d9e96341b

node:internal/process/esm_loader:40
      internalBinding('errors').triggerUncaughtException(
                                ^
[Object: null prototype] {
  [Symbol(nodejs.util.inspect.custom)]: [Function: [nodejs.util.inspect.custom]]
}

Node.js v20.8.1

BTW this also happens if you use a .mjs or .js config file but .cy.ts test cases. It would be bad but ok to use JS config files, but using JS test cases for TS code seems odd.

etteryand0 commented 11 months ago

Downgrading to typescript 5.2.2 fixed my issue, cypress version is 13.6.1

jennifer-shehane commented 11 months ago

I'm going to try to bump ts-node https://github.com/cypress-io/cypress/pull/28528.

@NimmLor Could you provide your package.json? I'm not able to reproduce the issue to confirm if this will fix it...

Or if someone else can provide a repo that will reproduce the issue, that'd be helpful.

NimmLor commented 11 months ago

Hi @jennifer-shehane, just run cypress open, in my case it crashes before startup up, so there is no need to run a webserver. Using the ts.config.json from the issue description.

This would be the most minimal setup that crashes for me:

{
  "name": "web",
  "version": "0.0.0",
  "private": true,
  "license": "none",
  "type": "module",
  "scripts": {
    "cypress:open": "cypress open"
  },
  "devDependencies": {
    "cypress": "^13.6.1",
    "typescript": "5.3.2"
  },
  "engines": {
    "node": "20.9.0"
  }
}
jennifer-shehane commented 11 months ago

@NimmLor I'm still not able to reproduce 😞 Maybe you can provide a repo?

karlhorky commented 11 months ago

@jennifer-shehane it needs a Cypress config in TypeScript and also Cypress test in TypeScript - do you have both of those in your reproduction?

I'll check to see if we have a public repo with the problem...

karlhorky commented 11 months ago

I have a public reproduction here (make sure you use the solution branch):

Here is an example of a failing pull request which upgrades to TypeScript 5.3.3:

The failing GitHub Actions CI PR run:

Output of the run:

Run cypress-io/github-action@v6
/usr/local/bin/yarn --frozen-lockfile
yarn install v1.22.21
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
warning " > eslint-config-upleveled@7.3.4" has unmet peer dependency "@types/eslint@^8.44.8".
warning " > eslint-config-upleveled@7.3.4" has unmet peer dependency "globals@^13.23.0".
warning "eslint-config-upleveled > @babel/eslint-parser@7.23.3" has unmet peer dependency "@babel/core@^7.11.0".
warning "stylelint-config-upleveled > postcss-styled-syntax@0.5.0" has unmet peer dependency "postcss@^8.4.21".
warning "stylelint-config-upleveled > stylelint-config-recommended-scss > postcss-scss@4.0.[9](https://github.com/upleveled/sad-machine-codealong/actions/runs/7135572923/job/19432583585?pr=412#step:4:10)" has unmet peer dependency "postcss@^8.4.29".
[4/4] Building fresh packages...
Done in 35.71s.
/opt/hostedtoolcache/node/20.[10](https://github.com/upleveled/sad-machine-codealong/actions/runs/7135572923/job/19432583585?pr=412#step:4:11).0/x64/bin/npx cypress cache list
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ version β”‚ last used  β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ 13.6.1  β”‚ 2 days ago β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
/opt/hostedtoolcache/node/20.10.0/x64/bin/npx cypress verify

[STARTED] Task without title.
[SUCCESS] Task without title.
/usr/bin/tar --posix -cf cache.tzst --exclude cache.tzst -P -C /home/runner/work/sad-machine-codealong/sad-machine-codealong --files-from manifest.txt --use-compress-program zstdmt
Cache Size: ~717 MB (751617267 B)
Cache saved successfully
/usr/bin/tar --posix -cf cache.tzst --exclude cache.tzst -P -C /home/runner/work/sad-machine-codealong/sad-machine-codealong --files-from manifest.txt --use-compress-program zstdmt
Cache Size: ~157 MB (164565942 B)
Cache saved successfully
start server command "yarn dev"
current working directory "/home/runner/work/sad-machine-codealong/sad-machine-codealong"
/usr/local/bin/yarn dev
yarn run v1.22.21
$ next dev

DevTools listening on ws://[12](https://github.com/upleveled/sad-machine-codealong/actions/runs/7135572923/job/19432583585?pr=412#step:4:13)7.0.0.1:36645/devtools/browser/4f1c9e83-ac5e-49f9-af5a-835bdf8688d5
[2237:1208/001517.825693:ERROR:object_proxy.cc(590)] Failed to call method: org.freedesktop.portal.Settings.Read: object_path= /org/freedesktop/portal/desktop: unknown error type: 
   β–² Next.js [14](https://github.com/upleveled/sad-machine-codealong/actions/runs/7135572923/job/19432583585?pr=412#step:4:15).0.4
   - Local:        http://localhost:3000

Attention: Next.js now collects completely anonymous telemetry regarding usage.
This information is used to shape Next.js' roadmap and prioritize features.
You can learn more, including how to opt-out if you'd not like to participate in this anonymous program, by visiting the following URL:
https://nextjs.org/telemetry

node:internal/process/esm_loader:40
      internalBinding('errors').triggerUncaughtException(
                                ^
[Object: null prototype] {
  [Symbol(nodejs.util.inspect.custom)]: [Function: [nodejs.util.inspect.custom]]
}

Node.js v[20](https://github.com/upleveled/sad-machine-codealong/actions/runs/7135572923/job/19432583585?pr=412#step:4:21).8.1
 βœ“ Ready in 2.5s
Error: The operation was canceled.

Downgrading to typescript@5.2.2 was the resolution that I used before merging the PR.

NimmLor commented 11 months ago

@jennifer-shehane I've successfully replicated it and found a fix for it.

The solution for me involved modifying the extends field in the tsconfig.json file to directly reference the file, rather than using the shared configuration package name.

I've created a public repo to replicate it: https://github.com/NimmLor/cypress-ts-demo

"extends": "@atws/tsconfig/node20/react",
// β†’ changed to
"extends": "../../node_modules/@atws/tsconfig/node20/react",

PS: I'm wondering how i got this error using the tsconfig.json when I've created this issue πŸ€”

karlhorky commented 11 months ago

@NimmLor this is exactly the bug described in the original issue leading to the ts-node@10.9.2 fix:

Both of these issues led to this PR, which led to ts-node@10.9.2 being released:

karlhorky commented 11 months ago

@jennifer-shehane if you're investigating here, another thing that you may run into in your research is another buggy behavior in ts-node / Node.js itself, which is related to the Object: null prototype ... nodejs.util.inspect.custom part of the output I posted above.

This seems to be related to this problem here:

This does have workarounds in the ts-node 2026 issue above.

However, in my understanding this will not actually resolve the problem, but rather avoid the obscure message and allow you to see the real error message.

Gut feel says the real error message will be "tsconfig file not found", as described in https://github.com/TypeStrong/ts-node/issues/2076, the issue leading up to ts-node@10.9.2 fix, something like this:

  TSError: β¨― Unable to compile TypeScript:
error TS6053: File '@tsconfig/node-lts/tsconfig.json' not found.
karlhorky commented 11 months ago

@jennifer-shehane one other thing that I have run into in poking around in the Cypress architecture in the past is that there are multiple versions of ts-node in Cypress packages.

The one that is "harder" to upgrade for a normal user is the one that is inside the Cypress binary (the Electron app).

Maybe the problem is in there?

NimmLor commented 11 months ago

@karlhorky I've tested your example repo and it works for me as soon as i change the extends property to use the base config directly:

-    "start": "next start"
+    "start": "next start",
+    "cypress:run": "cypress run"

-    "typescript": "5.2.2"
+    "typescript": "5.3.3"
-  "extends": "eslint-config-upleveled/tsconfig.base.json",
+  "extends": "./node_modules/eslint-config-upleveled/tsconfig.base.json",
karlhorky commented 11 months ago

@NimmLor yes, this is a workaround that is also in those issues I mentioned above.

This is not a solution, just a workaround.

It is a bug that ts-node fails with tsconfig.json files specified like that, which is resolved by ts-node@10.9.2

NimmLor commented 11 months ago

@NimmLor yes, this is a workaround that is also in those issues I mentioned above.

This is not a solution, just a workaround.

Yeah I see, but it will probably be my go to setup, the bun runtime doesn't support those imports too.

I've personally stopped using ts-node in favor of tsx

karlhorky commented 11 months ago

Ok this is getting pretty off topic, so let's not continue discussing these extra things here (I will reach out on Twitter/X to continue the discussion with you privately now) some last answers:

the bun runtime doesn't support those imports too

Hm, if this is really true, that seems like a pretty big bug in Bun too, maybe you can edit your post above to add more details. And probably you should report this as an issue to Bun, if it's really the case - I guess Bun will fix that very fast if it's really a bug.

I've personally stopped using ts-node in favor of tsx

Cypress doesn't allow for tsx, so it's irrelevant here.

jennifer-shehane commented 11 months ago

@karlhorky Thanks I can reproduce it given the repro with typescript: 5.3.3. Using Node 20.10.0

jennifer-shehane commented 11 months ago

Running the project itself in cypress run shows this error:

Screen Shot 2023-12-14 at 12 00 48 PM

Running this project through cypress run in dev mode on the repo, I get this error:

Screen Shot 2023-12-14 at 11 59 32 AM

Running this project through cypress run in dev mode on the repo with this branch (ts-node upgrade) https://github.com/cypress-io/cypress/pull/28528, the run is successful.

Screen Shot 2023-12-14 at 12 04 04 PM

The error isn't exactly presented in the same way, but I have reason to believe this PR https://github.com/cypress-io/cypress/pull/28528 will likely solve this issue. I think I could verify once the binary is built after merging into develop.

karlhorky commented 11 months ago

Amazing news!

I'm happy to try out a test / prerelease version of Cypress in that project too, if one is available before a full Cypress release.

MikeMcC399 commented 11 months ago

@karlhorky

I'm happy to try out a test / prerelease version of Cypress in that project too, if one is available before a full Cypress release.

jennifer-shehane commented 11 months ago

I've verified that this PR fixes this issue from the example given using the binary on that commit as Mike mentioned. This should go out next ~Tuesday if the release goes well.

karlhorky commented 11 months ago

I was reading through the instructions:

You should see several comments from the cypress-bot user with instructions for installing Cypress pre-releases. Pick the one that corresponds to your operating system and CPU architecture, and follow the instructions there to install the pre-release.

For the installation URLs on the merged commit, I couldn't figure out how to install different versions based on the environment (eg. macOS dev environment, darwin x64, Linux CI environment, linux x64).

Trying to install the linux x64 version on macOS with Yarn v1 (to get the Yarn lockfile updated for Linux on GitHub Actions CI), I received this error:

yarn install
Exit code: 1
Command: node index.js --exec install
Arguments: 
Directory: /Users/k/p/sad-machine-codealong/node_modules/cypress
Output:
⚠ Warning: You are installing a pre-release build of Cypress.

Bugs may be present which do not exist in production builds.

This build was created from:
  * Commit SHA: 372515829e82fc3542891cf92f83579e01f530e7
  * Commit Branch: develop
  * Commit Timestamp: 2023-12-14T18:28:18.000Z

Installing Cypress (version: https://cdn.cypress.io/beta/binary/13.6.2/darwin-arm64/develop-372515829e82fc3542891cf92f83579e01f530e7/cypress.zip)

[STARTED] Task without title.
[FAILED] The Cypress App could not be downloaded.
[FAILED] 
[FAILED] Does your workplace require a proxy to be used to access the Internet? If so, you must configure the HTTP_PROXY environment variable before downloading Cypress. Read more: https://on.cypress.io/proxy-configuration
[FAILED] 
[FAILED] Otherwise, please check network connectivity and try again:
[FAILED] 
[FAILED] ----------
[FAILED] 
[FAILED] URL: https://cdn.cypress.io/beta/binary/13.6.2/darwin-arm64/develop-372515829e82fc3542891cf92f83579e01f530e7/cypress.zip
[FAILED] Error: Failed downloading the Cypress binary.
[FAILED] Response code: 404
[FAILED] Response message: Not Found
[FAILED] 
[FAILED] ----------
[FAILED] 
[FAILED] Platform: darwin-arm64 (23.2.0)
[FAILED] Cypress Version: 13.6.2
The Cypress App could not be downloaded.

Does your workplace require a proxy to be used to access the Internet? If so, you must configure the HTTP_PROXY environment variable before downloading Cypress. Read more: https://on.cypress.io/proxy-configuration

Otherwise, please check network connectivity and try again:

----------

URL: https://cdn.cypress.io/beta/binary/13.6.2/darwin-arm64/develop-372515829e82fc3542891cf92f83579e01f530e7/cypress.zip
Error: Failed downloading the Cypress binary.
Response code: 404
Response message: Not Found

----------

Platform: darwin-arm64 (23.2.0)
Cypress Version: 13.6.2

Installing a version that is not compatible with the current architecture doesn't work? Or maybe the problem is that there are no darwin-arm64 builds?


I guess what I could try is updating the lockfile on GitHub Actions CI as a step... πŸ€”

karlhorky commented 11 months ago

Ok, managed to update the Yarn v1 lockfile in a GitHub Actions CI step to the linux-x64 version from PR #28528 (see below)

I can confirm that the update has resolved the TypeScript 5.3.x update πŸŽ‰ , tests ran through in this PR:

package.json

{
  "devDependencies": {
    "cypress": "https://cdn.cypress.io/beta/npm/13.6.2/linux-x64/develop-372515829e82fc3542891cf92f83579e01f530e7/cypress.tgz",
  }
}

yarn.lock

"cypress@https://cdn.cypress.io/beta/npm/13.6.2/linux-x64/develop-372515829e82fc3542891cf92f83579e01f530e7/cypress.tgz":
  version "13.6.2"
  resolved "https://cdn.cypress.io/beta/npm/13.6.2/linux-x64/develop-372515829e82fc3542891cf92f83579e01f530e7/cypress.tgz#5aeaebed58dce71eb84fd72ddf8e1725bc835ddb"
  dependencies:
    "@cypress/request" "^3.0.0"
    "@cypress/xvfb" "^1.2.4"
    "@types/node" "^18.17.5"
    "@types/sinonjs__fake-timers" "8.1.1"
    "@types/sizzle" "^2.3.2"
    arch "^2.2.0"
    blob-util "^2.0.2"
    bluebird "^3.7.2"
    buffer "^5.6.0"
    cachedir "^2.3.0"
    chalk "^4.1.0"
    check-more-types "^2.24.0"
    cli-cursor "^3.1.0"
    cli-table3 "~0.6.1"
    commander "^6.2.1"
    common-tags "^1.8.0"
    dayjs "^1.10.4"
    debug "^4.3.4"
    enquirer "^2.3.6"
    eventemitter2 "6.4.7"
    execa "4.1.0"
    executable "^4.1.1"
    extract-zip "2.0.1"
    figures "^3.2.0"
    fs-extra "^9.1.0"
    getos "^3.2.1"
    is-ci "^3.0.0"
    is-installed-globally "~0.4.0"
    lazy-ass "^1.6.0"
    listr2 "^3.8.3"
    lodash "^4.17.21"
    log-symbols "^4.0.0"
    minimist "^1.2.8"
    ospath "^1.2.2"
    pretty-bytes "^5.6.0"
    process "^0.11.10"
    proxy-from-env "1.0.0"
    request-progress "^3.0.0"
    semver "^7.5.3"
    supports-color "^8.1.1"
    tmp "~0.2.1"
    untildify "^4.0.0"
    yauzl "^2.10.0"
karlhorky commented 11 months ago

This should go out next ~Tuesday if the release goes well.

@jennifer-shehane where can we watch for the progress of cypress@13.6.2 or cypress@13.7.0? Is there maybe an issue or PR we can subscribe to?

On the npm page the latest version cypress@13.6.1 is still the old one - was released 15 days ago.

oanaOM commented 11 months ago

Ok, managed to update the Yarn v1 lockfile in a GitHub Actions CI step to the linux-x64 version from PR #28528 (see below)

I can confirm that the update has resolved the TypeScript 5.3.x update πŸŽ‰ , tests ran through in this PR:

package.json

{
  "devDependencies": {
    "cypress": "https://cdn.cypress.io/beta/npm/13.6.2/linux-x64/develop-372515829e82fc3542891cf92f83579e01f530e7/cypress.tgz",
  }
}

yarn.lock

"cypress@https://cdn.cypress.io/beta/npm/13.6.2/linux-x64/develop-372515829e82fc3542891cf92f83579e01f530e7/cypress.tgz":
  version "13.6.2"
  resolved "https://cdn.cypress.io/beta/npm/13.6.2/linux-x64/develop-372515829e82fc3542891cf92f83579e01f530e7/cypress.tgz#5aeaebed58dce71eb84fd72ddf8e1725bc835ddb"
  dependencies:
    "@cypress/request" "^3.0.0"
    "@cypress/xvfb" "^1.2.4"
    "@types/node" "^18.17.5"
    "@types/sinonjs__fake-timers" "8.1.1"
    "@types/sizzle" "^2.3.2"
    arch "^2.2.0"
    blob-util "^2.0.2"
    bluebird "^3.7.2"
    buffer "^5.6.0"
    cachedir "^2.3.0"
    chalk "^4.1.0"
    check-more-types "^2.24.0"
    cli-cursor "^3.1.0"
    cli-table3 "~0.6.1"
    commander "^6.2.1"
    common-tags "^1.8.0"
    dayjs "^1.10.4"
    debug "^4.3.4"
    enquirer "^2.3.6"
    eventemitter2 "6.4.7"
    execa "4.1.0"
    executable "^4.1.1"
    extract-zip "2.0.1"
    figures "^3.2.0"
    fs-extra "^9.1.0"
    getos "^3.2.1"
    is-ci "^3.0.0"
    is-installed-globally "~0.4.0"
    lazy-ass "^1.6.0"
    listr2 "^3.8.3"
    lodash "^4.17.21"
    log-symbols "^4.0.0"
    minimist "^1.2.8"
    ospath "^1.2.2"
    pretty-bytes "^5.6.0"
    process "^0.11.10"
    proxy-from-env "1.0.0"
    request-progress "^3.0.0"
    semver "^7.5.3"
    supports-color "^8.1.1"
    tmp "~0.2.1"
    untildify "^4.0.0"
    yauzl "^2.10.0"

Thank you so much for solving this! I encountered this issue today, using TypeScript 5.3.3 and I can confirm that changing the Cypress reference to the PR solved my issue! πŸŽ‰ πŸ™

When should we expect an official next release from Cypress?

MikeMcC399 commented 11 months ago

@karlhorky

where can we watch for the progress of cypress@13.6.2 or cypress@13.7.0? Is there maybe an issue or PR we can subscribe to?

You can subscribe to releases via GitHub repository watch

image

Also the Discord channel cypress-announcements shows any new release of Cypress modules.

karlhorky commented 11 months ago

You can subscribe to releases via GitHub repository watch

Right, I was aware about that one - I meant to ask about a specific issue or PR which is specific to the cypress@13.6.2 or cypress@13.7.0 releases, to be able to follow along and see on a detailed level what is still left over.

But maybe there is no such issue / PR in the Cypress release process.

bengry commented 10 months ago

https://cdn.cypress.io/beta/npm/13.6.2/linux-x64/develop-372515829e82fc3542891cf92f83579e01f530e7/cypress.tgz

Doesn't work for me, locally at least. Getting this log when running yarn install:

# This file contains the result of Yarn building a package (cypress@https://cdn.cypress.io/beta/npm/13.6.2/linux-x64/develop-372515829e82fc3542891cf92f83579e01f530e7/cypress.tgz)
# Script name: postinstall

⚠ Warning: You are installing a pre-release build of Cypress.

Bugs may be present which do not exist in production builds.

This build was created from:
  * Commit SHA: 372515829e82fc3542891cf92f83579e01f530e7
  * Commit Branch: develop
  * Commit Timestamp: 2023-12-14T18:28:18.000Z

Installing Cypress (version: https://cdn.cypress.io/beta/binary/13.6.2/darwin-arm64/develop-372515829e82fc3542891cf92f83579e01f530e7/cypress.zip)

[STARTED] Task without title.
[FAILED] The Cypress App could not be downloaded.
[FAILED] 
[FAILED] Does your workplace require a proxy to be used to access the Internet? If so, you must configure the HTTP_PROXY environment variable before downloading Cypress. Read more: https://on.cypress.io/proxy-configuration
[FAILED] 
[FAILED] Otherwise, please check network connectivity and try again:
[FAILED] 
[FAILED] ----------
[FAILED] 
[FAILED] URL: https://cdn.cypress.io/beta/binary/13.6.2/darwin-arm64/develop-372515829e82fc3542891cf92f83579e01f530e7/cypress.zip
[FAILED] Error: Failed downloading the Cypress binary.
[FAILED] Response code: 404
[FAILED] Response message: Not Found
[FAILED] 
[FAILED] ----------
[FAILED] 
[FAILED] Platform: darwin-arm64 (23.2.0)
[FAILED] Cypress Version: 13.6.2
The Cypress App could not be downloaded.

Does your workplace require a proxy to be used to access the Internet? If so, you must configure the HTTP_PROXY environment variable before downloading Cypress. Read more: https://on.cypress.io/proxy-configuration

Otherwise, please check network connectivity and try again:

----------

URL: https://cdn.cypress.io/beta/binary/13.6.2/darwin-arm64/develop-372515829e82fc3542891cf92f83579e01f530e7/cypress.zip
Error: Failed downloading the Cypress binary.
Response code: 404
Response message: Not Found

----------

Platform: darwin-arm64 (23.2.0)
Cypress Version: 13.6.2

When running in a browser, I do get a .zip being downloaded, which does contain a valid Cypress.app. Having said that, the server does seem to return a 404:

curl --head https://cdn.cypress.io/beta/binary/13.6.2/darwin-arm64/develop-372515829e82fc3542891cf92f83579e01f530e7/cypress.zip
HTTP/2 404
...
karlhorky commented 10 months ago

@bengry it looks like Cypress is downloading the app with the darwin-arm64 platform (Apple Silicon machines), probably same issue that I reported in my message above:

[FAILED] Platform: darwin-arm64 (23.2.0)
[FAILED] Cypress Version: 13.6.2
The Cypress App could not be downloaded.

The way I got around this was to run the tests only on GitHub Actions CI:

I don't think there is currently a way to run the fixed version of Cypress on Apple Silicon machines like M1, M2, M3, and the new version has not yet been released.

cc @jennifer-shehane

bengry commented 10 months ago

@bengry it looks like Cypress is downloading the app with the darwin-arm64 platform (Apple Silicon machines), probably same issue that I reported in my message above:

[FAILED] Platform: darwin-arm64 (23.2.0)
[FAILED] Cypress Version: 13.6.2
The Cypress App could not be downloaded.

The way I got around this was to run the tests only on GitHub Actions CI:

I don't think there is currently a way to run the fixed version of Cypress on Apple Silicon machines like M1, M2, M3, and the new version has not yet been released.

cc @jennifer-shehane

Got it, I thought I that it was also built for macOS. I'm on an M1 Macbook, so the darwin-arm64 is expected. Running Cypress only in CI is a no-go for us, we need to be able to run it locally as well.

This is a blocker for us for upgrading to TypeScript 5.3, so releasing a 13.6.2 version with the fix for this (which, to my understanding, was already merged) would be greatly appreciated.

cypress-bot[bot] commented 10 months ago

Released in 13.6.2.

This comment thread has been locked. If you are still experiencing this issue after upgrading to Cypress v13.6.2, please open a new issue.