Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support file can't be loaded if its path contains "node_modules" #24685

Closed
qwazimoda opened this issue Nov 15, 2022 · 4 comments
Closed

Support file can't be loaded if its path contains "node_modules" #24685

qwazimoda opened this issue Nov 15, 2022 · 4 comments

Comments

@qwazimoda
Copy link
Contributor

Current behavior

If a project is located in a folder, which path contains "node_modules", cypress can't be started inside it due to "Your supportFile is missing or invalid" error.
Below are screenshots of run and open commands:
run
open

Desired behavior

there should be a way to point to the support file.

Test code to reproduce

The issue was reproduced with the cypress examples repo - https://github.com/cypress-io/cypress-example-recipes

Steps to reproduce:

  1. clone the cypress examples repo into a folder with "node_modules" in its path, f.e. "c:\app\node_modules" or "/opt/company/app/node_modules"
  2. install packages and run a project (fundamentals__typescript was used in the test)

Test results: "Your supportFile is missing or invalid" error is shown

NOTE: "node_modules" in the project's path could lead to preprocessing errors due to ignoring "node_modules" by default. It is ok and not a problem since it can be reconfigured.

Cypress Version

10.11.0, 11.0.1

Node version

v16.18.1

Operating System

windows 10.0.19043, macOS 12.6.1

Debug Logs

$ DEBUG=cypress:* npx cypress run
2022-11-15T01:16:48.294Z cypress:cli:cli cli starts with arguments ["C:\\Program Files\\nodejs\\node.exe","C:\\node_modules\\cypress-example-recipes\\node_modules\\cypress\\bin\\cypress","run"]
2022-11-15T01:16:48.295Z cypress:cli NODE_OPTIONS is not set
2022-11-15T01:16:48.295Z cypress:cli:cli program parsing arguments
2022-11-15T01:16:48.300Z cypress:cli:cli running Cypress with args [ Command { _events: [Object: null prototype] { 'option:browser': [Function (anonymous)], 'option:ci-build-id': [Function (anonymous)], 'option:component': [Function (anonymous)], 'option:config': [Function (anonymous)], 'option:config-file': [Function (anonymous)], 'option:e2e': [Function (anonymous)], 'option:env': [Function (anonymous)], 'option:group': [Function (anonymous)], 'option:key': [Function (anonymous)], 'option:headed': [Function (anonymous)], 'option:headless': [Function (anonymous)], 'option:no-exit': [Function (anonymous)], 'option:parallel': [Function (anonymous)], 'option:port': [Function (anonymous)], 'option:project': [Function (anonymous)], 'option:quiet': [Function (anonymous)], 'option:record': [Function (anonymous)], 'option:reporter': [Function (anonymous)], 'option:reporter-options': [Function (anonymous)], 'option:spec': [Function (anonymous)], 'option:tag': [Function (anonymous)], 'option:dev': [Function (anonymous)] }, _eventsCount: 22, _maxListeners: undefined, commands: [], options: [ [Option], [Option], [Option], [Option], [Option], [Option], [Option], [Option], [Option], [Option], [Option], [Option], [Option], [Option], [Option], [Option], [Option], [Option], [Option], [Option], [Option], [Option] ], parent: Command { _events: [Object: null prototype], _eventsCount: 1, _maxListeners: undefined, commands: [Array], options: [Array], parent: null, _allowUnknownOption: false, _args: [], rawArgs: [Array], _scriptPath: 'C:\\node_modules\\cypress-example-recipes\\node_modules\\cypress\\bin\\cypress', _name: 'cypress', _optionValues: {}, _storeOptionsAsProperties: true, _passCommandToAction: true, _actionResults: [], _actionHandler: null, _executableHandler: false, _executableFile: null, _defaultCommandName: null, _exitCallback: null, _aliases: [], _hidden: false, _helpFlags: '-h, --help', _helpDescription: 'display help for command', _helpShortFlag: '-h', _helpLongFlag: '--help', _hasImplicitHelpCommand: undefined, _helpCommandName: 'help', _helpCommandnameAndArgs: 'help [command]', _helpCommandDescription: 'display help for command', _usage: '<command> [options]', args: [Array], [Symbol(kCapture)]: false }, _allowUnknownOption: false, _args: [], rawArgs: null, _scriptPath: null, _name: 'run', _optionValues: {}, _storeOptionsAsProperties: true, _passCommandToAction: true, _actionResults: [], _actionHandler: [Function: listener], _executableHandler: false, _executableFile: null, _defaultCommandName: null, _exitCallback: null, _aliases: [], _hidden: false, _helpFlags: '-h, --help', _helpDescription: 'display help for command', _helpShortFlag: '-h', _helpLongFlag: '--help', _hasImplicitHelpCommand: 0, _helpCommandName: 'help', _helpCommandnameAndArgs: 'help [command]', _helpCommandDescription: 'display help for command', _usage: '[options]', _description: 'Runs Cypress tests from the CLI without the GUI', _argsDescription: undefined, exit: true, args: [], [Symbol(kCapture)]: false } ]
2022-11-15T01:16:48.939Z cypress:cli:cli variable-length opts parsed { args: [ 'C:\\Program Files\\nodejs\\node.exe', 'C:\\node_modules\\cypress-example-recipes\\node_modules\\cypress\\bin\\cypress', 'run' ], opts: Command { _events: [Object: null prototype] { 'option:browser': [Function (anonymous)], 'option:ci-build-id': [Function (anonymous)], 'option:component': [Function (anonymous)], 'option:config': [Function (anonymous)], 'option:config-file': [Function (anonymous)], 'option:e2e': [Function (anonymous)], 'option:env': [Function (anonymous)], 'option:group': [Function (anonymous)], 'option:key': [Function (anonymous)], 'option:headed': [Function (anonymous)], 'option:headless': [Function (anonymous)], 'option:no-exit': [Function (anonymous)], 'option:parallel': [Function (anonymous)], 'option:port': [Function (anonymous)], 'option:project': [Function (anonymous)], 'option:quiet': [Function (anonymous)], 'option:record': [Function (anonymous)], 'option:reporter': [Function (anonymous)], 'option:reporter-options': [Function (anonymous)], 'option:spec': [Function (anonymous)], 'option:tag': [Function (anonymous)], 'option:dev': [Function (anonymous)] }, _eventsCount: 22, _maxListeners: undefined, commands: [], options: [ [Option], [Option], [Option], [Option], [Option], [Option], [Option], [Option], [Option], [Option], [Option], [Option], [Option], [Option], [Option], [Option], [Option], [Option], [Option], [Option], [Option], [Option] ], parent: Command { _events: [Object: null prototype], _eventsCount: 1, _maxListeners: undefined, commands: [Array], options: [Array], parent: null, _allowUnknownOption: false, _args: [], rawArgs: [Array], _scriptPath: 'C:\\node_modules\\cypress-example-recipes\\node_modules\\cypress\\bin\\cypress', _name: 'cypress', _optionValues: {}, _storeOptionsAsProperties: true, _passCommandToAction: true, _actionResults: [], _actionHandler: null, _executableHandler: false, _executableFile: null, _defaultCommandName: null, _exitCallback: null, _aliases: [], _hidden: false, _helpFlags: '-h, --help', _helpDescription: 'display help for command', _helpShortFlag: '-h', _helpLongFlag: '--help', _hasImplicitHelpCommand: undefined, _helpCommandName: 'help', _helpCommandnameAndArgs: 'help [command]', _helpCommandDescription: 'display help for command', _usage: '<command> [options]', args: [Array], [Symbol(kCapture)]: false }, _allowUnknownOption: false, _args: [], rawArgs: null, _scriptPath: null, _name: 'run', _optionValues: {}, _storeOptionsAsProperties: true, _passCommandToAction: true, _actionResults: [], _actionHandler: [Function: listener], _executableHandler: false, _executableFile: null, _defaultCommandName: null, _exitCallback: null, _aliases: [], _hidden: false, _helpFlags: '-h, --help', _helpDescription: 'display help for command', _helpShortFlag: '-h', _helpLongFlag: '--help', _hasImplicitHelpCommand: 0, _helpCommandName: 'help', _helpCommandnameAndArgs: 'help [command]', _helpCommandDescription: 'display help for command', _usage: '[options]', _description: 'Runs Cypress tests from the CLI without the GUI', _argsDescription: undefined, exit: true, args: [], [Symbol(kCapture)]: false } }
2022-11-15T01:16:48.941Z cypress:cli parsed cli options {}
2022-11-15T01:16:48.942Z cypress:cli verifying Cypress app
2022-11-15T01:16:48.943Z cypress:cli checking environment variables
2022-11-15T01:16:48.945Z cypress:cli checking if executable exists C:\Users\dyurc\AppData\Local\Cypress\Cache\11.0.0\Cypress\Cypress.exe
2022-11-15T01:16:48.950Z cypress:cli Binary is executable? : true
2022-11-15T01:16:48.951Z cypress:cli binaryDir is  C:\Users\dyurc\AppData\Local\Cypress\Cache\11.0.0\Cypress
2022-11-15T01:16:48.951Z cypress:cli Reading binary package.json from: C:\Users\dyurc\AppData\Local\Cypress\Cache\11.0.0\Cypress\resources\app\package.json
2022-11-15T01:16:48.958Z cypress:cli Found binary version 11.0.0 installed in: C:\Users\dyurc\AppData\Local\Cypress\Cache\11.0.0\Cypress
2022-11-15T01:16:48.959Z cypress:cli { verified: true }
2022-11-15T01:16:48.960Z cypress:cli is Verified ? true
2022-11-15T01:16:48.960Z cypress:cli:run processing run options { key: null, spec: null, reporter: null, reporterOptions: null, project: 'C:\\node_modules\\cypress-example-recipes\\examples\\preprocessors__typescript-webpack' }
2022-11-15T01:16:48.961Z cypress:cli:run --key is not set, looking up environment variable CYPRESS_RECORD_KEY
2022-11-15T01:16:48.961Z cypress:cli:run run to spawn.start args ["--run-project","C:\\node_modules\\cypress-example-recipes\\examples\\preprocessors__typescript-webpack"]
2022-11-15T01:16:48.962Z cypress:cli needs to start own Xvfb? false
2022-11-15T01:16:48.962Z cypress:cli spawning, should retry on display problem? false
2022-11-15T01:16:48.970Z cypress:cli spawn args [ '--', '--run-project', 'C:\\node_modules\\cypress-example-recipes\\examples\\preprocessors__typescript-webpack', '--cwd', 'C:\\node_modules\\cypress-example-recipes\\examples\\preprocessors__typescript-webpack', '--userNodePath', 'C:\\Program Files\\nodejs\\node.exe', '--userNodeVersion', '16.18.1' ] { detached: false, stdio: 'pipe', windowsHide: false }
2022-11-15T01:16:48.970Z cypress:cli spawning Cypress with executable: C:\Users\dyurc\AppData\Local\Cypress\Cache\11.0.0\Cypress\Cypress.exe
2022-11-15T01:16:49.021Z cypress:cli piping process STDIN into child STDIN
2022-11-15T01:16:49.022Z cypress:cli piping child STDOUT to process STDOUT
2022-11-15T01:16:49.022Z cypress:cli piping child STDERR to process STDERR

2022-11-15T01:16:49.713Z cypress:snapshot:info Caching 2973, defining 3916 modules! Using cache
2022-11-15T01:16:49.719Z cypress:snapshot:debug initializing packherd require
2022-11-15T01:16:50.023Z cypress:server:cypress starting cypress with argv [ 'C:\\Users\\dyurc\\AppData\\Local\\Cypress\\Cache\\11.0.0\\Cypress\\Cypress.exe', '--', '--run-project', 'C:\\node_modules\\cypress-example-recipes\\examples\\preprocessors__typescript-webpack', '--cwd', 'C:\\node_modules\\cypress-example-recipes\\examples\\preprocessors__typescript-webpack', '--userNodePath', 'C:\\Program Files\\nodejs\\node.exe', '--userNodeVersion', '16.18.1' ]
2022-11-15T01:16:50.023Z cypress:server:args argv array: [ 'C:\\Users\\dyurc\\AppData\\Local\\Cypress\\Cache\\11.0.0\\Cypress\\Cypress.exe', '--run-project', 'C:\\node_modules\\cypress-example-recipes\\examples\\preprocessors__typescript-webpack', '--cwd', 'C:\\node_modules\\cypress-example-recipes\\examples\\preprocessors__typescript-webpack', '--userNodePath', 'C:\\Program Files\\nodejs\\node.exe', '--userNodeVersion', '16.18.1' ]
2022-11-15T01:16:50.025Z cypress:server:args parsed argv options { options: { _: [ 'C:\\Users\\dyurc\\AppData\\Local\\Cypress\\Cache\\11.0.0\\Cypress\\Cypress.exe' ], 'run-project': 'C:\\node_modules\\cypress-example-recipes\\examples\\preprocessors__typescript-webpack', runProject: 'C:\\node_modules\\cypress-example-recipes\\examples\\preprocessors__typescript-webpack', cwd: 'C:\\node_modules\\cypress-example-recipes\\examples\\preprocessors__typescript-webpack', userNodePath: 'C:\\Program Files\\nodejs\\node.exe', userNodeVersion: '16.18.1' } }
2022-11-15T01:16:50.037Z cypress:server:args argv parsed: { _: [ 'C:\\Users\\dyurc\\AppData\\Local\\Cypress\\Cache\\11.0.0\\Cypress\\Cypress.exe' ], runProject: 'C:\\node_modules\\cypress-example-recipes\\examples\\preprocessors__typescript-webpack', cwd: 'C:\\node_modules\\cypress-example-recipes\\examples\\preprocessors__typescript-webpack', userNodePath: 'C:\\Program Files\\nodejs\\node.exe', userNodeVersion: '16.18.1', invokedFromCli: true }
2022-11-15T01:16:50.038Z cypress:server:util:proxy found proxy environment variables { npm_config_noproxy: '' }
2022-11-15T01:16:50.049Z cypress:server:util:proxy HTTP_PROXY is falsy, disabling HTTP_PROXY
2022-11-15T01:16:50.049Z cypress:server:util:proxy setting default NO_PROXY of ``
2022-11-15T01:16:50.049Z cypress:server:util:proxy <-loopback> not found, adding localhost to NO_PROXY
2022-11-15T01:16:50.049Z cypress:server:util:proxy normalized proxy environment variables { NO_PROXY: '127.0.0.1,::1,localhost' }
2022-11-15T01:16:50.051Z cypress:server:args options { _: [ 'C:\\Users\\dyurc\\AppData\\Local\\Cypress\\Cache\\11.0.0\\Cypress\\Cypress.exe' ], runProject: 'C:\\node_modules\\cypress-example-recipes\\examples\\preprocessors__typescript-webpack', cwd: 'C:\\node_modules\\cypress-example-recipes\\examples\\preprocessors__typescript-webpack', userNodePath: 'C:\\Program Files\\nodejs\\node.exe', userNodeVersion: '16.18.1', invokedFromCli: true, config: {} }
2022-11-15T01:16:50.051Z cypress:server:args argv options: { _: [ 'C:\\Users\\dyurc\\AppData\\Local\\Cypress\\Cache\\11.0.0\\Cypress\\Cypress.exe' ], runProject: 'C:\\node_modules\\cypress-example-recipes\\examples\\preprocessors__typescript-webpack', cwd: 'C:\\node_modules\\cypress-example-recipes\\examples\\preprocessors__typescript-webpack', userNodePath: 'C:\\Program Files\\nodejs\\node.exe', userNodeVersion: '16.18.1', invokedFromCli: true, config: {}, projectRoot: 'C:\\node_modules\\cypress-example-recipes\\examples\\preprocessors__typescript-webpack' }
2022-11-15T01:16:50.052Z cypress:server:cypress from argv [ 'C:\\Users\\dyurc\\AppData\\Local\\Cypress\\Cache\\11.0.0\\Cypress\\Cypress.exe', '--run-project', 'C:\\node_modules\\cypress-example-recipes\\examples\\preprocessors__typescript-webpack', '--cwd', 'C:\\node_modules\\cypress-example-recipes\\examples\\preprocessors__typescript-webpack', '--userNodePath', 'C:\\Program Files\\nodejs\\node.exe', '--userNodeVersion', '16.18.1' ] got options { _: [ 'C:\\Users\\dyurc\\AppData\\Local\\Cypress\\Cache\\11.0.0\\Cypress\\Cypress.exe' ], runProject: 'C:\\node_modules\\cypress-example-recipes\\examples\\preprocessors__typescript-webpack', cwd: 'C:\\node_modules\\cypress-example-recipes\\examples\\preprocessors__typescript-webpack', userNodePath: 'C:\\Program Files\\nodejs\\node.exe', userNodeVersion: '16.18.1', invokedFromCli: true, config: {}, projectRoot: 'C:\\node_modules\\cypress-example-recipes\\examples\\preprocessors__typescript-webpack' }
2022-11-15T01:16:50.052Z cypress:server:cypress scaling electron app in headless mode
2022-11-15T01:16:50.192Z cypress:server:appdata path: C:\Users\dyurc\AppData\Roaming\Cypress\cy\production
2022-11-15T01:16:50.204Z cypress:server:cypress starting in mode run with options { _: [ 'C:\\Users\\dyurc\\AppData\\Local\\Cypress\\Cache\\11.0.0\\Cypress\\Cypress.exe' ], runProject: 'C:\\node_modules\\cypress-example-recipes\\examples\\preprocessors__typescript-webpack', cwd: 'C:\\node_modules\\cypress-example-recipes\\examples\\preprocessors__typescript-webpack', userNodePath: 'C:\\Program Files\\nodejs\\node.exe', userNodeVersion: '16.18.1', invokedFromCli: true, config: {}, projectRoot: 'C:\\node_modules\\cypress-example-recipes\\examples\\preprocessors__typescript-webpack' }
2022-11-15T01:16:50.205Z cypress:server:cypress running Electron currently
2022-11-15T01:16:50.325Z cypress:graphql:nexusDeferIfNotLoadedPlugin Adding nexusDeferIfNotLoadedPlugin for Query.cloudLatestRunUpdateSpecData
2022-11-15T01:16:50.325Z cypress:graphql:nexusDeferIfNotLoadedPlugin Adding nexusDeferIfNotLoadedPlugin for Query.cloudProjectBySlug
2022-11-15T01:16:50.325Z cypress:graphql:nexusDeferIfNotLoadedPlugin Adding nexusDeferIfNotLoadedPlugin for Query.cloudProjectsBySlugs
2022-11-15T01:16:50.325Z cypress:graphql:nexusDeferIfNotLoadedPlugin Adding nexusDeferIfNotLoadedPlugin for Query.cloudSpecByPath
2022-11-15T01:16:50.325Z cypress:graphql:nexusDeferIfNotLoadedPlugin Adding nexusDeferIfNotLoadedPlugin for Query.cloudViewer
2022-11-15T01:16:50.326Z cypress:graphql:nexusDeferIfNotLoadedPlugin Adding nexusDeferIfNotLoadedPlugin for Query.versions
2022-11-15T01:16:50.328Z cypress:graphql:nexusDeferIfNotLoadedPlugin Adding nexusDeferIfNotLoadedPlugin for CurrentProject.cloudProject
2022-11-15T01:16:50.333Z cypress:graphql:nexusDeferIfNotLoadedPlugin Adding nexusDeferIfNotLoadedPlugin for RemoteFetchableCloudProjectResult.data
2022-11-15T01:16:50.334Z cypress:graphql:nexusDeferIfNotLoadedPlugin Adding nexusDeferIfNotLoadedPlugin for RemoteFetchableCloudProjectSpecResult.data
2022-11-15T01:16:50.376Z cypress:server:browsers:utils getBrowsers
2022-11-15T01:16:50.380Z 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+)/m, binary: [ 'edge', 'microsoft-edge' ], minSupportedVersion: 79 }, { name: 'edge', family: 'chromium', channel: 'canary', displayName: 'Edge Canary', versionRegex: /Microsoft Edge Canary (\S+)/m, binary: 'edge-canary', minSupportedVersion: 79 }, { name: 'edge', family: 'chromium', channel: 'beta', displayName: 'Edge Beta', versionRegex: /Microsoft Edge Beta (\S+)/m, binary: 'edge-beta', minSupportedVersion: 79 }, { name: 'edge', family: 'chromium', channel: 'dev', displayName: 'Edge Dev', versionRegex: /Microsoft Edge Dev (\S+)/m, binary: [ 'edge-dev', 'microsoft-edge-dev' ], minSupportedVersion: 79 } ]
2022-11-15T01:16:50.436Z 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\dyurc\AppData\Local\Cypress\Cache\11.0.0\Cypress\resources\app\packages\v8-snapshot-require\dist\snapshot-require.js - C:\Users\dyurc\AppData\Local\Cypress\Cache\11.0.0\Cypress\resources\app\packages\server\hook-require.js - C:\Users\dyurc\AppData\Local\Cypress\Cache\11.0.0\Cypress\resources\app\packages\server\index.js - C:\Users\dyurc\AppData\Local\Cypress\Cache\11.0.0\Cypress\resources\app\index.js - at Module._resolveFilename (node:internal/modules/cjs/loader:940:15) at n._resolveFilename (node:electron/js2c/browser_init:249:1105) at resolve (node:internal/modules/cjs/helpers:108:19) at require.resolve (C:\Users\dyurc\AppData\Local\Cypress\Cache\11.0.0\Cypress\resources\app\packages\v8-snapshot-require\dist\snapshot-require.js:218:24) at customRequire.resolve (<embedded>:2809:961090) at B (<embedded>:2744:223669) at Object.U [as getBrowsers] (<embedded>:2744:224526) at f.machineBrowsers (<embedded>:2344:141744) at E._setCurrentProject (<embedded>:2514:34219) at new E (<embedded>:2514:27377) at new I (<embedded>:2514:106687) at I (<embedded>:2802:349823) at s.exports (<embedded>:2802:439537) at <embedded>:2809:2593 at tryCatcher (C:\Users\dyurc\AppData\Local\Cypress\Cache\11.0.0\Cypress\resources\app\node_modules\bluebird\js\release\util.js:16:23) at Promise.attempt.Promise.try (C:\Users\dyurc\AppData\Local\Cypress\Cache\11.0.0\Cypress\resources\app\node_modules\bluebird\js\release\method.js:39:29) at Object.runElectron (<embedded>:2809:2364) at Object.startInMode (<embedded>:2809:4828) at <embedded>:2809:3923 at tryCatcher (C:\Users\dyurc\AppData\Local\Cypress\Cache\11.0.0\Cypress\resources\app\node_modules\bluebird\js\release\util.js:16:23) at Promise._settlePromiseFromHandler (C:\Users\dyurc\AppData\Local\Cypress\Cache\11.0.0\Cypress\resources\app\node_modules\bluebird\js\release\promise.js:512:31) at Promise._settlePromise (C:\Users\dyurc\AppData\Local\Cypress\Cache\11.0.0\Cypress\resources\app\node_modules\bluebird\js\release\promise.js:569:18) at Promise._settlePromise0 (C:\Users\dyurc\AppData\Local\Cypress\Cache\11.0.0\Cypress\resources\app\node_modules\bluebird\js\release\promise.js:614:10) at Promise._settlePromises (C:\Users\dyurc\AppData\Local\Cypress\Cache\11.0.0\Cypress\resources\app\node_modules\bluebird\js\release\promise.js:694:18) at Promise._fulfill (C:\Users\dyurc\AppData\Local\Cypress\Cache\11.0.0\Cypress\resources\app\node_modules\bluebird\js\release\promise.js:638:18) at Promise._settlePromise (C:\Users\dyurc\AppData\Local\Cypress\Cache\11.0.0\Cypress\resources\app\node_modules\bluebird\js\release\promise.js:582:21) at Promise._settlePromise0 (C:\Users\dyurc\AppData\Local\Cypress\Cache\11.0.0\Cypress\resources\app\node_modules\bluebird\js\release\promise.js:614:10) at Promise._settlePromises (C:\Users\dyurc\AppData\Local\Cypress\Cache\11.0.0\Cypress\resources\app\node_modules\bluebird\js\release\promise.js:694:18) at Promise._fulfill (C:\Users\dyurc\AppData\Local\Cypress\Cache\11.0.0\Cypress\resources\app\node_modules\bluebird\js\release\promise.js:638:18) at Promise._settlePromise (C:\Users\dyurc\AppData\Local\Cypress\Cache\11.0.0\Cypress\resources\app\node_modules\bluebird\js\release\promise.js:582:21) at Promise._settlePromise0 (C:\Users\dyurc\AppData\Local\Cypress\Cache\11.0.0\Cypress\resources\app\node_modules\bluebird\js\release\promise.js:614:10) at Promise._settlePromises (C:\Users\dyurc\AppData\Local\Cypress\Cache\11.0.0\Cypress\resources\app\node_modules\bluebird\js\release\promise.js:694:18) at Promise._fulfill (C:\Users\dyurc\AppData\Local\Cypress\Cache\11.0.0\Cypress\resources\app\node_modules\bluebird\js\release\promise.js:638:18) at PromiseArray._resolve (C:\Users\dyurc\AppData\Local\Cypress\Cache\11.0.0\Cypress\resources\app\node_modules\bluebird\js\release\promise_array.js:126:19) at PromiseArray._promiseFulfilled (C:\Users\dyurc\AppData\Local\Cypress\Cache\11.0.0\Cypress\resources\app\node_modules\bluebird\js\release\promise_array.js:144:14) at Promise._settlePromise (C:\Users\dyurc\AppData\Local\Cypress\Cache\11.0.0\Cypress\resources\app\node_modules\bluebird\js\release\promise.js:574:26) at Promise._settlePromise0 (C:\Users\dyurc\AppData\Local\Cypress\Cache\11.0.0\Cypress\resources\app\node_modules\bluebird\js\release\promise.js:614:10) at Promise._settlePromises (C:\Users\dyurc\AppData\Local\Cypress\Cache\11.0.0\Cypress\resources\app\node_modules\bluebird\js\release\promise.js:694:18) at Promise._fulfill (C:\Users\dyurc\AppData\Local\Cypress\Cache\11.0.0\Cypress\resources\app\node_modules\bluebird\js\release\promise.js:638:18) at C:\Users\dyurc\AppData\Local\Cypress\Cache\11.0.0\Cypress\resources\app\node_modules\bluebird\js\release\nodeback.js:42:21 at <embedded>:219:89409 { code: 'MODULE_NOT_FOUND', requireStack: [ 'C:\\Users\\dyurc\\AppData\\Local\\Cypress\\Cache\\11.0.0\\Cypress\\resources\\app\\packages\\v8-snapshot-require\\dist\\snapshot-require.js', 'C:\\Users\\dyurc\\AppData\\Local\\Cypress\\Cache\\11.0.0\\Cypress\\resources\\app\\packages\\server\\hook-require.js', 'C:\\Users\\dyurc\\AppData\\Local\\Cypress\\Cache\\11.0.0\\Cypress\\resources\\app\\packages\\server\\index.js', 'C:\\Users\\dyurc\\AppData\\Local\\Cypress\\Cache\\11.0.0\\Cypress\\resources\\app\\index.js', undefined ] } }
2022-11-15T01:16:50.438Z cypress:data-context:sources:GitDataSource config: { isRunMode: true, projectRoot: 'C:\\node_modules\\cypress-example-recipes\\examples\\preprocessors__typescript-webpack', onError: [Function (anonymous)], onBranchChange: [Function: onBranchChange], onGitInfoChange: [Function: onGitInfoChange] }
2022-11-15T01:16:50.458Z cypress:scaffold-config:detect Detected cypress.config.js - using JS
2022-11-15T01:16:50.524Z cypress:server:video using ffmpeg from C:\Users\dyurc\AppData\Local\Cypress\Cache\11.0.0\Cypress\resources\app\node_modules\@ffmpeg-installer\win32-x64\ffmpeg.exe
2022-11-15T01:16:50.541Z cypress:server:performance-benchmark elapsed time at run mode ready: 864.11ms
2022-11-15T01:16:50.572Z cypress:lifecycle:ProjectConfigIpc fork child process { CHILD_PROCESS_FILE_PATH: 'C:\\Users\\dyurc\\AppData\\Local\\Cypress\\Cache\\11.0.0\\Cypress\\resources\\app\\node_modules\\@packages\\server\\lib\\plugins\\child\\require_async_child.js', configProcessArgs: [ '--projectRoot', 'C:\\node_modules\\cypress-example-recipes\\examples\\preprocessors__typescript-webpack', '--file', 'C:\\node_modules\\cypress-example-recipes\\examples\\preprocessors__typescript-webpack\\cypress.config.js' ], childOptions: { stdio: 'pipe', cwd: 'C:\\node_modules\\cypress-example-recipes\\examples\\preprocessors__typescript-webpack', execPath: 'C:\\Program Files\\nodejs\\node.exe' } }
2022-11-15T01:16:50.576Z cypress:lifecycle:ProjectConfigIpc found typescript in C:\node_modules\cypress-example-recipes\examples\preprocessors__typescript-webpack
2022-11-15T01:16:50.576Z cypress:lifecycle:ProjectConfigIpc using cjs with --require C:/Users/dyurc/AppData/Local/Cypress/Cache/11.0.0/Cypress/resources/app/node_modules/@packages/server/lib/plugins/child/register_ts_node.js
2022-11-15T01:16:50.587Z cypress:lifecycle:ProjectConfigIpc trigger the load of the file
2022-11-15T01:16:50.616Z cypress:launcher:windows got version string for chrome: { exePath: 'C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe', version: '107.0.5304.107' }
2022-11-15T01:16:50.629Z 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 (<embedded>:2527:91229) at a (<embedded>:2527:104005) at <embedded>:2527:104343 { notInstalled: true } }
2022-11-15T01:16:50.632Z cypress:launcher:windows error while looking up exe, trying next exePath { exePath: 'C:\\Program Files\\Google\\Chrome Beta\\Application\\chrome.exe', exePaths: [], err: Error: Browser not installed: chrome at r (<embedded>:2527:91229) at a (<embedded>:2527:104005) at <embedded>:2527:104343 { notInstalled: true } }
2022-11-15T01:16:50.633Z cypress:launcher:windows error while looking up exe, trying next exePath { exePath: 'C:\\Program Files (x86)\\Google\\Chrome Beta\\Application\\chrome.exe', exePaths: [], err: Error: Browser not installed: chrome at r (<embedded>:2527:91229) at a (<embedded>:2527:104005) at <embedded>:2527:104444 { notInstalled: true } }
2022-11-15T01:16:50.635Z cypress:launcher:windows error while looking up exe, trying next exePath { exePath: 'C:\\Users\\dyurc\\AppData\\Local\\Google\\Chrome SxS\\Application\\chrome.exe', exePaths: [], err: Error: Browser not installed: chrome at r (<embedded>:2527:91229) at a (<embedded>:2527:104005) at <embedded>:2527:104343 { notInstalled: true } }
2022-11-15T01:16:50.637Z cypress:launcher:windows error while looking up exe, trying next exePath { exePath: 'C:\\Users\\dyurc\\AppData\\Local\\Mozilla Firefox\\firefox.exe', exePaths: [], err: Error: Browser not installed: firefox at r (<embedded>:2527:91229) at a (<embedded>:2527:104005) at <embedded>:2527:104343 { notInstalled: true } }
2022-11-15T01:16:50.637Z cypress:launcher:windows error while looking up exe, trying next exePath { exePath: 'C:\\Program Files (x86)\\Mozilla Firefox\\firefox.exe', exePaths: [], err: Error: Browser not installed: firefox at r (<embedded>:2527:91229) at a (<embedded>:2527:104005) at <embedded>:2527:104444 { notInstalled: true } }
2022-11-15T01:16:50.638Z cypress:launcher:windows error while looking up exe, trying next exePath { exePath: 'C:\\Program Files\\Mozilla Firefox\\firefox.exe', exePaths: [], err: Error: Browser not installed: firefox at r (<embedded>:2527:91229) at a (<embedded>:2527:104005) at <embedded>:2527:104444 { notInstalled: true } }
2022-11-15T01:16:50.640Z cypress:launcher:windows error while looking up exe, trying next exePath { exePath: 'C:\\Users\\dyurc\\AppData\\Local\\Firefox Developer Edition\\firefox.exe', exePaths: [], err: Error: Browser not installed: firefox at r (<embedded>:2527:91229) at a (<embedded>:2527:104005) at <embedded>:2527:104343 { notInstalled: true } }
2022-11-15T01:16:50.641Z 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 (<embedded>:2527:91229) at a (<embedded>:2527:104005) at <embedded>:2527:104444 { notInstalled: true } }
2022-11-15T01:16:50.641Z 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 (<embedded>:2527:91229) at a (<embedded>:2527:104005) at <embedded>:2527:104444 { notInstalled: true } }
2022-11-15T01:16:50.643Z cypress:launcher:windows error while looking up exe, trying next exePath { exePath: 'C:\\Users\\dyurc\\AppData\\Local\\Firefox Nightly\\firefox.exe', exePaths: [], err: Error: Browser not installed: firefox at r (<embedded>:2527:91229) at a (<embedded>:2527:104005) at <embedded>:2527:104343 { notInstalled: true } }
2022-11-15T01:16:50.643Z 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 (<embedded>:2527:91229) at a (<embedded>:2527:104005) at <embedded>:2527:104444 { notInstalled: true } }
2022-11-15T01:16:50.644Z 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 (<embedded>:2527:91229) at a (<embedded>:2527:104005) at <embedded>:2527:104444 { notInstalled: true } }
2022-11-15T01:16:50.646Z cypress:launcher:windows got version string for edge: { exePath: 'C:\\Program Files (x86)\\Microsoft\\Edge\\Application\\msedge.exe', version: '107.0.1418.42' }
2022-11-15T01:16:50.648Z cypress:launcher:windows error while looking up exe, trying next exePath { exePath: 'C:\\Users\\dyurc\\AppData\\Local\\Microsoft\\Edge SxS\\Application\\msedge.exe', exePaths: [], err: Error: Browser not installed: edge at r (<embedded>:2527:91229) at a (<embedded>:2527:104005) at <embedded>:2527:104343 { notInstalled: true } }
2022-11-15T01:16:50.650Z 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 (<embedded>:2527:91229) at a (<embedded>:2527:104005) at <embedded>:2527:104343 { notInstalled: true } }
2022-11-15T01:16:50.652Z 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 (<embedded>:2527:91229) at a (<embedded>:2527:104005) at <embedded>:2527:104343 { notInstalled: true } }
2022-11-15T01:16:50.654Z cypress:server:browsers:utils found browsers { browsers: [ { name: 'chrome', family: 'chromium', channel: 'stable', displayName: 'Chrome', version: '107.0.5304.107', path: 'C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe', minSupportedVersion: 64, majorVersion: '107' }, { name: 'edge', family: 'chromium', channel: 'stable', displayName: 'Edge', version: '107.0.1418.42', path: 'C:\\Program Files (x86)\\Microsoft\\Edge\\Application\\msedge.exe', minSupportedVersion: 79, majorVersion: '107' } ] }
2022-11-15T01:16:50.808Z cypress:server:util:process_profiler current & mean memory and CPU usage by process group:
┌─────────┬───────────┬──────────────┬───────────────────────────┬────────────┬────────────────┬──────────┬──────────────┬─────────────┐
│ (index) │   group   │ processCount │           pids            │ cpuPercent │ meanCpuPercent │ memRssMb │ meanMemRssMb │ maxMemRssMb │
├─────────┼───────────┼──────────────┼───────────────────────────┼────────────┼────────────────┼──────────┼──────────────┼─────────────┤
│    0    │ 'cypress' │      1       │          '9224'           │     0      │       0        │  243.18  │    243.18    │   243.18    │
│    1    │  'other'  │      4       │ '18944, 7712, 8808, 8036' │     0      │       0        │  61.11   │    61.11     │    61.11    │
│    2    │  'TOTAL'  │      5       │            '-'            │     0      │       0        │  304.29  │    304.29    │   304.29    │
└─────────┴───────────┴──────────────┴───────────────────────────┴────────────┴────────────────┴──────────┴──────────────┴─────────────┘
2022-11-15T01:16:50.995Z cypress:server:register-ts-node executing register_ts_node with args { _: [ 'C:\\Program Files\\nodejs\\node.exe', 'C:\\Users\\dyurc\\AppData\\Local\\Cypress\\Cache\\11.0.0\\Cypress\\resources\\app\\node_modules\\@packages\\server\\lib\\plugins\\child\\require_async_child.js' ], projectRoot: 'C:\\node_modules\\cypress-example-recipes\\examples\\preprocessors__typescript-webpack', file: 'C:\\node_modules\\cypress-example-recipes\\examples\\preprocessors__typescript-webpack\\cypress.config.js' }
2022-11-15T01:16:50.996Z cypress:server:register-ts-node registering ts-node for projectRoot: C:\node_modules\cypress-example-recipes\examples\preprocessors__typescript-webpack and file: C:\node_modules\cypress-example-recipes\examples\preprocessors__typescript-webpack\cypress.config.js
2022-11-15T01:16:50.996Z cypress:server:ts-node projectRoot path: C:\node_modules\cypress-example-recipes\examples\preprocessors__typescript-webpack
2022-11-15T01:16:50.996Z cypress:server:ts-node registeredFile: C:\node_modules\cypress-example-recipes\examples\preprocessors__typescript-webpack\cypress.config.js
2022-11-15T01:16:50.996Z cypress:server:plugins resolving typescript with projectRoot 'C:\\node_modules\\cypress-example-recipes\\examples\\preprocessors__typescript-webpack'
2022-11-15T01:16:50.998Z cypress:server:plugins resolved typescript C:\node_modules\cypress-example-recipes\node_modules\typescript\lib\typescript.js
2022-11-15T01:16:50.998Z cypress:server:ts-node typescript path: C:\node_modules\cypress-example-recipes\node_modules\typescript\lib\typescript.js
2022-11-15T01:16:51.224Z cypress:server:ts-node registering project TS with options { compiler: 'C:\\node_modules\\cypress-example-recipes\\node_modules\\typescript\\lib\\typescript.js', compilerOptions: { module: 'commonjs' }, dir: 'C:\\node_modules\\cypress-example-recipes\\examples\\preprocessors__typescript-webpack', transpileOnly: true }
Missing baseUrl in compilerOptions. tsconfig-paths will be skipped
2022-11-15T01:16:51.433Z cypress:lifecycle:child:run_require_async_child:6672 configFile: C:\node_modules\cypress-example-recipes\examples\preprocessors__typescript-webpack\cypress.config.js
2022-11-15T01:16:51.433Z cypress:lifecycle:child:run_require_async_child:6672 projectRoot: C:\node_modules\cypress-example-recipes\examples\preprocessors__typescript-webpack
2022-11-15T01:16:51.436Z cypress:lifecycle:child:run_require_async_child:6672 try loading C:\node_modules\cypress-example-recipes\examples\preprocessors__typescript-webpack\cypress.config.js
2022-11-15T01:16:51.436Z cypress:lifecycle:child:run_require_async_child:6672 Loading file C:\node_modules\cypress-example-recipes\examples\preprocessors__typescript-webpack\cypress.config.js
2022-11-15T01:16:51.839Z cypress:cli exporting Cypress module interface
2022-11-15T01:16:53.933Z cypress:lifecycle:child:run_require_async_child:6672 loaded config file C:\node_modules\cypress-example-recipes\examples\preprocessors__typescript-webpack\cypress.config.js
2022-11-15T01:16:53.936Z cypress:lifecycle:ProjectConfigIpc loadConfig:reply
2022-11-15T01:16:53.936Z cypress:lifecycle:ProjectConfigManager config is loaded for file C:\node_modules\cypress-example-recipes\examples\preprocessors__typescript-webpack\cypress.config.js null
2022-11-15T01:16:53.936Z cypress:config:browser validating configuration
2022-11-15T01:16:53.935Z cypress:lifecycle:child:run_require_async_child:6672 loaded config from C:\node_modules\cypress-example-recipes\examples\preprocessors__typescript-webpack\cypress.config.js { fixturesFolder: false, e2e: { supportFile: 'cypress/support/e2e.ts', setupNodeEvents: [Function: setupNodeEvents] } }
2022-11-15T01:16:53.943Z cypress:config:browser validating configuration
2022-11-15T01:16:53.945Z cypress:config:project setting config object { cliConfig: {}, projectName: 'preprocessors__typescript-webpack', projectRoot: 'C:\\node_modules\\cypress-example-recipes\\examples\\preprocessors__typescript-webpack', repoRoot: 'C:/node_modules/cypress-example-recipes', config: { fixturesFolder: false, e2e: { supportFile: 'cypress/support/e2e.ts', setupNodeEvents: '[Function setupNodeEvents]' }, supportFile: 'cypress/support/e2e.ts', setupNodeEvents: '[Function setupNodeEvents]' }, envFile: {}, options: { _: [ 'C:\\Users\\dyurc\\AppData\\Local\\Cypress\\Cache\\11.0.0\\Cypress\\Cypress.exe' ], runProject: 'C:\\node_modules\\cypress-example-recipes\\examples\\preprocessors__typescript-webpack', cwd: 'C:\\node_modules\\cypress-example-recipes\\examples\\preprocessors__typescript-webpack', userNodePath: 'C:\\Program Files\\nodejs\\node.exe', userNodeVersion: '16.18.1', invokedFromCli: true, config: {}, projectRoot: 'C:\\node_modules\\cypress-example-recipes\\examples\\preprocessors__typescript-webpack', socketId: 'dfcx8jscir', isTextTerminal: true, browser: 'electron', quiet: false, morgan: false, report: true, testingType: 'e2e', configFile: 'cypress.config.js' }, configFile: 'cypress.config.js' }
2022-11-15T01:16:53.945Z cypress:config:project config is { fixturesFolder: false, e2e: { supportFile: 'cypress/support/e2e.ts', setupNodeEvents: '[Function setupNodeEvents]' }, supportFile: 'cypress/support/e2e.ts', setupNodeEvents: '[Function setupNodeEvents]' }
2022-11-15T01:16:53.947Z cypress:config:project:utils merged config with options, got { fixturesFolder: false, e2e: { supportFile: 'cypress/support/e2e.ts', setupNodeEvents: '[Function setupNodeEvents]' }, supportFile: 'cypress/support/e2e.ts', setupNodeEvents: '[Function setupNodeEvents]', envFile: {}, projectRoot: 'C:\\node_modules\\cypress-example-recipes\\examples\\preprocessors__typescript-webpack', projectName: 'preprocessors__typescript-webpack', repoRoot: 'C:/node_modules/cypress-example-recipes', rawJson: { fixturesFolder: false, e2e: { supportFile: 'cypress/support/e2e.ts', setupNodeEvents: '[Function setupNodeEvents]' }, supportFile: 'cypress/support/e2e.ts', setupNodeEvents: '[Function setupNodeEvents]', envFile: {}, projectRoot: 'C:\\node_modules\\cypress-example-recipes\\examples\\preprocessors__typescript-webpack', projectName: 'preprocessors__typescript-webpack', repoRoot: 'C:/node_modules/cypress-example-recipes' }, configFile: 'cypress.config.js', morgan: false, isTextTerminal: true, socketId: 'dfcx8jscir', report: true }
2022-11-15T01:16:53.949Z cypress:config:project:utils using CYPRESS_INTERNAL_ENV production
2022-11-15T01:16:53.950Z cypress:config:project:utils resolved config is { value: [], from: 'default' }
2022-11-15T01:16:53.950Z cypress:config:browser validating configuration
2022-11-15T01:16:53.951Z cypress:server:validation clientCerts: []
2022-11-15T01:16:53.951Z cypress:config:project:utils validate that there is no breaking config options before setupNodeEvents
2022-11-15T01:16:53.952Z cypress:data-context:sources:FileDataSource updating glob patterns to POSIX
2022-11-15T01:16:53.952Z cypress:data-context:sources:FileDataSource globbing pattern(s): [ 'cypress/support/e2e.ts' ]
2022-11-15T01:16:53.952Z cypress:data-context:sources:FileDataSource within directory: C:\node_modules\cypress-example-recipes\examples\preprocessors__typescript-webpack
2022-11-15T01:16:53.965Z cypress:lifecycle:ProjectConfigManager catch setupNodeEvents Error: Your supportFile is missing or invalid: cypress/support/e2e.ts The supportFile must be a .js, .ts, .coffee file or be supported by your preprocessor plugin (if configured). Fix your support file, or set supportFile to false if a support file is not necessary for your project. If you have just renamed the extension of your supportFile, restart Cypress. https://on.cypress.io/support-file-missing-or-invalid at O (<embedded>:2324:9381) at process.processTicksAndRejections (node:internal/process/task_queues:96:5) at async k.buildBaseFullConfig (<embedded>:2514:23085) at async k.getFullInitialConfig (<embedded>:2514:24532) at async k.setupNodeEvents (<embedded>:2514:18806) { isCypressErr: true, type: 'SUPPORT_FILE_NOT_FOUND', details: undefined, messageMarkdown: 'Your `supportFile` is missing or invalid: `cypress/support/e2e.ts`\n' + '\n' + 'The supportFile must be a .js, .ts, .coffee file or be supported by your preprocessor plugin (if configured).\n' + '\n' + 'Fix your support file, or set supportFile to `false` if a support file is not necessary for your project.\n' + '\n' + 'If you have just renamed the extension of your supportFile, restart Cypress.\n' + '\n' + 'https://on.cypress.io/support-file-missing-or-invalid', originalError: undefined, stackWithoutMessage: '    at O (<embedded>:2324:9381)\n' + '    at process.processTicksAndRejections (node:internal/process/task_queues:96:5)\n' + '    at async k.buildBaseFullConfig (<embedded>:2514:23085)\n' + '    at async k.getFullInitialConfig (<embedded>:2514:24532)\n' + '    at async k.setupNodeEvents (<embedded>:2514:18806)' }
2022-11-15T01:16:53.966Z cypress:server:cypress exiting with err Error: Your supportFile is missing or invalid: cypress/support/e2e.ts

The supportFile must be a .js, .ts, .coffee file or be supported by your preprocessor plugin (if configured).

Fix your support file, or set supportFile to false if a support file is not necessary for your project.

If you have just renamed the extension of your supportFile, restart Cypress.

https://on.cypress.io/support-file-missing-or-invalid
    at O (<embedded>:2324:9381)
    at process.processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async k.buildBaseFullConfig (<embedded>:2514:23085)
    at async k.getFullInitialConfig (<embedded>:2514:24532)
    at async k.setupNodeEvents (<embedded>:2514:18806) {
  isCypressErr: true,
  type: 'SUPPORT_FILE_NOT_FOUND',
  details: undefined,
  messageMarkdown: 'Your `supportFile` is missing or invalid: `cypress/support/e2e.ts`\n' +
    '\n' +
    'The supportFile must be a .js, .ts, .coffee file or be supported by your preprocessor plugin (if configured).\n' +
    '\n' +
    'Fix your support file, or set supportFile to `false` if a support file is not necessary for your project.\n' +
    '\n' +
    'If you have just renamed the extension of your supportFile, restart Cypress.\n' +
    '\n' +
    'https://on.cypress.io/support-file-missing-or-invalid',
  originalError: undefined,
  stackWithoutMessage: '    at O (<embedded>:2324:9381)\n' +
    '    at process.processTicksAndRejections (node:internal/process/task_queues:96:5)\n' +
    '    at async k.buildBaseFullConfig (<embedded>:2514:23085)\n' +
    '    at async k.getFullInitialConfig (<embedded>:2514:24532)\n' +
    '    at async k.setupNodeEvents (<embedded>:2514:18806)'
}
Your supportFile is missing or invalid: cypress/support/e2e.ts

The supportFile must be a .js, .ts, .coffee file or be supported by your preprocessor plugin (if configured).

Fix your support file, or set supportFile to false if a support file is not necessary for your project.

If you have just renamed the extension of your supportFile, restart Cypress.

https://on.cypress.io/support-file-missing-or-invalid
2022-11-15T01:16:53.967Z cypress:server:cypress calling exit 1
2022-11-15T01:16:53.967Z cypress:server:cypress about to exit with code 1
2022-11-15T01:16:53.967Z cypress:server:browsers browsers.kill called with no active instance
2022-11-15T01:16:54.055Z cypress:cli child event fired { event: 'exit', code: 1, signal: null }
2022-11-15T01:16:54.055Z cypress:cli child event fired { event: 'close', code: 1, signal: null }

Other

No response

@emilyrohrbough
Copy link
Member

Closing as a duplicate of #23616

@emilyrohrbough
Copy link
Member

@qwazimoda Thank you for reporting. Please see #23616, which we have agreed is unexpected behavior. If this is something you would be interested in fixing, we would gladly accept a contribution!

@idanElitzur
Copy link

any news regarding this issue?
i'm facing with the same problem right now as well

@mschile
Copy link
Contributor

mschile commented May 9, 2023

@idanElitzur, this issue was closed as a duplicate of #23616. Please see that issue for any updates. You can see our recommended approach to importing third party support files here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants