Cypress: Unexpected error on CLI on Mac OS X

Created on 10 Oct 2017  Â·  14Comments  Â·  Source: cypress-io/cypress

I'm getting the following error when typing: cypress open in the command line for version 1.0.0.

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

TypeError: Cannot read property 'pipe' of null
----------

Platform: darwin (16.7.0)
Cypress Version: 1.0.0

Also, when running tests on the CLI, the output is not colored anymore.

bug

Most helpful comment

Yes it's all the same issue. Going to be fixed once all tests pass for 1.0.1

All 14 comments

Yeah I am seeing that too. Our linux + windows versions are passing in CI, so might just be OSX.

Can it be the child process spawn options? I bet it is child.stderr work we have done to dev null stream

Sent from my iPhone

On Oct 10, 2017, at 14:19, Brian Mann notifications@github.com wrote:

Yeah I am seeing that too. Our linux + windows versions are passing in CI, so might just be OSX.

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Yeah it's definitely not a binary problem. Definitely with the CLI itself.

I am seeing the same error when installing 0.20.3 on the new CLI

CYPRESS_BINARY_VERSION=0.20.3 cypress install

Got to start mac ci too, Linux and windows are not catching this.

Sent from my iPhone

On Oct 10, 2017, at 14:23, Brian Mann notifications@github.com wrote:

I am seeing the same error when installing 0.20.3 on the new CLI

CYPRESS_BINARY_VERSION=0.20.3 cypress install

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

Yeah I did not manually test this either... I rolled back to 0.20.3 temporarily

This will require a new release of the CLI, hah.

The full stack trace in OSX...

screen shot 2017-10-10 at 7 28 17 am

Both child.stdout and child.stderr are null O_O

I see what the problem is. We assumed the options were always pipe... but when verify calls it uses inherit as stdio... how did we miss this

I'm just going to do a conditional here for windows vs everything else...

I get the following error, think it's related:

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

TypeError: Cannot read property 'pipe' of null
----------

Platform: win32 (10.0.10240)
Cypress Version: 1.0.0

Yes it's all the same issue. Going to be fixed once all tests pass for 1.0.1

Fixed in 1.0.1.

Was this page helpful?
0 / 5 - 0 ratings