question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Issues while installing from zip file

See original GitHub issue

I am behind a corporate proxy which doesnt allow to download/installation from outside LAN.

I tried to install Cypress from Zip file ( 3.0.2) and it fails with below error. How can I fix this issue?

Note: Unzipping the file and using directly is working fine. But I need to get this installation also to work

Logs as below

D:\tmp>set CYPRESS_INSTALL_BINARY=D:/tmp/Installer/cypress.zip && npm install cypress -D

> cypress@3.0.2 postinstall D:\tmp\node_modules\cypress
> node index.js --exec install

 ×  Downloading Cypress
   → Cypress Version: 3.0.2
    Unzipping Cypress
    Finishing Installation
The Cypress App could not be downloaded.

Please check network connectivity and try again:
----------

URL: https://download.cypress.io/desktop/D:/tmp/Installer/cypress.zip?platform=win32&arch=x64
Error: getaddrinfo ENOTFOUND download.cypress.io download.cypress.io:443
----------

Platform: win32 (6.3.9600)
Cypress Version: 3.0.2
npm WARN enoent ENOENT: no such file or directory, open 'D:\tmp\package.json'
npm WARN tmp No description
npm WARN tmp No repository field.
npm WARN tmp No README data
npm WARN tmp No license field.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! cypress@3.0.2 postinstall: `node index.js --exec install`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the cypress@3.0.2 postinstall script 'node index.js --exec install'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the cypress package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node index.js --exec install
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs cypress
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls cypress
npm ERR! There is likely additional logging output above.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
krvikash35commented, Oct 9, 2018

Got it work…by setting unix like path on windows cmd

SET CYPRESS_INSTALL_BINARY=C:/Users/myUserName/Downloads/cypress.zip
0reactions
jennifer-shehanecommented, Dec 11, 2018

Hey @jonasohrn, can you open an issue for this in our main repo here.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Fix Failed to Install Addon from ZIP File Error on Kodi
The causes of Failed to Install Addon from ZIP File error on Kodi vary. We've round up the most possible causes and corresponding...
Read more >
FIX: Failed to Install Addon from Zip File on Kodi
In this guide, you will find the instructions to fix the error Failed to Install Addon from Zip File during the installation of...
Read more >
Failed to Install Addon From Zip File on Kodi: Fixed
When Kodi fails to install add-on from zip file, you should try and download the file locally and install from there, or to...
Read more >
Fix Kodi Error Failed to install Addon From Zip File - Bollyinside
Install Zip File Locally and Try the Build Installation Again. Open the Settings menu. Go to System Settings > Logging. In the menu...
Read more >
5 Methods to Fix Zip File Is Valid Problem
Part 1: What causes zip file invalid errors? · The virus is the greatest cause of zip file errors · MS office files...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found