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)

Most upvoted comments

@AlxndrMlk Please try open it by adding

"scripts": {
    "cypress": "cypress"
  },

into your package.json file and run it by executing npm run cypress open

We 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 :

...
> node index.js --exec install

Installing Cypress (version: 1.0.2)

 ×  Downloading Cypress    
   → Cypress Version: 1.0.2
    Unzipping Cypress      
    Finishing Installation 
The Cypress App could not be downloaded.

Please check network connectivity and try again:
----------

URL: https://download.cypress.io/desktop/1.0.2?platform=win32&arch=x64
Error: getaddrinfo ENOTFOUND download.cypress.io download.cypress.io:443
----------

Platform: win32 (6.1.7601)
Cypress Version: 1.0.2

@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.

 x  Verifying Cypress can run C:\Users\dev_adi\AppData\Local\Cypress\Cache\3.0.1\Cypress
   → spawn UNKNOWN

Although, I think this other PR may give more insight into why the spawn UNKNOWN error is occuring since it specifically adds more login to cypress verify https://github.com/cypress-io/cypress/pull/3807

I also just did a reinstall of Cypress and do not get any error message during the installation (I still get the abovementioned error however)


> cypress@1.0.2 postinstall C:\Users\froeh\Development\werkstatt-app\node_modules\cypress
> node index.js --exec install

Installing Cypress (version: 1.0.2)

 V  Downloaded Cypress
 V  Unzipped Cypress
 V  Finished Installation C:\Users\froeh\Development\werkstatt-app\node_modules\cypress\dist\Cypress

You can now open Cypress by running: node_modules\.bin\cypress open

https://on.cypress.io/installing-cypress
+ cypress@1.0.2
added 67 packages in 450.01s`