Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unzipping cypress preblem #2165

Closed
luxin59 opened this issue Jul 18, 2018 · 4 comments
Closed

Unzipping cypress preblem #2165

luxin59 opened this issue Jul 18, 2018 · 4 comments

Comments

@luxin59
Copy link

luxin59 commented Jul 18, 2018

The Cypress App could not be unzipped.

Search for an existing issue or open a GitHub issue at


----------

Error: end of central directory record signature not found
----------

Platform: darwin (16.7.0)
Cypress Version: 3.0.2

@jennifer-shehane
Copy link
Member

Hi @luxin59, are you behind a corporate proxy? If so, could you try some current workaround from this issue and let me know if this error goes away? #1469 (comment)

@jennifer-shehane jennifer-shehane added the stage: awaiting response Potential fix was proposed; awaiting response label Jul 18, 2018
@gustawdaniel
Copy link

I had this problem but only one time. Without corporate proxy. I installed package in other project and now package is treated as installed globally. I can't reproduce this problem now. Probably you can close this issue because it describe rare and accidentally occurring bug.

@jennifer-shehane jennifer-shehane removed the stage: awaiting response Potential fix was proposed; awaiting response label Sep 20, 2018
@limzhang
Copy link

limzhang commented May 28, 2019

I tried to excute the command of npm install cypress two times.

The first time, I encountered this problem,too. The error log says

Error: end of central directory record signature not found

and there is a npm warning says

no such file or directory, open 'C:\Users\zhanglimin\package.json'

Then I tried the second time. During the installation, there is no errors, but the waring still exists.The warning contents is described as below:

npm WARN saveError ENOENT: no such file or directory, open 'C:\Users\zhanglimin\package.json'
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN enoent ENOENT: no such file or directory, open 'C:\Users\zhanglimin\package.json'
npm WARN zhanglimin No description
npm WARN zhanglimin No repository field.
npm WARN zhanglimin No README data
npm WARN zhanglimin No license field.

Can I omit this warning and continue to use cypress? And if I need to modify the file name "package-lock.json" to "package.json"?

@jennifer-shehane
Copy link
Member

@limzhang The second warnings comes directly from npm and does not have to do with Cypress. They are just telling you that some fields should be added to your package.json file - you can ignore them though.

If the end of central directory record signature not found error occurs again, I would suggest posting in this issue as it is tracking this more closely: #3515

@cypress-io cypress-io locked as resolved and limited conversation to collaborators May 30, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants