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.

Stop cypress from downloading & unpacking every time

See original GitHub issue

Is this a Feature or Bug?

Bug

Current behavior:

When I run npm install cypress everything works nicely 👍 But when I redo the command it is not picking up on the fact that it is already installed and unpacked, which can cost a lot of time.

Desired behavior:

Cypress not downloading and unpacking itself when there is already a cypress folder.

How to reproduce:

npm install cypress on an existing project where cypress is installed already.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:5
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

11reactions
Konstruktourcommented, Feb 23, 2018

Recommendation: use yarn - dont have the problem there.

4reactions
brandonmpcommented, Apr 7, 2018

wanted to chime-in since I landed here trying to figure out why yarn was rebuilding cypress from scratch every time I ran yarn add x 😕

though it looks like a fix for that should be landing in yarn soon

Read more comments on GitHub >

github_iconTop Results From Across the Web

Installing cypress - stuck on unzipping 0% - Stack Overflow
UPDATE - I managed to manually download the cypress binary and extract it, I put it in the AppData folder and all good....
Read more >
cypress-io/cypress - Gitter
Hi all, really quick one! I am trying to conditionally check a the url after a submit. If it contains 'foo' the do...
Read more >
Advanced Installation | Cypress Documentation
This could be useful if you want to prevent Cypress from downloading the Cypress binary at the time of npm install . CYPRESS_INSTALL_BINARY=0...
Read more >
Skip Cypress Install On CI - Gleb Bahmutov
This binary is stored in the central folder on their machine, thus it is downloaded and unzipped once per Cypress version. It is...
Read more >
MessagePack: It's like JSON. but fast and small.
The schemaless database is growing by billions of records every month. ... These feeds are compressed and very quick to unpack thanks to...
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