New Windows 10 Install, Chrome 87 64bit, cypress can't find chrome. symlink doesnt fix it. #9402
-
Okay I've run through a lot of the troubleshooting guides so hopefully I can provide enough info here that it will spark a memory in someone and I can get this figured out. I restored my laptop running Windows 10 two nights ago and then reinstalled chrome 87.0.4280.66 I pulled down my project from git and tried to get my cypress tests to run in chrome using Looking in the documentation I see that cypress expects it to be in I noticed this test that exist for cypress so I figured it should find it: exports['windows browser detection detects new Chrome 64-bit app path 1'] = {
"name": "chrome",
"version": "4.4.4",
"path": "C:/Program Files/Google/Chrome/Application/chrome.exe"
} But a The docs suggest I add a symlink (both HARD and not) to the official location Here is the output of the 1. Chrome
- Name: chrome
- Channel: stable
- Version: 87.0.4280.66
- Executable: C:\Program Files (x86)\Google\Chrome\Application\chrome.exe
- Profile: C:\Users\bill\AppData\Roaming\Cypress\cy\production\browsers\chrome-stable
2. Edge
- Name: edge
- Channel: stable
- Version: 87.0.664.47
- Executable: C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
- Profile: C:\Users\bill\AppData\Roaming\Cypress\cy\production\browsers\edge-stable When I run Running: all\resource-table.spec.js (1 of 49)
spawn UNKNOWN
Error: spawn UNKNOWN
at ChildProcess.spawn (internal/child_process.js:394:11)
at Object.spawn (child_process.js:553:9)
at Object.launch (C:\Users\bill\AppData\Local\Cypress\Cache\4.12.1\Cypress\resources\app\packages\launcher\lib\browsers.js:116:19)
at Object.<anonymous> (C:\Users\bill\AppData\Local\Cypress\Cache\4.12.1\Cypress\resources\app\packages\server\lib\browsers\chrome.js:439:62)
at step (C:\Users\bill\AppData\Local\Cypress\Cache\4.12.1\Cypress\resources\app\packages\server\lib\browsers\chrome.js:33:23)
at Object.next
[cypress-chrome.log](https://github.com/cypress-io/cypress/files/5624807/cypress-chrome.log)
(C:\Users\bill\AppData\Local\Cypress\Cache\4.12.1\Cypress\resources\app\packages\server\lib\browsers\chrome.js:14:53)
at fulfilled (C:\Users\bill\AppData\Local\Cypress\Cache\4.12.1\Cypress\resources\app\packages\server\lib\browsers\chrome.js:5:58) I'm going to attach the debug output log - its 540 lines. So .. anyone have any ideas? (by the way if I install chrome canary that works but chrome still doesnt with cypress) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Could you try a newer version of Cypress, 4.12.1 is pretty old already. |
Beta Was this translation helpful? Give feedback.
Could you try a newer version of Cypress, 4.12.1 is pretty old already.