Closed MrinaliniPulidindi closed 1 year ago
@davidmunechika ,
I tried out below steps as well, Still the issue persists.
@T-e-j-k-u-m-a-r , is it in your local setup or in a CI/CD pipeline
I was able to resolve the issue by changing our proxy settings. But still Cypress 9.5.3 dosen’t log the issue , I used Cypress 9.0.0 and then saw the actual issue with the binary download. Please update 9.5.3 to log the issues.
Hi @MrinaliniPulidindi ,
Can you specify what proxy settings did you change? For my concern, I write HTTP_PROXY and HTTPS_PROXY env. The URL works with curl but not with npm. And I have the same error than you Thx for your help
I have the same error in my CI/CD pipeline.
I have the same issue and I'm running locally my jenkins:
I manage to fix this issue by adding the npm cypress install as first build step into project config and after add the second build step in order to start your build
I'm having this same exact issue trying to build from my M1 mac. When trying to run this from an Intel Mac, everything works just fine. Is there something different that needs to be done for the arm version? I've tried everything in the documentation for this and even tried using buildx to do a multi-platform build like I do for all our other internal images.
This happens in my Ubuntu when I try to configure Cypress in Jenkins locally.
cypressautomation@1.0.0 test node_modules/.bin/cypress run --browser chrome
The cypress npm package is installed, but the Cypress binary is missing.
We expected the binary to be installed here: /var/lib/jenkins/.cache/Cypress/12.3.0/Cypress/Cypress
Reasons it may be missing:
Properly caching the binary will fix this error and avoid downloading and unzipping Cypress.
Alternatively, you can run 'cypress install' to download the binary again. "We expected the binary to be installed here: /var/lib/jenkins/.cache/Cypress/12.3.0/Cypress/Cypress" How can I install the binary there? I don't understand.
This issue has not had any activity in 180 days. Cypress evolves quickly and the reported behavior should be tested on the latest version of Cypress to verify the behavior is still occurring. It will be closed in 14 days if no updates are provided.
This issue has been closed due to inactivity.
Facing the same issue while installing Cypress from the local binary through CYPRESS_INSTALL_BINARY variable.
Cypress.app is found under "/home/jenkins/.cache/Cypress/9.7.0/Cypress.app" but while running the cypress run command it throws error like "We expected the binary to be installed here: /home/jenkins/.cache/Cypress/9.7.0/Cypress/Cypress"
Why it's not looking for the correct path which would be "/home/jenkins/.cache/Cypress/9.7.0/Cypress.app"
Same error there, any fix?
Same problem with cypress v13.13.1 and v13.13.3... any fix?!
@msmosavar
You've replied to a closed issue for a legacy version of Cypress on a version of a Cypress Docker image which is no longer supported.
If you are having difficulty installing a current version of Cypress, you can try
export DEBUG=cypress:*
npx cypress install
or similar, depending on which operating system / package manager you are using, to get debug information. If it is still unclear how to solve your installation issue you can reach out to the Cypress technical community on Discord for advice:
If you think that you have hit a bug in Cypress, then you can open a new issue here in the issues list https://github.com/cypress-io/cypress/issues
Current behavior
I am using docker to install cypress and I am facing the below error every time I am doing Cypress verify.
"The cypress npm package is installed, but the Cypress binary is missing. We expected the binary to be installed here: /root/.cache/Cypress/9.5.3/Cypress/Cypress Reasons it may be missing:
You're caching 'node_modules' but are not caching this path: /root/.cache/Cypress You ran 'npm install' at an earlier build step but did not persist: /root/.cache/Cypress Properly caching the binary will fix this error and avoid downloading and unzipping Cypress. )Alternatively, you can run 'cypress install' to download the binary again. https://on.cypress.io/not-installed-ci-error "
Here is the docker code :
Debug logs
Cypress Version
9.5.3
Package Manager
yarn
Operating system
Linux
Other
Platform: linux-x64 (Debian - 10.8)