cypress: Cypress not running after installing on windows 32bit
Bug:
After the installation through npm I tried to open cypress. It fails with the following error message:
Stack trace:
C:\Users\froeh\Development\werkstatt-app>node node_modules//cypress/bin/cypress open
It looks like this is your first time using Cypress: 1.0.2
× Verifying Cypress can run C:\Users\froeh\Development\werkstatt-app\node_modules\cypress\dist\Cypress
→ spawn UNKNOWN
An unexpected error occurred while verifying the Cypress executable.
Please search Cypress documentation for possible solutions:
https://on.cypress.io
Check if there is a GitHub issue describing this crash:
https://github.com/cypress-io/cypress/issues
Consider opening a new issue.
----------
Error: spawn UNKNOWN
at _errnoException (util.js:1019:11)
at ChildProcess.spawn (internal/child_process.js:325:11)
at Object.exports.spawn (child_process.js:494:9)
at C:\Users\froeh\Development\werkstatt-app\node_modules\cypress\lib\tasks\verify.js:82:22
at Promise._execute (C:\Users\froeh\Development\werkstatt-app\node_modules\bluebird\js\release\debuggability.js:300:9)
at Promise._resolveFromExecutor (C:\Users\froeh\Development\werkstatt-app\node_modules\bluebird\js\release\promise.js:483:18)
at new Promise (C:\Users\froeh\Development\werkstatt-app\node_modules\bluebird\js\release\promise.js:79:10)
at spawn (C:\Users\froeh\Development\werkstatt-app\node_modules\cypress\lib\tasks\verify.js:77:12)
at runSmokeTest (C:\Users\froeh\Development\werkstatt-app\node_modules\cypress\lib\tasks\verify.js:124:12)
at C:\Users\froeh\Development\werkstatt-app\node_modules\cypress\lib\tasks\verify.js:150:29
at tryCatcher (C:\Users\froeh\Development\werkstatt-app\node_modules\bluebird\js\release\util.js:16:23)
at Promise._settlePromiseFromHandler (C:\Users\froeh\Development\werkstatt-app\node_modules\bluebird\js\release\promise.js:512:31)
at Promise._settlePromise (C:\Users\froeh\Development\werkstatt-app\node_modules\bluebird\js\release\promise.js:569:18)
at Promise._settlePromise0 (C:\Users\froeh\Development\werkstatt-app\node_modules\bluebird\js\release\promise.js:614:10)
at Promise._settlePromises (C:\Users\froeh\Development\werkstatt-app\node_modules\bluebird\js\release\promise.js:693:18)
at Promise._fulfill (C:\Users\froeh\Development\werkstatt-app\node_modules\bluebird\js\release\promise.js:638:18)
----------
Platform: win32 (10.0.10586)
Cypress Version: 1.0.2
- Operating System: Windows 10 - 32 Bit
- Cypress Version: 1.0.2
- Browser Version: N/A
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 24 (9 by maintainers)
@AlxndrMlk Please try open it by adding
into your
package.jsonfile and run it by executingnpm run cypress openWe have fixed this by also building for Windows 32-bit.
The code for this is done in cypress-io/cypress#3877, but has yet to be released. We’ll update this issue and reference the changelog when it’s released.
When a proxy deny your download request it is very clear :
@brian-mann Many of the earlier comments were experiencing a proxy issue that will be resolved by this PR https://github.com/cypress-io/cypress/pull/3531 and the release of 3.3.0 - specifically these comments:
Although the original issue is the error below specifically, and this should be left open for this.
Although, I think this other PR may give more insight into why the
spawn UNKNOWNerror is occuring since it specifically adds more login tocypress verifyhttps://github.com/cypress-io/cypress/pull/3807I also just did a reinstall of Cypress and do not get any error message during the installation (I still get the abovementioned error however)