I am trying to install cypress on my Citrix machine using command npm install --save-dev cypress (It was working fine earlier) but now getting this error-
also, the same is working fine on my Local, But there is no proxy connection I am using to access inte.net in my citrix machine, not sure why suddenly it is throwing proxy error, I am not able to proceed further.
Follow the steps mentioned in the below for reference - Pre-Requisites (Node JS & Package.json Creation -
Clean Install of Cypress from Scratch - 1. Clear Cypress by searching in windows and Shift Delete(Excluding the project folders) 2. Download Cypress from https://download.cypress.io/desktop/9.5.2 (Pass any version based from - https://docs.cypress.io/guides/references/changelog 3.Use this command in VS Code terminal as setx CYPRESS_INSTALL_BINARY rojectfolder.zip (Copy this zip file to any location and mention the path after CYPRESS_INSTALL_BINARY) 4. Restart Visual Studio Code d. Run from terminal - npm install cypress@10.3.0 (This will install node_modules & package. lock.json) 5. \node_modules.bin\cypress.cmd install -- force 6. add the below command under scripts in package.json - Cypress:run": "set Cypress RUN BINARY.C://Users//%username%// AppData//Local//Cypress//Cache//9.5.2//Cypress//Cypress.exe&& cypress open --browser electron (set CYPRESS_RUN_BINARY=mention the Appdata Path for cypress.exe)
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.