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

Cypress Window Not Opening #30942

Open
Yaswanth674 opened this issue Jan 24, 2025 · 5 comments
Open

Cypress Window Not Opening #30942

Yaswanth674 opened this issue Jan 24, 2025 · 5 comments
Labels
stage: needs information Not enough info to reproduce the issue type: bug

Comments

@Yaswanth674
Copy link

Step1: Opening the vs code (Latest Version)
Step2: Cypress Version (Cypress14)
Step2: In terminal wrote the command (npx cypress open)
Step3: Observed Cypress window not opening (still loading the app)

Image

@jennifer-shehane
Copy link
Member

@Yaswanth674

  • Does this issue occur in Cypress 13.17.0?
  • Can you open DevTools with this window open and share a screenshot of any errors displayed in there?
  • Could you run Cypress in debug mode mode and print the entire set of logs here?

@jennifer-shehane jennifer-shehane added the stage: needs information Not enough info to reproduce the issue label Jan 24, 2025
@Yaswanth674
Copy link
Author

Yaswanth674 commented Jan 26, 2025

Image

Image

  1. I didn't find that issue in 13.17.0
  2. I tried to run on debug mode but its not working

Image

@Yaswanth674
Copy link
Author

Yaswanth674 commented Jan 27, 2025

Microsoft Windows [Version 10.0.19045.5371]
(c) Microsoft Corporation. All rights reserved.

C:\Users\yashpppp>set DEBUG=cypress:*

C:\Users\yashpppp>npx cypress run
Need to install the following packages:
[email protected]
Ok to proceed? (y) y

  cypress:cli:cli cli starts with arguments ["C:\\Program Files\\nodejs\\node.exe","C:\\Users\\yashpppp\\AppData\\Local\\npm-cache\\_npx\\8710cb4bb9bd9866\\node_modules\\cypress\\bin\\cypress","run"] +0ms
  cypress:cli NODE_OPTIONS is not set +0ms
  cypress:cli:cli program parsing arguments +3ms
  cypress:cli:cli running Cypress with args [ Command { _events: [Object: null prototype] { 'option:auto-cancel-after-failures': [Function (anonymous)], '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:runner-ui': [Function (anonymous)], 'option:no-runner-ui': [Function (anonymous)], 'option:reporter-options': [Function (anonymous)], 'option:spec': [Function (anonymous)], 'option:tag': [Function (anonymous)], 'option:dev': [Function (anonymous)] }, _eventsCount: 25, _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], [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:\\Users\\yashpppp\\AppData\\Local\\npm-cache\\_npx\\8710cb4bb9bd9866\\node_modules\\cypress\\bin\\cypress', _name: 'cypress', _optionValues: {}, _storeOptionsAsProperties: true, _storeOptionsAsPropertiesCalled: true, _passCommandToAction: true, _actionResults: [], _actionHandler: null, _executableHandler: false, _executableFile: null, _defaultCommandName: null, _exitCallback: null, _aliases: [], _combineFlagAndOptionalValue: true, _hidden: false, _hasHelpOption: true, _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(shapeMode)]: false, [Symbol(kCapture)]: false }, _allowUnknownOption: false, _args: [], rawArgs: null, _scriptPath: null, _name: 'run', _optionValues: {}, _storeOptionsAsProperties: true, _storeOptionsAsPropertiesCalled: false, _passCommandToAction: true, _actionResults: [], _actionHandler: [Function: listener], _executableHandler: false, _executableFile: null, _defaultCommandName: null, _exitCallback: null, _aliases: [], _combineFlagAndOptionalValue: true, _hidden: false, _hasHelpOption: true, _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(shapeMode)]: false, [Symbol(kCapture)]: false } ] +1ms
  cypress:cli:cli variable-length opts parsed { args: [ 'C:\\Program Files\\nodejs\\node.exe', 'C:\\Users\\yashpppp\\AppData\\Local\\npm-cache\\_npx\\8710cb4bb9bd9866\\node_modules\\cypress\\bin\\cypress', 'run' ], opts: Command { _events: [Object: null prototype] { 'option:auto-cancel-after-failures': [Function (anonymous)], '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:runner-ui': [Function (anonymous)], 'option:no-runner-ui': [Function (anonymous)], 'option:reporter-options': [Function (anonymous)], 'option:spec': [Function (anonymous)], 'option:tag': [Function (anonymous)], 'option:dev': [Function (anonymous)] }, _eventsCount: 25, _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], [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:\\Users\\yashpppp\\AppData\\Local\\npm-cache\\_npx\\8710cb4bb9bd9866\\node_modules\\cypress\\bin\\cypress', _name: 'cypress', _optionValues: {}, _storeOptionsAsProperties: true, _storeOptionsAsPropertiesCalled: true, _passCommandToAction: true, _actionResults: [], _actionHandler: null, _executableHandler: false, _executableFile: null, _defaultCommandName: null, _exitCallback: null, _aliases: [], _combineFlagAndOptionalValue: true, _hidden: false, _hasHelpOption: true, _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(shapeMode)]: false, [Symbol(kCapture)]: false }, _allowUnknownOption: false, _args: [], rawArgs: null, _scriptPath: null, _name: 'run', _optionValues: {}, _storeOptionsAsProperties: true, _storeOptionsAsPropertiesCalled: false, _passCommandToAction: true, _actionResults: [], _actionHandler: [Function: listener], _executableHandler: false, _executableFile: null, _defaultCommandName: null, _exitCallback: null, _aliases: [], _combineFlagAndOptionalValue: true, _hidden: false, _hasHelpOption: true, _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(shapeMode)]: false, [Symbol(kCapture)]: false } } +363ms
  cypress:cli parsed cli options {} +372ms
  cypress:cli verifying Cypress app +0ms
  cypress:cli checking environment variables +1ms
  cypress:cli checking if executable exists C:\Users\yashpppp\AppData\Local\Cypress\Cache\14.0.0\Cypress\Cypress.exe +6ms
  cypress:cli Binary is executable? : true +3ms
  cypress:cli binaryDir is  C:\Users\yashpppp\AppData\Local\Cypress\Cache\14.0.0\Cypress +1ms
  cypress:cli Reading binary package.json from: C:\Users\yashpppp\AppData\Local\Cypress\Cache\14.0.0\Cypress\resources\app\package.json +0ms
  cypress:cli Found binary version 14.0.0 installed in: C:\Users\yashpppp\AppData\Local\Cypress\Cache\14.0.0\Cypress +6ms
  cypress:cli { verified: true } +7ms
  cypress:cli is Verified ? true +3ms
  cypress:cli:run processing run options { key: null, spec: null, reporter: null, reporterOptions: null, project: 'C:\\Users\\yashpppp' } +0ms
  cypress:cli:run --key is not set, looking up environment variable CYPRESS_RECORD_KEY +1ms
  cypress:cli:run run to spawn.start args ["--run-project","C:\\Users\\yashpppp"] +1ms
  cypress:cli needs to start own Xvfb? false +0ms
  cypress:cli spawning, should retry on display problem? false +1ms
  cypress:cli spawn args [ '--', '--run-project', 'C:\\Users\\yashpppp', '--cwd', 'C:\\Users\\yashpppp', '--userNodePath', 'C:\\Program Files\\nodejs\\node.exe', '--userNodeVersion', '22.13.1' ] { detached: false, stdio: 'pipe', windowsHide: false } +4ms
  cypress:cli spawning Cypress with executable: C:\Users\yashpppp\AppData\Local\Cypress\Cache\14.0.0\Cypress\Cypress.exe +1ms
  cypress:cli piping process STDIN into child STDIN +19ms
  cypress:cli piping child STDOUT to process STDOUT +1ms
  cypress:cli piping child STDERR to process STDERR +0ms

  cypress:snapshot:info Caching 3342, defining 4165 modules! Using cache +0ms
  cypress:snapshot:debug initializing packherd require +0ms
  cypress:server:performance-benchmark elapsed time at v8-snapshot-startup-time: 177.207ms +0ms
  cypress:server:appdata path: C:\Users\yashpppp\AppData\Roaming\Cypress\cy\production\browsers +0ms
  cypress:server appending default switches for electron: [
  cypress:server   { name: '--test-type' },
  cypress:server   { name: '--ignore-certificate-errors' },
  cypress:server   { name: '--start-maximized' },
  cypress:server   { name: '--silent-debugger-extension-api' },
  cypress:server   { name: '--no-default-browser-check' },
  cypress:server   { name: '--no-first-run' },
  cypress:server   { name: '--noerrdialogs' },
  cypress:server   { name: '--enable-fixed-layout' },
  cypress:server   { name: '--disable-popup-blocking' },
  cypress:server   { name: '--disable-password-generation' },
  cypress:server   { name: '--disable-single-click-autofill' },
  cypress:server   { name: '--disable-prompt-on-repos' },
  cypress:server   { name: '--disable-background-timer-throttling' },
  cypress:server   { name: '--disable-renderer-backgrounding' },
  cypress:server   { name: '--disable-renderer-throttling' },
  cypress:server   { name: '--disable-backgrounding-occluded-windows' },
  cypress:server   { name: '--disable-restore-session-state' },
  cypress:server   { name: '--disable-new-profile-management' },
  cypress:server   { name: '--disable-new-avatar-menu' },
  cypress:server   { name: '--allow-insecure-localhost' },
  cypress:server   { name: '--reduce-security-for-testing' },
  cypress:server   { name: '--enable-automation' },
  cypress:server   { name: '--disable-print-preview' },
  cypress:server   { name: '--disable-component-extensions-with-background-pages' },
  cypress:server   { name: '--disable-infobars' },
  cypress:server   { name: '--disable-device-discovery-notifications' },
  cypress:server   { name: '--autoplay-policy', value: 'no-user-gesture-required' },
  cypress:server   { name: '--disable-site-isolation-trials' },
  cypress:server   { name: '--metrics-recording-only' },
  cypress:server   { name: '--disable-prompt-on-repost' },
  cypress:server   { name: '--disable-hang-monitor' },
  cypress:server   { name: '--disable-sync' },
  cypress:server   { name: '--disable-web-resources' },
  cypress:server   { name: '--safebrowsing-disable-download-protection' },
  cypress:server   { name: '--disable-client-side-phishing-detection' },
  cypress:server   { name: '--disable-component-update' },
  cypress:server   {
  cypress:server     name: '--simulate-outdated-no-au',
  cypress:server     value: "'Tue, 31 Dec 2099 23:59:59 GMT'"
  cypress:server   },
  cypress:server   { name: '--disable-default-apps' },
  cypress:server   {
  cypress:server     name: '--disable-features',
  cypress:server     value: 'Translate,PrivacySandboxSettings4'
  cypress:server   },
  cypress:server   { name: '--use-fake-ui-for-media-stream' },
  cypress:server   { name: '--use-fake-device-for-media-stream' },
  cypress:server   { name: '--disable-ipc-flooding-protection' },
  cypress:server   { name: '--disable-backgrounding-occluded-window' },
  cypress:server   { name: '--disable-breakpad' },
  cypress:server   { name: '--password-store', value: 'basic' },
  cypress:server   { name: '--use-mock-keychain' },
  cypress:server   { name: '--disable-dev-shm-usage' },
  cypress:server   { name: '--enable-precise-memory-info' }
  cypress:server ] +0ms
  cypress:server:cypress starting cypress with argv [ 'C:\\Users\\yashpppp\\AppData\\Local\\Cypress\\Cache\\14.0.0\\Cypress\\Cypress.exe', '--', '--run-project', 'C:\\Users\\yashpppp', '--cwd', 'C:\\Users\\yashpppp', '--userNodePath', 'C:\\Program Files\\nodejs\\node.exe', '--userNodeVersion', '22.13.1' ] +0ms
  cypress:server:args argv array: [ 'C:\\Users\\yashpppp\\AppData\\Local\\Cypress\\Cache\\14.0.0\\Cypress\\Cypress.exe', '--run-project', 'C:\\Users\\yashpppp', '--cwd', 'C:\\Users\\yashpppp', '--userNodePath', 'C:\\Program Files\\nodejs\\node.exe', '--userNodeVersion', '22.13.1' ] +0ms
  cypress:server:args parsed argv options { options: { _: [ 'C:\\Users\\yashpppp\\AppData\\Local\\Cypress\\Cache\\14.0.0\\Cypress\\Cypress.exe' ], 'run-project': 'C:\\Users\\yashpppp', runProject: 'C:\\Users\\yashpppp', cwd: 'C:\\Users\\yashpppp', userNodePath: 'C:\\Program Files\\nodejs\\node.exe', userNodeVersion: '22.13.1' } } +2ms
  cypress:server:args argv parsed: { _: [ 'C:\\Users\\yashpppp\\AppData\\Local\\Cypress\\Cache\\14.0.0\\Cypress\\Cypress.exe' ], runProject: 'C:\\Users\\yashpppp', cwd: 'C:\\Users\\yashpppp', userNodePath: 'C:\\Program Files\\nodejs\\node.exe', userNodeVersion: '22.13.1', invokedFromCli: true } +8ms
  cypress:server:util:proxy found proxy environment variables { npm_config_noproxy: '' } +0ms
  cypress:server:util:proxy HTTP_PROXY is falsy, disabling HTTP_PROXY +6ms
  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' } +1ms
  cypress:server:args options { _: [ 'C:\\Users\\yashpppp\\AppData\\Local\\Cypress\\Cache\\14.0.0\\Cypress\\Cypress.exe' ], runProject: 'C:\\Users\\yashpppp', cwd: 'C:\\Users\\yashpppp', userNodePath: 'C:\\Program Files\\nodejs\\node.exe', userNodeVersion: '22.13.1', invokedFromCli: true, config: {} } +10ms
  cypress:server:args argv options: { _: [ 'C:\\Users\\yashpppp\\AppData\\Local\\Cypress\\Cache\\14.0.0\\Cypress\\Cypress.exe' ], runProject: 'C:\\Users\\yashpppp', cwd: 'C:\\Users\\yashpppp', userNodePath: 'C:\\Program Files\\nodejs\\node.exe', userNodeVersion: '22.13.1', invokedFromCli: true, config: {}, projectRoot: 'C:\\Users\\yashpppp' } +0ms
  cypress:server:cypress from argv [ 'C:\\Users\\yashpppp\\AppData\\Local\\Cypress\\Cache\\14.0.0\\Cypress\\Cypress.exe', '--run-project', 'C:\\Users\\yashpppp', '--cwd', 'C:\\Users\\yashpppp', '--userNodePath', 'C:\\Program Files\\nodejs\\node.exe', '--userNodeVersion', '22.13.1' ] got options { _: [ 'C:\\Users\\yashpppp\\AppData\\Local\\Cypress\\Cache\\14.0.0\\Cypress\\Cypress.exe' ], runProject: 'C:\\Users\\yashpppp', cwd: 'C:\\Users\\yashpppp', userNodePath: 'C:\\Program Files\\nodejs\\node.exe', userNodeVersion: '22.13.1', invokedFromCli: true, config: {}, projectRoot: 'C:\\Users\\yashpppp' } +21ms
  cypress:server:cypress scaling electron app in headless mode +0ms
  cypress:server:appdata path: C:\Users\yashpppp\AppData\Roaming\Cypress\cy\production +112ms

DevTools listening on ws://127.0.0.1:50260/devtools/browser/6dd0937b-3d98-4b12-85fe-8f6e431752fb
  cypress:server:cypress starting in mode run with options { _: [ 'C:\\Users\\yashpppp\\AppData\\Local\\Cypress\\Cache\\14.0.0\\Cypress\\Cypress.exe' ], runProject: 'C:\\Users\\yashpppp', cwd: 'C:\\Users\\yashpppp', userNodePath: 'C:\\Program Files\\nodejs\\node.exe', userNodeVersion: '22.13.1', invokedFromCli: true, config: {}, projectRoot: 'C:\\Users\\yashpppp' } +96ms
  cypress:server:cypress running Electron currently +0ms
  cypress:graphql:nexusDeferIfNotLoadedPlugin Adding nexusDeferIfNotLoadedPlugin for Query.cloudLatestRunUpdateSpecData +0ms
  cypress:graphql:nexusDeferIfNotLoadedPlugin Adding nexusDeferIfNotLoadedPlugin for Query.cloudProjectBySlug +1ms
  cypress:graphql:nexusDeferIfNotLoadedPlugin Adding nexusDeferIfNotLoadedPlugin for Query.cloudProjectsBySlugs +0ms
  cypress:graphql:nexusDeferIfNotLoadedPlugin Adding nexusDeferIfNotLoadedPlugin for Query.cloudSpecByPath +0ms
  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 +2ms
  cypress:graphql:nexusDeferIfNotLoadedPlugin Adding nexusDeferIfNotLoadedPlugin for RelevantRunInfo.status +4ms
  cypress:graphql:nexusDeferIfNotLoadedPlugin Adding nexusDeferIfNotLoadedPlugin for RemoteFetchableCloudProjectResult.data +2ms
  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(?! for Testing) (\S+)/m, binary: [ 'google-chrome', 'chrome', 'google-chrome-stable' ], validator: [Function: validator] }, { name: 'chrome', family: 'chromium', channel: 'beta', displayName: 'Chrome Beta', versionRegex: /Google Chrome (\S+) beta/m, binary: 'google-chrome-beta' }, { name: 'chrome', family: 'chromium', channel: 'canary', displayName: 'Chrome Canary', versionRegex: /Google Chrome Canary (\S+)/m, binary: 'google-chrome-canary' }, { name: 'chrome-for-testing', family: 'chromium', channel: 'stable', displayName: 'Chrome for Testing', versionRegex: /Google Chrome for Testing (\S+)/m, binary: 'chrome' }, { name: 'chromium', family: 'chromium', channel: 'stable', displayName: 'Chromium', versionRegex: /Chromium (\S+)/m, binary: [ 'chromium-browser', 'chromium' ] }, { name: 'firefox', family: 'firefox', channel: 'stable', displayName: 'Firefox', versionRegex: /^Mozilla Firefox ([^\sab]+)$/m, binary: 'firefox' }, { name: 'firefox', family: 'firefox', channel: 'dev', displayName: 'Firefox Developer Edition', versionRegex: /^Mozilla Firefox (\S+b\S*)$/m, binary: [ 'firefox-developer-edition', 'firefox' ] }, { name: 'firefox', family: 'firefox', channel: 'nightly', displayName: 'Firefox Nightly', versionRegex: /^Mozilla Firefox (\S+a\S*)$/m, binary: [ 'firefox-nightly', 'firefox-trunk' ] }, { name: 'edge', family: 'chromium', channel: 'stable', displayName: 'Edge', versionRegex: /Microsoft Edge (\S+)/im, binary: [ 'edge', 'microsoft-edge' ] }, { name: 'edge', family: 'chromium', channel: 'beta', displayName: 'Edge Beta', versionRegex: /Microsoft Edge.+?(\S*(?= beta)|(?<=beta )\S*)/im, binary: [ 'edge-beta', 'microsoft-edge-beta' ] }, { name: 'edge', family: 'chromium', channel: 'canary', displayName: 'Edge Canary', versionRegex: /Microsoft Edge.+?(\S*(?= canary)|(?<=canary )\S*)/im, binary: [ 'edge-canary', 'microsoft-edge-canary' ] }, { name: 'edge', family: 'chromium', channel: 'dev', displayName: 'Edge Dev', versionRegex: /Microsoft Edge.+?(\S*(?= dev)|(?<=dev )\S*)/im, binary: [ 'edge-dev', 'microsoft-edge-dev' ] } ] +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\yashpppp\AppData\Local\Cypress\Cache\14.0.0\Cypress\resources\app\packages\server\lib\browsers\utils.ts     at Module._resolveFilename (node:internal/modules/cjs/loader:1232:15)     at s._resolveFilename (node:electron/js2c/browser_init:2:124107)     at resolve (node:internal/modules/helpers:190:19) at Function.resolve (C:\Users\yashpppp\AppData\Local\Cypress\Cache\14.0.0\Cypress\resources\app\packages\server\index.jsc:1:819960) at N (<embedded>:2602:103776) at Object.P [as getBrowsers] (<embedded>:2602:104611) at b.machineBrowsers (<embedded>:2236:76158) at D._setCurrentProject (<embedded>:2413:69721) at new D (<embedded>:2413:62249) at new E (<embedded>:2413:124341) at N (<embedded>:2823:42993) at s.exports (<embedded>:2823:100884) at <embedded>:2830:3280 at tryCatcher (C:\Users\yashpppp\AppData\Local\Cypress\Cache\14.0.0\Cypress\resources\app\node_modules\bluebird\js\release\util.js:16:23) at Function.<anonymous> (C:\Users\yashpppp\AppData\Local\Cypress\Cache\14.0.0\Cypress\resources\app\node_modules\bluebird\js\release\method.js:39:29) at Object.runElectron (<embedded>:2830:3050) at Object.startInMode (<embedded>:2830:5738) at <embedded>:2830:4826 at tryCatcher (C:\Users\yashpppp\AppData\Local\Cypress\Cache\14.0.0\Cypress\resources\app\node_modules\bluebird\js\release\util.js:16:23) at Promise._settlePromiseFromHandler (C:\Users\yashpppp\AppData\Local\Cypress\Cache\14.0.0\Cypress\resources\app\node_modules\bluebird\js\release\promise.js:512:31) at Promise._settlePromise (C:\Users\yashpppp\AppData\Local\Cypress\Cache\14.0.0\Cypress\resources\app\node_modules\bluebird\js\release\promise.js:569:18) at Promise._settlePromise0 (C:\Users\yashpppp\AppData\Local\Cypress\Cache\14.0.0\Cypress\resources\app\node_modules\bluebird\js\release\promise.js:614:10) at Promise._settlePromises (C:\Users\yashpppp\AppData\Local\Cypress\Cache\14.0.0\Cypress\resources\app\node_modules\bluebird\js\release\promise.js:694:18) at Promise._fulfill (C:\Users\yashpppp\AppData\Local\Cypress\Cache\14.0.0\Cypress\resources\app\node_modules\bluebird\js\release\promise.js:638:18) at PromiseArray._resolve (C:\Users\yashpppp\AppData\Local\Cypress\Cache\14.0.0\Cypress\resources\app\node_modules\bluebird\js\release\promise_array.js:126:19) at PromiseArray._promiseFulfilled (C:\Users\yashpppp\AppData\Local\Cypress\Cache\14.0.0\Cypress\resources\app\node_modules\bluebird\js\release\promise_array.js:144:14) at Promise._settlePromise (C:\Users\yashpppp\AppData\Local\Cypress\Cache\14.0.0\Cypress\resources\app\node_modules\bluebird\js\release\promise.js:574:26) at Promise._settlePromise0 (C:\Users\yashpppp\AppData\Local\Cypress\Cache\14.0.0\Cypress\resources\app\node_modules\bluebird\js\release\promise.js:614:10) at Promise._settlePromises (C:\Users\yashpppp\AppData\Local\Cypress\Cache\14.0.0\Cypress\resources\app\node_modules\bluebird\js\release\promise.js:694:18) at Promise._fulfill (C:\Users\yashpppp\AppData\Local\Cypress\Cache\14.0.0\Cypress\resources\app\node_modules\bluebird\js\release\promise.js:638:18) at Promise._settlePromise (C:\Users\yashpppp\AppData\Local\Cypress\Cache\14.0.0\Cypress\resources\app\node_modules\bluebird\js\release\promise.js:582:21) at Promise._settlePromise0 (C:\Users\yashpppp\AppData\Local\Cypress\Cache\14.0.0\Cypress\resources\app\node_modules\bluebird\js\release\promise.js:614:10) at Promise._settlePromises (C:\Users\yashpppp\AppData\Local\Cypress\Cache\14.0.0\Cypress\resources\app\node_modules\bluebird\js\release\promise.js:694:18) at Promise._fulfill (C:\Users\yashpppp\AppData\Local\Cypress\Cache\14.0.0\Cypress\resources\app\node_modules\bluebird\js\release\promise.js:638:18) at Promise._settlePromise (C:\Users\yashpppp\AppData\Local\Cypress\Cache\14.0.0\Cypress\resources\app\node_modules\bluebird\js\release\promise.js:582:21) at Promise._settlePromise0 (C:\Users\yashpppp\AppData\Local\Cypress\Cache\14.0.0\Cypress\resources\app\node_modules\bluebird\js\release\promise.js:614:10) at Promise._settlePromises (C:\Users\yashpppp\AppData\Local\Cypress\Cache\14.0.0\Cypress\resources\app\node_modules\bluebird\js\release\promise.js:694:18) at Promise._fulfill (C:\Users\yashpppp\AppData\Local\Cypress\Cache\14.0.0\Cypress\resources\app\node_modules\bluebird\js\release\promise.js:638:18) at PromiseArray._resolve (C:\Users\yashpppp\AppData\Local\Cypress\Cache\14.0.0\Cypress\resources\app\node_modules\bluebird\js\release\promise_array.js:126:19) at PromiseArray._promiseFulfilled (C:\Users\yashpppp\AppData\Local\Cypress\Cache\14.0.0\Cypress\resources\app\node_modules\bluebird\js\release\promise_array.js:144:14) at Promise._settlePromise (C:\Users\yashpppp\AppData\Local\Cypress\Cache\14.0.0\Cypress\resources\app\node_modules\bluebird\js\release\promise.js:574:26) at Promise._settlePromise0 (C:\Users\yashpppp\AppData\Local\Cypress\Cache\14.0.0\Cypress\resources\app\node_modules\bluebird\js\release\promise.js:614:10) at Promise._settlePromises (C:\Users\yashpppp\AppData\Local\Cypress\Cache\14.0.0\Cypress\resources\app\node_modules\bluebird\js\release\promise.js:694:18) at Promise._fulfill (C:\Users\yashpppp\AppData\Local\Cypress\Cache\14.0.0\Cypress\resources\app\node_modules\bluebird\js\release\promise.js:638:18) at C:\Users\yashpppp\AppData\Local\Cypress\Cache\14.0.0\Cypress\resources\app\node_modules\bluebird\js\release\nodeback.js:42:21 at <embedded>:476:22436 { code: 'MODULE_NOT_FOUND', requireStack: [ 'C:\\Users\\yashpppp\\AppData\\Local\\Cypress\\Cache\\14.0.0\\Cypress\\resources\\app\\packages\\server\\lib\\browsers\\utils.ts' ] } } +7ms
  cypress:data-context:sources:GitDataSource config: { isRunMode: true, projectRoot: 'C:\\Users\\yashpppp', onError: [Function (anonymous)], onBranchChange: [Function: onBranchChange], onGitInfoChange: [Function: onGitInfoChange], onGitLogChange: [AsyncFunction: onGitLogChange] } +0ms
  cypress:server:video using ffmpeg from C:\Users\yashpppp\AppData\Local\Cypress\Cache\14.0.0\Cypress\resources\app\node_modules\@ffmpeg-installer\win32-x64\ffmpeg.exe +0ms
  cypress:server:run run start +0ms
  cypress:server:cypress exiting with err Error
    at D.initializeRunMode (<embedded>:2413:76519)
    at async E.initializeMode (<embedded>:2413:127947) {
  isCypressErr: true,
  type: 'NO_DEFAULT_CONFIG_FILE_FOUND',
  details: undefined,
  messageMarkdown: 'Could not find a Cypress configuration file in this folder: `C:\\Users\\yashpppp`',
  originalError: undefined,
  stackWithoutMessage: '    at D.initializeRunMode (<embedded>:2413:76519)\n' +
    '    at async E.initializeMode (<embedded>:2413:127947)'
} +948ms
Could not find a Cypress configuration file in this folder: C:\Users\yashpppp
  cypress:server:cypress calling exit 1 +1ms
  cypress:server:cypress about to exit with code 1 +0ms
  cypress:lifecycle:ProjectConfigManager mainProcessWillDisconnect message not set, no IPC available +0ms
  cypress:server:cypress mainProcessWillDisconnect errored with:  undefined +1ms
  cypress:server:browsers browsers.kill called with no active instance +0ms
  cypress:cli child event fired { event: 'exit', code: 1, signal: null } +2s
  cypress:cli child event fired { event: 'close', code: 1, signal: null } +0ms

C:\Users\yashpppp>

@jennifer-shehane
Copy link
Member

@Yaswanth674

  • Is this your first time ever using Cypress? Or did something recently change where it's now not opening?
  • Is your package.json file defined in the same directory where you are calling npx cypress open?
  • Was this an existing project? Is there a cypress.config.js file in the directory where you're calling cypress open?

I can't reproduce this on a branch new directory.

@Yaswanth674
Copy link
Author

Yaswanth674 commented Jan 28, 2025

  • No I am using cypress since from last 5 months, recently my vs code got auto update after that I observed that issue
  • I didn't change any thing in directory files
  • Yes it is an existing project only
  • And also I checked in new project there also observed the same thing
  • And also I updated the node js version to(22.13.1)
  • Observed the same issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stage: needs information Not enough info to reproduce the issue type: bug
Projects
None yet
Development

No branches or pull requests

2 participants