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.

is there is a way to install cypress without installing electron?

See original GitHub issue

Hello

thanks for awesome tool!

I got a question if there is a chance to install cypress without electron?

it would be very useful for docker

i heard that cypress will support alpine in 4.0 so it could be an improvement ‘out-of-the-box’

I got POC: https://github.com/eugene-matvejev/battleship-game-gui-react-js/blob/master/cypress.Dockerfile

you can try it out im my repository by cloning it, and using make cypress

λ docker images -a
REPOSITORY          TAG                 IMAGE ID            CREATED              SIZE
<none>              <none>              80ab0a3108e4        About a minute ago   1.52GB
cypress             latest              605ce647f929        About a minute ago   1.52GB
<none>              <none>              7e0591aa4755        About a minute ago   1.52GB
<none>              <none>              56b5e640ccb9        2 minutes ago        1.11GB
<none>              <none>              a95ef8db5517        2 minutes ago        1.11GB
<none>              <none>              2912310a40a2        3 minutes ago        53.3MB
<none>              <none>              06a74489390b        3 minutes ago        54.1MB
cypress-cwa         latest              e75432b43b37        3 minutes ago        54.1MB
<none>              <none>              de4c53efa96c        3 minutes ago        53.3MB
<none>              <none>              e85f749ac593        3 minutes ago        318MB
<none>              <none>              8d0e5d94692e        3 minutes ago        316MB
<none>              <none>              729e98a3304f        3 minutes ago        316MB
<none>              <none>              b39c794e84bf        3 minutes ago        316MB
<none>              <none>              1ccb80d0b87b        4 minutes ago        316MB
<none>              <none>              7b4737279f1d        4 minutes ago        47.6MB
<none>              <none>              fb2ac674474e        4 minutes ago        46.8MB
<none>              <none>              15b2d703b99f        4 minutes ago        46.8MB
alpine              latest              cdf98d1859c1        2 weeks ago          5.53MB
cypress/browsers    chrome69            37fc0f7cd4d0        7 months ago         1.11GB

I am sure cypress/browsers is well optimised, but npm i, if it got cypress pre-installed, got another 400mb into image, or i do something wrong? - think it is because it pulls some binaries which aren’t needed?

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
jennifer-shehanecommented, May 2, 2019

There’s an issue open to separate the installation of Electron from Cypress here: https://github.com/cypress-io/cypress/issues/3899

Some comments on how and why we couple Cypress with Electron today: https://github.com/cypress-io/cypress/issues/2761#issuecomment-453563443

Also an issue on Cypress - to - Electron versioning: https://github.com/cypress-io/cypress/issues/3228

Please feel free to close this issue if you feel any of the others covers what you’d like.

0reactions
eugene-matvejevcommented, May 3, 2019
Read more comments on GitHub >

github_iconTop Results From Across the Web

Installing - Cypress Documentation
This will install Cypress locally as a dev dependency for your project. Make sure that you have already run npm init or have...
Read more >
How to Install Cypress for Test Automation | BrowserStack
Prerequisites For Installing Cypress ... One needs to have Node.js preinstalled in their systems as Cypress is a Node-based application. Node.js ...
Read more >
Cypress — initial setup - Kristijan - Medium
npm install cypress. At the moment of writing, current version of Cypress is 4.0. · cypress open. Headless: · cypress run · cypress...
Read more >
cypress upgrade 9.0 to 10.3 , missing executable cypress.exe
Run the command npx cypress install . This should fix your issue.
Read more >
Set Up Cypress Project - C# Corner
How to install cypress ? ; Node Js installed; Visual studio code installed ; Create a folder; Open the folder in the visual...
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