cypress icon indicating copy to clipboard operation
cypress copied to clipboard

Not able to install cypress

Open dikshach1111 opened this issue 1 year ago • 2 comments

Current behavior

npm install cypress --save-dev npm warn cleanup Failed to remove some directories [ npm warn cleanup [ npm warn cleanup '\\?\C:\Users\D\CypressAutomation\node_modules\dunder-proto', npm warn cleanup [Error: EBUSY: resource busy or locked, rmdir 'C:\Users\D\CypressAutomation\node_modules\dunder-proto'] { npm warn cleanup errno: -4082, npm warn cleanup code: 'EBUSY', npm warn cleanup syscall: 'rmdir', npm warn cleanup path: 'C:\Users\D\CypressAutomation\node_modules\dunder-proto' npm warn cleanup } npm warn cleanup ], npm warn cleanup [ npm warn cleanup '\\?\C:\Users\D\CypressAutomation\node_modules\side-channel', npm warn cleanup [Error: EBUSY: resource busy or locked, rmdir 'C:\Users\D\CypressAutomation\node_modules\side-channel\node_modules\object-inspect'] { npm warn cleanup errno: -4082, npm warn cleanup code: 'EBUSY', npm warn cleanup syscall: 'rmdir', npm warn cleanup path: 'C:\Users\D\CypressAutomation\node_modules\side-channel\node_modules\object-inspect'
npm warn cleanup } npm warn cleanup ] npm warn cleanup ] npm error code 1 npm error path C:\Users\D\CypressAutomation\node_modules\cypress npm error command failed npm error command C:\windows\system32\cmd.exe /d /s /c node index.js --exec install npm error Installing Cypress (version: 13.16.1) npm error npm error [STARTED] Task without title. npm error The Cypress App could not be downloaded. npm error npm error Does your workplace require a proxy to be used to access the Internet? If so, you must configure the HTTP_PROXY environment variable before downloading Cypress. Read more: https://on.cypress.io/proxy-configuration npm error npm error Otherwise, please check network connectivity and try again: npm error npm error ---------- npm error npm error URL: https://download.cypress.io/desktop/13.16.1?platform=win32&arch=x64 npm error Error: self-signed certificate in certificate chain npm error npm error ---------- npm error npm error Platform: win32-x64 (10.0.22631) npm error Cypress Version: 13.16.1 npm error [FAILED] The Cypress App could not be downloaded. npm error [FAILED] npm error [FAILED] Does your workplace require a proxy to be used to access the Internet? If so, you must configure the HTTP_PROXY environment variable before downloading Cypress. Read more: https://on.cypress.io/proxy-configuration npm error [FAILED] npm error [FAILED] Otherwise, please check network connectivity and try again: npm error [FAILED] npm error [FAILED] ---------- npm error [FAILED] npm error [FAILED] URL: https://download.cypress.io/desktop/13.16.1?platform=win32&arch=x64 npm error [FAILED] Error: self-signed certificate in certificate chain npm error [FAILED] npm error [FAILED] ---------- npm error [FAILED] npm error [FAILED] Platform: win32-x64 (10.0.22631) npm error [FAILED] Cypress Version: 13.16.1

Debug logs

No response

Cypress Version

13.16.1

Node version

V22.12.0

Package Manager

npm

Package Manager Version

10.9.0

Operating system

Windows

Operating System Version

23H2

Other

System type - 64-bit Windows 11

dikshach1111 avatar Dec 15 '24 07:12 dikshach1111

@dikshach1111

EBUSY: resource busy or locked

This error can usually be cleared by restarting your Windows system. If necessary, manually delete the node_modules directory in your project.

npm error [STARTED] Task without title. npm error The Cypress App could not be downloaded. npm error npm error Does your workplace require a proxy to be used to access the Internet? If so, you must configure the HTTP_PROXY environment variable before downloading Cypress. Read more: https://on.cypress.io/proxy-configuration npm error npm error Otherwise, please check network connectivity and try again: npm error npm error ---------- npm error npm error URL: https://download.cypress.io/desktop/13.16.1?platform=win32&arch=x64 npm error Error: self-signed certificate in certificate chain

  • How is your Windows system connected to the Internet?

  • Are you on a corporate network?

  • Are you using a VPN connection?

If the above is true for you, did you read and apply the instructions from https://on.cypress.io/proxy-configuration ? For Windows, the applicable section link is Set a proxy on Windows.

If you have checked this and made any necessary configuration changes, you can follow the Troubleshoot installation instructions.

If this is not successful, you can post the debug logs.

What happens if you try to download the Cypress binary cypress.zip in a web browser, such as Google Chrome, using the address https://download.cypress.io/desktop/13.16.1?platform=win32&arch=x64 ? If this fails, then you should be looking for problems on your client side or on your network.

Even if your issue is not due to a bug in Cypress, you can also request help from the Cypress technical community on Discord

Discord chat (click on button)

MikeMcC399 avatar Dec 15 '24 13:12 MikeMcC399

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.

cypress-app-bot avatar Jun 14 '25 02:06 cypress-app-bot

This issue has been closed due to inactivity.

cypress-app-bot avatar Jun 28 '25 02:06 cypress-app-bot