You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Working in Windows, I'm getting the message 'Cypress' is not recognized as an internal or external command,
so presumably my installation is not finding the binary.
The question is how do you work out where the application is looking?
The command that would appear to provide that answer is cypress verify
which gives me the following > Cypress verify V Verified Cypress! D:\CypressEndToEndTesting\cypresscache\7.2.0\Cypress
based on that it made sense to set CYPRESS_RUN_BINARY to that value as follows set CYPRESS_RUN_BINARY=D:\CypressEndToEndTesting\cypresscache\7.2.0\Cypress
However now I am getting > Cypress verify Note: You have set the environment variable: CYPRESS_RUN_BINARY="D:\CypressEndToEndTesting\cypresscache\7.2.0\Cypress" This overrides the default Cypress binary path used. Could not run binary set by environment variable: CYPRESS_RUN_BINARY="D:\CypressEndToEndTesting\cypresscache\7.2.0\Cypress" Ensure the environment variable is a path to the Cypress binary, matching **/Cypress.exe
I can see that cypress.exe exists in "D:\CypressEndToEndTesting\cypresscache\7.2.0\Cypress" so what am I doing wrong?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Working in Windows, I'm getting the message
'Cypress' is not recognized as an internal or external command,
so presumably my installation is not finding the binary.
The question is how do you work out where the application is looking?
The command that would appear to provide that answer is
cypress verify
which gives me the following
> Cypress verify V Verified Cypress! D:\CypressEndToEndTesting\cypresscache\7.2.0\Cypress
based on that it made sense to set CYPRESS_RUN_BINARY to that value as follows
set CYPRESS_RUN_BINARY=D:\CypressEndToEndTesting\cypresscache\7.2.0\Cypress
However now I am getting
> Cypress verify Note: You have set the environment variable: CYPRESS_RUN_BINARY="D:\CypressEndToEndTesting\cypresscache\7.2.0\Cypress" This overrides the default Cypress binary path used. Could not run binary set by environment variable: CYPRESS_RUN_BINARY="D:\CypressEndToEndTesting\cypresscache\7.2.0\Cypress" Ensure the environment variable is a path to the Cypress binary, matching **/Cypress.exe
I can see that cypress.exe exists in "D:\CypressEndToEndTesting\cypresscache\7.2.0\Cypress" so what am I doing wrong?
Beta Was this translation helpful? Give feedback.
All reactions