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 doesn't load or open its window #22297

Closed
singque09 opened this issue Jun 14, 2022 · 32 comments · Fixed by #22550
Closed

Cypress doesn't load or open its window #22297

singque09 opened this issue Jun 14, 2022 · 32 comments · Fixed by #22550
Labels
CT Issue related to component testing stage: investigating Someone from Cypress is looking into this topic: installation Issue during installation or downloading Cypress type: bug

Comments

@singque09
Copy link

singque09 commented Jun 14, 2022

Current behavior

Cypress won't load and it is indicating a vague cannot find module when I've upgraded to v10.1.0 it was working previously with 9.7.0 where it loads all spec lists. I did try the following:

  • cypress open -b chrome --e2e
  • cypress open

all of the above did was open the window but it is stuck in a loading state.

Debug logs

node:internal/modules/cjs/loader:936
  throw err;
  ^

Error: Cannot find module 'C:\Users\Jolambert'
Require stack:
- internal/preload
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
    at Function.Module._load (node:internal/modules/cjs/loader:778:27)
    at Module.require (node:internal/modules/cjs/loader:1005:19)
    at Module._preloadModules (node:internal/modules/cjs/loader:1276:12)
    at loadPreloadModules (node:internal/bootstrap/pre_execution:483:5)
    at prepareMainThreadExecution (node:internal/bootstrap/pre_execution:77:3)
    at node:internal/main/run_main_module:7:1 {
  code: 'MODULE_NOT_FOUND',
  requireStack: [ 'internal/preload' ]
}

Cypress Version

10.1.0

Package Manager

yarn

Operating system

Windows

Other

No response

@singque09 singque09 added the topic: installation Issue during installation or downloading Cypress label Jun 14, 2022
@tester-at-bmi
Copy link

tester-at-bmi commented Jun 14, 2022

I can confirm i have the same using npm with Cypress 10.1.0 on Windows 11.

Doesn't matter what you use npx cypress run, npx cypress open, npm run cy:open etc. etc. the outcome is the same.

We rolled back to Cypress 10.0.3 for the meantime.

@cypress-bot cypress-bot bot added the stage: investigating Someone from Cypress is looking into this label Jun 14, 2022
@samp-reston
Copy link

I have the same problem.

node:internal/modules/cjs/loader:936
  throw err;
  ^

Error: Cannot find module 'C:\Users\Samuel'
Require stack:
- internal/preload
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
    at Function.Module._load (node:internal/modules/cjs/loader:778:27)
    at Module.require (node:internal/modules/cjs/loader:1005:19)
    at Module._preloadModules (node:internal/modules/cjs/loader:1280:12)
    at loadPreloadModules (node:internal/bootstrap/pre_execution:476:5)
    at prepareMainThreadExecution (node:internal/bootstrap/pre_execution:77:3)
    at node:internal/main/run_main_module:7:1 {
  code: 'MODULE_NOT_FOUND',
  requireStack: [ 'internal/preload' ]
}

Can confirm the continuation of the path should be C:\Users\Samuel Preston...
I suspect the space hasn't been handled properly.

@jeffreymb
Copy link

I resolved the issue by renaming my user profile directory as described in these instructions: https://www.tenforums.com/tutorials/89060-change-name-user-profile-folder-windows-10-a.html

@samp-reston
Copy link

using npm install -g cypress eliminates the error. However, again not a fix just a work-around.

@samp-reston
Copy link

Tested on 10.0.3 and 10.0.0. Error isn't present. Only on 10.1.0. Node version v18.3.0.

@singque09
Copy link
Author

I resolved the issue by renaming my user profile directory as described in these instructions: https://www.tenforums.com/tutorials/89060-change-name-user-profile-folder-windows-10-a.html

I think this is just a temporary fix but absolute folder pathing is working before 10.1.0.

@marktnoonan
Copy link
Contributor

Thanks for these details everyone. I've attempted to reproduce by opening Cypress on Windows with a project stored in C:\Sites\empty project where I would have expected the space in the path to cause the same problem people are reporting here. But Cypress opened fine for me in this situation.

Could I get some more information to help narrow this down - Windows 11, node 18.3.0, what else? There's nothing about 10.1.0 that stands out as a possible explanation.

@singque09 are you able to try Cypress 10.1.0 with DEBUG=cypress:* and share the output? It would be good to know how far startup gets before throwing that error.

@cypress-bot cypress-bot bot added stage: awaiting response Potential fix was proposed; awaiting response and removed stage: investigating Someone from Cypress is looking into this labels Jun 16, 2022
@jeffreymb
Copy link

I'm on Windows 10 and I encountered the same issue on Node 16.15.1 and 18.4.0 (latest of both versions). It fully resolved the issue to log into a user where there was no space in the C:/Users/User Name/ directory.

@samp-reston
Copy link

@marktnoonan Windows 10, Node v18.3.0, created using Create-React-App.
Cypress Logs

Package.json:

"dependencies": {
    "@testing-library/jest-dom": "^5.16.4",
    "@testing-library/react": "^13.2.0",
    "@testing-library/user-event": "^13.5.0",
    "@types/jest": "^27.5.1",
    "@types/node": "^16.11.36",
    "@types/react": "^18.0.9",
    "@types/react-dom": "^18.0.5",
    "react": "^18.1.0",
    "react-dom": "^18.1.0",
    "react-scripts": "5.0.1",
    "typescript": "^4.7.2",
    "web-vitals": "^2.1.4"
  },
  "scripts": {
    "start": "react-scripts start",
    "build": "CI=false && react-scripts build",
    "test": "react-scripts test",
    "eject": "react-scripts eject",
    "predeploy": "npm run build",
    "deploy": "gh-pages -d build",
    "cypress:open": "cypress open DEBUG=cypress:*",
    "cypress:ct": "cypress run --component",
    "cypress:debug": "set DEBUG=cypress:* && cypress open"
  },
  "eslintConfig": {
    "extends": [
      "react-app",
      "react-app/jest"
    ]
  },
  "browserslist": {
    "production": [
      ">0.2%",
      "not dead",
      "not op_mini all"
    ],
    "development": [
      "last 1 chrome version",
      "last 1 firefox version",
      "last 1 safari version"
    ]
  },
  "devDependencies": {
    "@types/testing-library__react": "^10.2.0",
    "cypress": "^10.1.0",
    "gh-pages": "^4.0.0",
    "html-webpack-plugin": "^4.5.2"
  }

@rmmbear
Copy link

rmmbear commented Jun 17, 2022

Hi @marktnoonan I have the logs you asked OP for:

Below is the output from export DEBUG=cypress:*; yarn cypress open

debug log
2022-06-17T08:24:44.798Z cypress:cli:cli cli starts with arguments ["C:\\Program Files\\nodejs\\node.exe","C:\\Users\\Name Surname\\Desktop\\project\\e2e\\node_modules\\cypress\\bin\\cypress","open"]
2022-06-17T08:24:44.799Z cypress:cli NODE_OPTIONS is not set
2022-06-17T08:24:44.799Z cypress:cli:cli program parsing arguments
2022-06-17T08:24:44.800Z cypress:cli:cli opening Cypress
2022-06-17T08:24:45.044Z cypress:cli parsed cli options {}
2022-06-17T08:24:45.044Z cypress:cli verifying Cypress app
2022-06-17T08:24:45.045Z cypress:cli checking environment variables
2022-06-17T08:24:45.047Z cypress:cli checking if executable exists C:\Users\Name Surname\AppData\Local\Cypress\Cache\10.1.0\Cypress\Cypress.exe
2022-06-17T08:24:45.050Z cypress:cli Binary is executable? : true
2022-06-17T08:24:45.051Z cypress:cli binaryDir is  C:\Users\Name Surname\AppData\Local\Cypress\Cache\10.1.0\Cypress
2022-06-17T08:24:45.052Z cypress:cli Reading binary package.json from: C:\Users\Name Surname\AppData\Local\Cypress\Cache\10.1.0\Cypress\resources\app\package.json
2022-06-17T08:24:45.060Z cypress:cli Found binary version 10.1.0 installed in: C:\Users\Name Surname\AppData\Local\Cypress\Cache\10.1.0\Cypress
2022-06-17T08:24:45.062Z cypress:cli { verified: true }
2022-06-17T08:24:45.062Z cypress:cli is Verified ? true
2022-06-17T08:24:45.063Z cypress:cli opening from options {"project":"C:\\Users\\Name Surname\\Desktop\\project\\e2e"}
2022-06-17T08:24:45.063Z cypress:cli command line arguments ["--project","C:\\Users\\Name Surname\\Desktop\\project\\e2e"]
2022-06-17T08:24:45.063Z cypress:cli needs to start own Xvfb? false
2022-06-17T08:24:45.064Z cypress:cli spawning, should retry on display problem? false
2022-06-17T08:24:45.071Z cypress:cli spawn args [ '--', '--project', 'C:\\Users\\Name Surname\\Desktop\\project\\e2e', '--cwd', 'C:\\Users\\Name Surname\\Desktop\\project\\e2e', '--userNodePath', 'C:\\Program Files\\nodejs\\node.exe', '--userNodeVersion', '16.15.0' ] { detached: false, stdio: 'inherit', windowsHide: false }
2022-06-17T08:24:45.071Z cypress:cli spawning Cypress with executable: C:\Users\Name Surname\AppData\Local\Cypress\Cache\10.1.0\Cypress\Cypress.exe
2022-06-17T08:24:45.243Z cypress:ts registering ts-node on directory undefined
2022-06-17T08:24:45.342Z cypress:ts Running without ts-node hook in environment "production"
2022-06-17T08:24:48.507Z cypress:server:appdata path: C:\Users\Name Surname\AppData\Roaming\Cypress\cy\production\cache
2022-06-17T08:24:48.615Z cypress:server:appdata path: C:\Users\Name Surname\AppData\Roaming\Cypress\cy\production\browsers
2022-06-17T08:24:48.639Z cypress:server:cypress starting cypress with argv [ 'C:\\Users\\Name Surname\\AppData\\Local\\Cypress\\Cache\\10.1.0\\Cypress\\Cypress.exe', '--', '--project', 'C:\\Users\\Name Surname\\Desktop\\project\\e2e', '--cwd', 'C:\\Users\\Name Surname\\Desktop\\project\\e2e', '--userNodePath', 'C:\\Program Files\\nodejs\\node.exe', '--userNodeVersion', '16.15.0' ]
2022-06-17T08:24:48.640Z cypress:server:args argv array: [ 'C:\\Users\\Name Surname\\AppData\\Local\\Cypress\\Cache\\10.1.0\\Cypress\\Cypress.exe', '--project', 'C:\\Users\\Name Surname\\Desktop\\project\\e2e', '--cwd', 'C:\\Users\\Name Surname\\Desktop\\project\\e2e', '--userNodePath', 'C:\\Program Files\\nodejs\\node.exe', '--userNodeVersion', '16.15.0' ]
2022-06-17T08:24:48.642Z cypress:server:args parsed argv options { options: { _: [ 'C:\\Users\\Name Surname\\AppData\\Local\\Cypress\\Cache\\10.1.0\\Cypress\\Cypress.exe' ], project: 'C:\\Users\\Name Surname\\Desktop\\project\\e2e', cwd: 'C:\\Users\\Name Surname\\Desktop\\project\\e2e', userNodePath: 'C:\\Program Files\\nodejs\\node.exe', userNodeVersion: '16.15.0' } }
2022-06-17T08:24:48.646Z cypress:server:args argv parsed: { _: [ 'C:\\Users\\Name Surname\\AppData\\Local\\Cypress\\Cache\\10.1.0\\Cypress\\Cypress.exe' ], project: 'C:\\Users\\Name Surname\\Desktop\\project\\e2e', cwd: 'C:\\Users\\Name Surname\\Desktop\\project\\e2e', userNodePath: 'C:\\Program Files\\nodejs\\node.exe', userNodeVersion: '16.15.0', invokedFromCli: true }
2022-06-17T08:24:48.647Z cypress:server:util:proxy found proxy environment variables {}
2022-06-17T08:24:48.647Z cypress:server:util:proxy HTTP_PROXY is falsy, disabling HTTP_PROXY
2022-06-17T08:24:48.647Z cypress:server:util:proxy setting default NO_PROXY of ``
2022-06-17T08:24:48.648Z cypress:server:util:proxy <-loopback> not found, adding localhost to NO_PROXY
2022-06-17T08:24:48.648Z cypress:server:util:proxy normalized proxy environment variables { NO_PROXY: '127.0.0.1,::1,localhost' }
2022-06-17T08:24:48.649Z cypress:server:args options { _: [ 'C:\\Users\\Name Surname\\AppData\\Local\\Cypress\\Cache\\10.1.0\\Cypress\\Cypress.exe' ], project: 'C:\\Users\\Name Surname\\Desktop\\project\\e2e', cwd: 'C:\\Users\\Name Surname\\Desktop\\project\\e2e', userNodePath: 'C:\\Program Files\\nodejs\\node.exe', userNodeVersion: '16.15.0', invokedFromCli: true, config: {} }
2022-06-17T08:24:48.649Z cypress:server:args argv options: { _: [ 'C:\\Users\\Name Surname\\AppData\\Local\\Cypress\\Cache\\10.1.0\\Cypress\\Cypress.exe' ], project: 'C:\\Users\\Name Surname\\Desktop\\project\\e2e', cwd: 'C:\\Users\\Name Surname\\Desktop\\project\\e2e', userNodePath: 'C:\\Program Files\\nodejs\\node.exe', userNodeVersion: '16.15.0', invokedFromCli: true, config: {}, projectRoot: 'C:\\Users\\Name Surname\\Desktop\\project\\e2e' }
2022-06-17T08:24:48.650Z cypress:server:cypress from argv [ 'C:\\Users\\Name Surname\\AppData\\Local\\Cypress\\Cache\\10.1.0\\Cypress\\Cypress.exe', '--project', 'C:\\Users\\Name Surname\\Desktop\\project\\e2e', '--cwd', 'C:\\Users\\Name Surname\\Desktop\\project\\e2e', '--userNodePath', 'C:\\Program Files\\nodejs\\node.exe', '--userNodeVersion', '16.15.0' ] got options { _: [ 'C:\\Users\\Name Surname\\AppData\\Local\\Cypress\\Cache\\10.1.0\\Cypress\\Cypress.exe' ], project: 'C:\\Users\\Name Surname\\Desktop\\project\\e2e', cwd: 'C:\\Users\\Name Surname\\Desktop\\project\\e2e', userNodePath: 'C:\\Program Files\\nodejs\\node.exe', userNodeVersion: '16.15.0', invokedFromCli: true, config: {}, projectRoot: 'C:\\Users\\Name Surname\\Desktop\\project\\e2e' }
2022-06-17T08:24:48.754Z cypress:server:appdata path: C:\Users\Name Surname\AppData\Roaming\Cypress\cy\production
2022-06-17T08:24:48.759Z cypress:server:cypress starting in mode interactive with options { _: [ 'C:\\Users\\Name Surname\\AppData\\Local\\Cypress\\Cache\\10.1.0\\Cypress\\Cypress.exe' ], project: 'C:\\Users\\Name Surname\\Desktop\\project\\e2e', cwd: 'C:\\Users\\Name Surname\\Desktop\\project\\e2e', userNodePath: 'C:\\Program Files\\nodejs\\node.exe', userNodeVersion: '16.15.0', invokedFromCli: true, config: {}, projectRoot: 'C:\\Users\\Name Surname\\Desktop\\project\\e2e' }
2022-06-17T08:24:48.759Z cypress:server:cypress running Electron currently
2022-06-17T08:24:50.055Z cypress:graphql:nexusDeferIfNotLoadedPlugin Adding nexusDeferIfNotLoadedPlugin for Query.cloudProjectBySlug
2022-06-17T08:24:50.055Z cypress:graphql:nexusDeferIfNotLoadedPlugin Adding nexusDeferIfNotLoadedPlugin for Query.cloudProjectsBySlugs
2022-06-17T08:24:50.055Z cypress:graphql:nexusDeferIfNotLoadedPlugin Adding nexusDeferIfNotLoadedPlugin for Query.cloudViewer
2022-06-17T08:24:50.056Z cypress:graphql:nexusDeferIfNotLoadedPlugin Adding nexusDeferIfNotLoadedPlugin for Query.versions
2022-06-17T08:24:50.057Z cypress:graphql:nexusDeferIfNotLoadedPlugin Adding nexusDeferIfNotLoadedPlugin for CurrentProject.cloudProject
2022-06-17T08:24:50.272Z cypress:server:browsers:utils getBrowsers
2022-06-17T08:24:50.273Z 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 }, { 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-06-17T08:24:50.275Z cypress:data-context:sources:GitDataSource config: { isRunMode: false, projectRoot: 'C:\\Users\\Name Surname\\Desktop\\project\\e2e', onError: [Function (anonymous)], onBranchChange: [Function: onBranchChange], onGitInfoChange: [Function: onGitInfoChange] }
2022-06-17T08:24:50.282Z cypress:scaffold-config:detect Detected cypress.config.ts - using TS
2022-06-17T08:24:50.286Z cypress:lifecycle:ProjectConfigIpc fork child process { CHILD_PROCESS_FILE_PATH: 'C:\\Users\\Name Surname\\AppData\\Local\\Cypress\\Cache\\10.1.0\\Cypress\\resources\\app\\node_modules\\@packages\\server\\lib\\plugins\\child\\require_async_child.js', configProcessArgs: [ '--projectRoot', 'C:\\Users\\Name Surname\\Desktop\\project\\e2e', '--file', 'C:\\Users\\Name Surname\\Desktop\\project\\e2e\\cypress.config.ts' ], childOptions: { stdio: 'pipe', cwd: 'C:\\Users\\Name Surname\\Desktop\\project\\e2e', execPath: 'C:\\Program Files\\nodejs\\node.exe' } }
2022-06-17T08:24:50.293Z cypress:lifecycle:ProjectConfigIpc trigger the load of the file
2022-06-17T08:24:50.295Z cypress:server:util:editors get user editor
2022-06-17T08:24:50.295Z cypress:server:saved_state making saved state from C:\Users\Name Surname\AppData\Local\Cypress\Cache\10.1.0\Cypress\resources\app\packages\server
2022-06-17T08:24:50.295Z cypress:server:saved_state missing project path, looking for project here
2022-06-17T08:24:50.328Z cypress:server:saved_state making saved state from C:\Users\Name Surname\AppData\Local\Cypress\Cache\10.1.0\Cypress\resources\app\packages\server
2022-06-17T08:24:50.328Z cypress:server:saved_state for project path C:\Users\Name Surname\Desktop\project\e2e
2022-06-17T08:24:50.334Z cypress:server:saved_state state path for project C:\Users\Name Surname\Desktop\project\e2e
2022-06-17T08:24:50.336Z cypress:server:appdata path: C:\Users\Name Surname\AppData\Roaming\Cypress\cy\production\projects\e2e-bb8613cd2dd42693b550270d47156168\state.json
2022-06-17T08:24:50.336Z cypress:server:saved_state full state path C:\Users\Name Surname\AppData\Roaming\Cypress\cy\production\projects\e2e-bb8613cd2dd42693b550270d47156168\state.json
2022-06-17T08:24:50.336Z cypress:server:saved_state making new state file around C:\Users\Name Surname\AppData\Roaming\Cypress\cy\production\projects\e2e-bb8613cd2dd42693b550270d47156168\state.json
2022-06-17T08:24:50.344Z cypress:server:saved_state state path for global mode
2022-06-17T08:24:50.346Z cypress:server:appdata path: C:\Users\Name Surname\AppData\Roaming\Cypress\cy\production\projects\__global__\state.json
2022-06-17T08:24:50.347Z cypress:server:saved_state full state path C:\Users\Name Surname\AppData\Roaming\Cypress\cy\production\projects\__global__\state.json
2022-06-17T08:24:50.347Z cypress:server:saved_state making new state file around C:\Users\Name Surname\AppData\Roaming\Cypress\cy\production\projects\__global__\state.json
2022-06-17T08:24:50.349Z cypress:launcher:windows got version string for chrome: { exePath: 'C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe', version: '102.0.5005.115' }
2022-06-17T08:24:50.359Z 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 notInstalledErr (C:\Users\Name Surname\AppData\Local\Cypress\Cache\10.1.0\Cypress\resources\app\packages\launcher\lib\errors.js:5:17) at tryNextExePath (C:\Users\Name Surname\AppData\Local\Cypress\Cache\10.1.0\Cypress\resources\app\packages\launcher\lib\windows\index.js:85:48) at C:\Users\Name Surname\AppData\Local\Cypress\Cache\10.1.0\Cypress\resources\app\packages\launcher\lib\windows\index.js:92:24 { notInstalled: true } }
2022-06-17T08:24:50.368Z 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 notInstalledErr (C:\Users\Name Surname\AppData\Local\Cypress\Cache\10.1.0\Cypress\resources\app\packages\launcher\lib\errors.js:5:17) at tryNextExePath (C:\Users\Name Surname\AppData\Local\Cypress\Cache\10.1.0\Cypress\resources\app\packages\launcher\lib\windows\index.js:85:48) at C:\Users\Name Surname\AppData\Local\Cypress\Cache\10.1.0\Cypress\resources\app\packages\launcher\lib\windows\index.js:92:24 { notInstalled: true } }
2022-06-17T08:24:50.369Z 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 notInstalledErr (C:\Users\Name Surname\AppData\Local\Cypress\Cache\10.1.0\Cypress\resources\app\packages\launcher\lib\errors.js:5:17) at tryNextExePath (C:\Users\Name Surname\AppData\Local\Cypress\Cache\10.1.0\Cypress\resources\app\packages\launcher\lib\windows\index.js:85:48) at C:\Users\Name Surname\AppData\Local\Cypress\Cache\10.1.0\Cypress\resources\app\packages\launcher\lib\windows\index.js:107:20 { notInstalled: true } }
2022-06-17T08:24:50.372Z cypress:launcher:windows error while looking up exe, trying next exePath { exePath: 'C:\\Users\\Name Surname\\AppData\\Local\\Google\\Chrome SxS\\Application\\chrome.exe', exePaths: [], err: Error: Browser not installed: chrome at notInstalledErr (C:\Users\Name Surname\AppData\Local\Cypress\Cache\10.1.0\Cypress\resources\app\packages\launcher\lib\errors.js:5:17) at tryNextExePath (C:\Users\Name Surname\AppData\Local\Cypress\Cache\10.1.0\Cypress\resources\app\packages\launcher\lib\windows\index.js:85:48) at C:\Users\Name Surname\AppData\Local\Cypress\Cache\10.1.0\Cypress\resources\app\packages\launcher\lib\windows\index.js:92:24 { notInstalled: true } }
2022-06-17T08:24:50.374Z cypress:launcher:windows got version string for firefox: { exePath: 'C:\\Program Files\\Mozilla Firefox\\firefox.exe', version: '100.0.2' }
2022-06-17T08:24:50.454Z cypress:server:windows creating electron window with options { backgroundColor: 'white', width: 1200, height: 800, minWidth: 597, minHeight: 400, x: null, y: null, 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 }, url: 'http://localhost:64884/__launchpad/index.html', frame: true, contextMenu: false, recordFrameRate: null, onCrashed: [Function: onCrashed], onNewWindow: [Function: onNewWindow] }
2022-06-17T08:24:50.492Z cypress:launcher:windows error while looking up exe, trying next exePath { exePath: 'C:\\Users\\Name Surname\\AppData\\Local\\Firefox Developer Edition\\firefox.exe', exePaths: [], err: Error: Browser not installed: firefox at notInstalledErr (C:\Users\Name Surname\AppData\Local\Cypress\Cache\10.1.0\Cypress\resources\app\packages\launcher\lib\errors.js:5:17) at tryNextExePath (C:\Users\Name Surname\AppData\Local\Cypress\Cache\10.1.0\Cypress\resources\app\packages\launcher\lib\windows\index.js:85:48) at C:\Users\Name Surname\AppData\Local\Cypress\Cache\10.1.0\Cypress\resources\app\packages\launcher\lib\windows\index.js:92:24 { notInstalled: true } }
2022-06-17T08:24:50.492Z 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 notInstalledErr (C:\Users\Name Surname\AppData\Local\Cypress\Cache\10.1.0\Cypress\resources\app\packages\launcher\lib\errors.js:5:17) at tryNextExePath (C:\Users\Name Surname\AppData\Local\Cypress\Cache\10.1.0\Cypress\resources\app\packages\launcher\lib\windows\index.js:85:48) at C:\Users\Name Surname\AppData\Local\Cypress\Cache\10.1.0\Cypress\resources\app\packages\launcher\lib\windows\index.js:107:20 { notInstalled: true } }
2022-06-17T08:24:50.493Z 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 notInstalledErr (C:\Users\Name Surname\AppData\Local\Cypress\Cache\10.1.0\Cypress\resources\app\packages\launcher\lib\errors.js:5:17) at tryNextExePath (C:\Users\Name Surname\AppData\Local\Cypress\Cache\10.1.0\Cypress\resources\app\packages\launcher\lib\windows\index.js:85:48) at C:\Users\Name Surname\AppData\Local\Cypress\Cache\10.1.0\Cypress\resources\app\packages\launcher\lib\windows\index.js:107:20 { notInstalled: true } }
2022-06-17T08:24:50.495Z cypress:server:util:editors return preferred editor: { id: 'other', name: 'Other', openerId: 'C:\\Program Files\\Notepad++\\notepad++.exe', isOther: true }
2022-06-17T08:24:50.672Z cypress:launcher:windows error while looking up exe, trying next exePath { exePath: 'C:\\Users\\Name Surname\\AppData\\Local\\Firefox Nightly\\firefox.exe', exePaths: [], err: Error: Browser not installed: firefox at notInstalledErr (C:\Users\Name Surname\AppData\Local\Cypress\Cache\10.1.0\Cypress\resources\app\packages\launcher\lib\errors.js:5:17) at tryNextExePath (C:\Users\Name Surname\AppData\Local\Cypress\Cache\10.1.0\Cypress\resources\app\packages\launcher\lib\windows\index.js:85:48) at C:\Users\Name Surname\AppData\Local\Cypress\Cache\10.1.0\Cypress\resources\app\packages\launcher\lib\windows\index.js:92:24 { notInstalled: true } }
2022-06-17T08:24:50.672Z 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 notInstalledErr (C:\Users\Name Surname\AppData\Local\Cypress\Cache\10.1.0\Cypress\resources\app\packages\launcher\lib\errors.js:5:17) at tryNextExePath (C:\Users\Name Surname\AppData\Local\Cypress\Cache\10.1.0\Cypress\resources\app\packages\launcher\lib\windows\index.js:85:48) at C:\Users\Name Surname\AppData\Local\Cypress\Cache\10.1.0\Cypress\resources\app\packages\launcher\lib\windows\index.js:107:20 { notInstalled: true } }
2022-06-17T08:24:50.672Z 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 notInstalledErr (C:\Users\Name Surname\AppData\Local\Cypress\Cache\10.1.0\Cypress\resources\app\packages\launcher\lib\errors.js:5:17) at tryNextExePath (C:\Users\Name Surname\AppData\Local\Cypress\Cache\10.1.0\Cypress\resources\app\packages\launcher\lib\windows\index.js:85:48) at C:\Users\Name Surname\AppData\Local\Cypress\Cache\10.1.0\Cypress\resources\app\packages\launcher\lib\windows\index.js:107:20 { notInstalled: true } }
2022-06-17T08:24:50.675Z cypress:launcher:windows got version string for edge: { exePath: 'C:\\Program Files (x86)\\Microsoft\\Edge\\Application\\msedge.exe', version: '102.0.1245.41' }
2022-06-17T08:24:50.677Z cypress:launcher:windows error while looking up exe, trying next exePath { exePath: 'C:\\Users\\Name Surname\\AppData\\Local\\Microsoft\\Edge SxS\\Application\\msedge.exe', exePaths: [], err: Error: Browser not installed: edge at notInstalledErr (C:\Users\Name Surname\AppData\Local\Cypress\Cache\10.1.0\Cypress\resources\app\packages\launcher\lib\errors.js:5:17) at tryNextExePath (C:\Users\Name Surname\AppData\Local\Cypress\Cache\10.1.0\Cypress\resources\app\packages\launcher\lib\windows\index.js:85:48) at C:\Users\Name Surname\AppData\Local\Cypress\Cache\10.1.0\Cypress\resources\app\packages\launcher\lib\windows\index.js:92:24 { notInstalled: true } }
2022-06-17T08:24:50.679Z 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 notInstalledErr (C:\Users\Name Surname\AppData\Local\Cypress\Cache\10.1.0\Cypress\resources\app\packages\launcher\lib\errors.js:5:17) at tryNextExePath (C:\Users\Name Surname\AppData\Local\Cypress\Cache\10.1.0\Cypress\resources\app\packages\launcher\lib\windows\index.js:85:48) at C:\Users\Name Surname\AppData\Local\Cypress\Cache\10.1.0\Cypress\resources\app\packages\launcher\lib\windows\index.js:92:24 { notInstalled: true } }
2022-06-17T08:24:50.680Z 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 notInstalledErr (C:\Users\Name Surname\AppData\Local\Cypress\Cache\10.1.0\Cypress\resources\app\packages\launcher\lib\errors.js:5:17) at tryNextExePath (C:\Users\Name Surname\AppData\Local\Cypress\Cache\10.1.0\Cypress\resources\app\packages\launcher\lib\windows\index.js:85:48) at C:\Users\Name Surname\AppData\Local\Cypress\Cache\10.1.0\Cypress\resources\app\packages\launcher\lib\windows\index.js:92:24 { notInstalled: true } }
2022-06-17T08:24:50.681Z cypress:server:browsers:utils found browsers { browsers: [ { name: 'chrome', family: 'chromium', channel: 'stable', displayName: 'Chrome', version: '102.0.5005.115', path: 'C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe', minSupportedVersion: 64, majorVersion: 102 }, { name: 'firefox', family: 'firefox', channel: 'stable', displayName: 'Firefox', version: '100.0.2', path: 'C:\\Program Files\\Mozilla Firefox\\firefox.exe', minSupportedVersion: 86, majorVersion: 100 }, { name: 'edge', family: 'chromium', channel: 'stable', displayName: 'Edge', version: '102.0.1245.41', path: 'C:\\Program Files (x86)\\Microsoft\\Edge\\Application\\msedge.exe', minSupportedVersion: 79, majorVersion: 102 } ] }
2022-06-17T08:24:50.682Z cypress:server:browsers:utils adding Electron browser { name: 'electron', channel: 'stable', family: 'chromium', displayName: 'Electron', version: '100.0.4896.75', path: '', majorVersion: 100, info: 'Electron is the default browser that comes with Cypress. This is the default browser that runs in headless mode. Selecting this browser is useful when debugging. The version number indicates the underlying Chromium version that Electron uses.' }
2022-06-17T08:24:51.105Z cypress:data-context:sources:GitDataSource On current branch develop
node:internal/modules/cjs/loader:936
  throw err;
  ^

Error: Cannot find module 'C:\Users\Name'
Require stack:
- internal/preload
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
    at Function.Module._load (node:internal/modules/cjs/loader:778:27)
    at Module.require (node:internal/modules/cjs/loader:1005:19)
    at Module._preloadModules (node:internal/modules/cjs/loader:1282:12)
    at loadPreloadModules (node:internal/bootstrap/pre_execution:539:5)
    at prepareMainThreadExecution (node:internal/bootstrap/pre_execution:85:3)
    at node:internal/main/run_main_module:7:1 {
  code: 'MODULE_NOT_FOUND',
  requireStack: [ 'internal/preload' ]
}
2022-06-17T08:24:52.091Z cypress:graphql:nexusDeferIfNotLoadedPlugin Racing execution for Query.versions
2022-06-17T08:24:52.101Z cypress:network:agent addRequest called { isHttps: true, href: 'https://registry.npmjs.org/cypress' }
2022-06-17T08:24:52.103Z cypress:network:connect beginning getAddress { hostname: 'registry.npmjs.org', port: 80 }
2022-06-17T08:24:52.105Z cypress:graphql:nexusDeferIfNotLoadedPlugin Racing execution for Query.cloudViewer
2022-06-17T08:24:52.114Z cypress:graphql:remoteSchemaWrapped executing: {"operationName":"HeaderBar_HeaderBarQuery_cloudViewer","requestPolicy":"cache-first"}
2022-06-17T08:24:52.116Z cypress:graphql:nexusDeferIfNotLoadedPlugin Racing Query.cloudViewer resolved immediately
2022-06-17T08:24:52.116Z cypress:graphql:nexusDeferIfNotLoadedPlugin Query.versions did not resolve immediately
2022-06-17T08:24:52.119Z cypress:network:connect got addresses { hostname: 'registry.npmjs.org', port: 80, addresses: [ { address: '104.16.16.35', family: 4 }, { address: '104.16.25.35', family: 4 }, { address: '104.16.23.35', family: 4 }, { address: '104.16.20.35', family: 4 }, { address: '104.16.24.35', family: 4 }, { address: '104.16.19.35', family: 4 }, { address: '104.16.26.35', family: 4 }, { address: '104.16.18.35', family: 4 }, { address: '104.16.21.35', family: 4 }, { address: '104.16.22.35', family: 4 }, { address: '104.16.17.35', family: 4 }, { address: '104.16.27.35', family: 4 } ] }
2022-06-17T08:24:52.131Z cypress:network:agent got family { family: 4, href: 'https://registry.npmjs.org/cypress' }
2022-06-17T08:24:52.381Z cypress:data-context:sources:VersionsDataSource NPM release dates received { modified: '2022-06-14T07:12:40.628Z' }
2022-06-17T08:24:52.755Z cypress:server:util:editors user has the following editors: []
2022-06-17T08:24:52.756Z cypress:server:saved_state making saved state from C:\Users\Name Surname\AppData\Local\Cypress\Cache\10.1.0\Cypress\resources\app\packages\server
2022-06-17T08:24:52.756Z cypress:server:saved_state missing project path, looking for project here
2022-06-17T08:24:52.757Z cypress:server:saved_state state path for global mode
2022-06-17T08:24:52.757Z cypress:server:appdata path: C:\Users\Name Surname\AppData\Roaming\Cypress\cy\production\projects\__global__\state.json
2022-06-17T08:24:52.757Z cypress:server:saved_state full state path C:\Users\Name Surname\AppData\Roaming\Cypress\cy\production\projects\__global__\state.json
2022-06-17T08:24:52.760Z cypress:server:util:editors saved preferred editor: { id: 'other', name: 'Other', openerId: 'C:\\Program Files\\Notepad++\\notepad++.exe', isOther: true }
2022-06-17T08:24:52.760Z cypress:server:util:editors return available editors: [ { id: 'computer', name: 'File Explorer', binary: 'computer' }, { id: 'other', name: 'Other', openerId: 'C:\\Program Files\\Notepad++\\notepad++.exe', isOther: true } ]
2022-06-17T08:24:52.760Z cypress:server:saved_state making saved state from C:\Users\Name Surname\AppData\Local\Cypress\Cache\10.1.0\Cypress\resources\app\packages\server
2022-06-17T08:24:52.761Z cypress:server:saved_state missing project path, looking for project here
2022-06-17T08:24:52.761Z cypress:server:saved_state state path for global mode
2022-06-17T08:24:52.761Z cypress:server:appdata path: C:\Users\Name Surname\AppData\Roaming\Cypress\cy\production\projects\__global__\state.json
2022-06-17T08:24:52.762Z cypress:server:saved_state full state path C:\Users\Name Surname\AppData\Roaming\Cypress\cy\production\projects\__global__\state.json
2022-06-17T08:24:52.792Z cypress:network:agent addRequest called { isHttps: true, href: 'https://download.cypress.io/desktop.json' }
2022-06-17T08:24:52.792Z cypress:network:connect beginning getAddress { hostname: 'download.cypress.io', port: 80 }
2022-06-17T08:24:52.793Z cypress:network:connect got addresses { hostname: 'download.cypress.io', port: 80, addresses: [ { address: '104.26.6.176', family: 4 }, { address: '172.67.69.12', family: 4 }, { address: '104.26.7.176', family: 4 } ] }
2022-06-17T08:24:52.832Z cypress:network:agent got family { family: 4, href: 'https://download.cypress.io/desktop.json' }
2022-06-17T08:24:53.143Z cypress:data-context:sources:VersionsDataSource retrieving latest version information with headers: { 'Content-Type': 'application/json', 'x-cypress-version': '10.1.0', 'x-os-name': 'win32', 'x-arch': 'x64', 'x-initial-launch': 'true', 'x-machine-id': '6f61269f888a4d84175a9320e32ece94177cee2fa569da42d92d7b154cf0e083' }
2022-06-17T08:24:53.144Z cypress:data-context:sources:VersionsDataSource latest version information: { name: 'Cypress', version: '10.1.0', packages: { mac: { url: 'https://cdn.cypress.io/desktop/10.1.0/darwin-x64/cypress.zip' }, linux64: { url: 'https://cdn.cypress.io/desktop/10.1.0/linux-x64/cypress.zip' }, darwin: { url: 'https://cdn.cypress.io/desktop/10.1.0/darwin-x64/cypress.zip' }, linux: { url: 'https://cdn.cypress.io/desktop/10.1.0/linux-x64/cypress.zip' }, 'darwin-x64': { url: 'https://cdn.cypress.io/desktop/10.1.0/darwin-x64/cypress.zip' }, 'linux-x64': { url: 'https://cdn.cypress.io/desktop/10.1.0/linux-x64/cypress.zip' }, 'win32-x64': { url: 'https://cdn.cypress.io/desktop/10.1.0/win32-x64/cypress.zip' } } }
2022-06-17T08:24:53.144Z cypress:graphql:nexusDeferIfNotLoadedPlugin Racing Query.versions eventually resolved with { latest: { id: '10.1.0', version: '10.1.0', released: '2022-06-10T17:57:24.450Z' }, current: { id: '10.1.0', version: '10.1.0', released: '2022-06-10T17:57:24.450Z' } } HeaderBar_HeaderBarQuery
2022-06-17T08:24:53.146Z cypress:graphql:nexusDeferIfNotLoadedPlugin Resolving versions for pushFragment with {"latest":{"id":"10.1.0","version":"10.1.0","released":"2022-06-10T17:57:24.450Z"},"current":{"id":"10.1.0","version":"10.1.0","released":"2022-06-10T17:57:24.450Z"}}
2022-06-17T08:24:53.146Z cypress:data-context:sources:GraphQLDataSource pushFragment value {"data":{"versions":{"current":{"id":"10.1.0","version":"10.1.0","released":"2022-06-10T17:57:24.450Z","__typename":"Version"},"latest":{"id":"10.1.0","version":"10.1.0","released":"2022-06-10T17:57:24.450Z","__typename":"Version"},"__typename":"VersionData"}}}

Plase note that the project name and username have been replaced with "project" and "Name Surname" respectively.

Some more details:
After running the above, the cypres window does open, but it hangs on the initial spinner:
2022-06-17 13_43_18
The version, docs, and login button work as expected. Same with the app menu (file, edit, view., ...).

This is on Windows 10 Pro (64bit) 19044.1766 with Node.js v16.15.0.

Like other people in this thread, I've also experienced this issue after updating to 10.1.0 (from 10.0.2), and downgraded to 10.0.3.

@singque09
Copy link
Author

singque09 commented Jun 17, 2022

@marktnoonan I've fixed the issue by rolling back to 10.0.3. The log from @rmmbear looks the same as mine but I'll leave my specs for your reference as well:

  • Node Version: 16.13.1
  • OS: Windows 11 Pro

Hope the above info helps. Many thanks!

@AtofStryker AtofStryker added stage: investigating Someone from Cypress is looking into this and removed stage: awaiting response Potential fix was proposed; awaiting response labels Jun 17, 2022
@lucasbatier
Copy link

lucasbatier commented Jun 20, 2022

Exactly the same problem on windows 10 here

Cypress Version
10.1.0

Package Manager
yarn

Operating system
Windows 10 Pro, Version 21H2

@marktnoonan
Copy link
Contributor

Thanks for the logs all, still looking into any changes between 10.0.3 and 10.1.0 that would be responsible for this. The logs have helped narrow it down a bit but I still cannot reproduce. Will plan to route this to the team to investigate more deeply.

In the meantime, @singque09 (or anybody), creating a minimal reproduction that has this issue for you on windows (and we could clone) would be a big help towards resolving. It's possible this issue is only encountered with certain setups in cypress.config.js for example.

@cypress-bot cypress-bot bot added stage: awaiting response Potential fix was proposed; awaiting response and removed stage: investigating Someone from Cypress is looking into this labels Jun 21, 2022
@lucasbatier
Copy link

@marktnoonan According to many responses on the cannel, the issue is probably due to the space between the first and last name of the username in the folder. See below Error: Cannot find module 'C:\Users\Lucas'.

node:internal/modules/cjs/loader:936
  throw err;
  ^

Error: Cannot find module 'C:\Users\Lucas'
Require stack:
- internal/preload
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
    at Function.Module._load (node:internal/modules/cjs/loader:778:27)
    at Module.require (node:internal/modules/cjs/loader:1005:19)
    at Module._preloadModules (node:internal/modules/cjs/loader:1280:12)
    at loadPreloadModules (node:internal/bootstrap/pre_execution:476:5)
    at prepareMainThreadExecution (node:internal/bootstrap/pre_execution:77:3)
    at node:internal/main/run_main_module:7:1 {
  code: 'MODULE_NOT_FOUND',
  requireStack: [ 'internal/preload' ]
}

My configs are the configs created automatically by cypress, no tests yet ; just installed.

@marktnoonan
Copy link
Contributor

My configs are the configs created automatically by cypress, no tests yet ; just installed.

ty @lucasbatier - definitely agreed that the space looks like the problem, but since the space in the username does not reproduce this for me (I have tried), all extra info is helpful.

@marktnoonan
Copy link
Contributor

By leaving my Windows machine logged in to the profile with the space in the name, I was able to reproduce this issue while testing the reproduction provided in another issue: #22303 (comment)

Here is the example that reproduces the issue: rename-files.zip

What seems to be in common between this project and some of the info provided above is typescript, so it's possible some of the changes around typescript detection between 10.0.3 and 10.1.0 introduced this issue.

@cypress-bot cypress-bot bot removed the stage: awaiting response Potential fix was proposed; awaiting response label Jun 21, 2022
@actionJacksonfv
Copy link

10.2.0 is experiencing this issue. Downgraded to 10.0.3

@ferlopezcarr
Copy link

10.2.0 is experiencing this issue. Downgraded to 10.0.3

Good solution, keep 10.0.3 at the latest stable version in Windows.

@Qhristian
Copy link

https://docs.cypress.io/guides/references/troubleshooting#Clear-Cypress-cache
This little fine guide worked for me on "restoring" the 10.2.0

I'm on windows 11

@lmiller1990
Copy link
Contributor

Seems 10.2.0 has solved this issue for at least one person - can anyone else still experiencing this try updating and doing the above step as recommended by @Qhristian?

Also, we had some issues with windows users with spaces in their username. If you are having this issue and have spaces in your username, please post - I thought this was solved, but perhaps not?

@actionJacksonfv
Copy link

Yeah I had spaces still come up - I'm on windows 11 and cleared my cache and I still have issues.

@kaiyoma
Copy link

kaiyoma commented Jun 28, 2022

I'm on Windows 10 and I'm running into this with Cypress 10.2.0. Sounds like tomorrow I should try 10.0.3 instead.

@tester-at-bmi
Copy link

@lmiller1990 the issue is not solved at all...

@lmiller1990
Copy link
Contributor

lmiller1990 commented Jun 28, 2022

Hello all, this was a regression (introduced be me) in this PR, specifically here: abd986a#diff-b0bd90502ad464c0d541a0e47822d15fec9ba5434dc4225d2993305e1ec7d30aR19. Apparently fork does not automatically escape NODE_OPTIONS, so when we pass --require with the ts-node loader, where the argument has a space, we error.

You could downgrade to 10.0.3 or wait until the PR fixing this is merged, which I am going to make right now. We have a release going out in the next day or two, so the fix will be live very soon.

I am sorry about this regression, I'm posting a fix as we speak and we will push it out asap.

@tester-at-bmi
Copy link

@lmiller1990 you mean downgrade to 10.0.3 since 10.1.0 has actually the same issue if i'm not mistaken.

@lmiller1990
Copy link
Contributor

lmiller1990 commented Jun 28, 2022

@tester-at-bmi Yes, that looks like the previous version, prior to the regression. I've corrected my post.

Another solution until this fix is deployed would be move your repository to a path without white space. Not ideal, but could work if you want to use the latest version and can't wait a day or two until we release the fix.

@lmiller1990
Copy link
Contributor

This will be fixed in #22550 which we are going to review and release asap. Thanks for the patience everyone.

@cypress-bot cypress-bot bot added stage: needs review The PR code is done & tested, needs review stage: open stage: investigating Someone from Cypress is looking into this and removed stage: open stage: needs review The PR code is done & tested, needs review labels Jun 28, 2022
@kaiyoma
Copy link

kaiyoma commented Jun 28, 2022

I can confirm that the issues are fixed in 10.3.0 on Windows 10. 🎉

@ZLTM
Copy link

ZLTM commented Mar 24, 2023

Experiencing the same issue on edge with a Mac running venture, the edge browser will rapidly open and close back, cypress is stuck at opening E2E testing in edge

@lmiller1990
Copy link
Contributor

Can you post a minimal reproduction, I can help you debug it. I usually fork https://github.com/cypress-io/cypress-test-tiny to create a minimal reproduction. Thanks!

@pallabi-ghosh
Copy link

Hi, I am getting an error for the login issue in cypress. My code is written like this but to solve this problem I want to pass the header and value here. Could you please tell me how I can do that?

cy.origin(
"https://ccc.com",
{ args: { userRole, userTypes } },
({ userRole, userTypes }) => {
cy.log("Enter user credentials");
cy.get('[data-cy="username"]')
.shadow()
.find('input[type="text"]')
.type("");

      cy.get('[data-cy="password"]')
        .shadow()
        .find('input[type="password"]')
        .type("");
      cy.get("form").submit();
    }
  );

@nagash77
Copy link
Contributor

nagash77 commented Aug 3, 2023

Hi @pallabi-ghosh issues int he repo are reserved for bugs and feature requests. For help using Cypress please check out the Cypress Discord Community Discord chat, it can be helpful for debugging or answering questions on how to use Cypress.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CT Issue related to component testing stage: investigating Someone from Cypress is looking into this topic: installation Issue during installation or downloading Cypress type: bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.