cypress icon indicating copy to clipboard operation
cypress copied to clipboard

Cypress Fails to Install with FreeBSD

Open chlarsen opened this issue 6 years ago • 39 comments

I would like to reopen this issue, which does not seem to have been addressed nor resolved. As Cypress is gaining popularity, the FreeBSD incompatibility is becoming more significant... What is the status, and is the developer team still adamant not to support FreeBSD (despite existing support for Mac)? Thank you for enlightening me.

chlarsen avatar Feb 08 '19 06:02 chlarsen

There was a good deal of discussion on the requirements for FreeBSD support here: https://github.com/cypress-io/cypress/issues/1942 - it seems the contributor there never did open an official issue for full FreeBSD support as I requested.

What is happening now when you attempt to use Cypress on Free BSD?

Some requirements for supporting FreeBSD:

  • [ ] Running out tests in CI against FreeBSD as our 4th operating system.
  • [ ] Cypress relies on node and Chromium via Electron, these would need to support FreeBSD
  • [ ] Probably a lot of other things...

A native FreeBSD port of the Cypress web testing framework: https://gitlab.com/duncan-bayne/freebsd-ports-cypress

This is a low priority for Cypress, however, until we see a large amount of requests for this from our users.

jennifer-shehane avatar Feb 08 '19 09:02 jennifer-shehane

+1 cypress user with FreeBSD

PS: electron port available on FreeBSD platform: https://www.freshports.org/devel/electron4

olevole avatar Jun 17 '19 14:06 olevole

@olevole how did you get cypress to work in freeBSD?

BonfaceKilz avatar Dec 26 '19 14:12 BonfaceKilz

@BonfaceKilz I am a potential cypress user with FreeBSD ;) But still waiting for support.

Electron now is part of the official FreeBSD ports tree ( https://www.freshports.org/devel/electron6/ ). For example it is already in use by the vscode on FreeBSD: https://svnweb.freebsd.org/ports/head/editors/vscode/Makefile?view=markup&pathrev=520731#l27

olevole avatar Dec 26 '19 14:12 olevole

@olevole with the way things are going and after reading through #1942, I don't think we'll get support anytime soon. Have you found any work around with freebsd support especially when working with projects that have cypress as a dependency?

BonfaceKilz avatar Dec 26 '19 15:12 BonfaceKilz

@BonfaceKilz There seems to be a bounty for electron support in FreeBSD, see here and the electron issue here

bkmgit avatar Jan 23 '20 13:01 bkmgit

@bkmgit a solution I've used for that is to run Node in docker(which FYI is kinda un-intuitive because of jails). I wrote about that here: https://www.bonfacemunyoki.com/post/2020-01-20-how-to-setup-docker-in-freebsd/

BonfaceKilz avatar Jan 24 '20 12:01 BonfaceKilz

And also https://www.freshports.org/devel/electron6/ version 6

Martinfx avatar Feb 04 '20 21:02 Martinfx

As the priority: low label was remove, is there a possibility this issue be fixed soon?

zatarain avatar Aug 28 '20 22:08 zatarain

We have limited resources, so we have to make hard decisions on what we work on. This issue is still in the 'proposal' stage, which means no work has been done on this issue as of today, so we do not have an estimate on when this will be delivered.

jennifer-shehane avatar Oct 29 '20 08:10 jennifer-shehane

I wish FreeBSD would be supported as 4th major operating system… It's very close in compatibility terms to macOS. How can we help?

dmilith avatar Jul 23 '21 07:07 dmilith

Please add support for FreeBSD. How can one help?

yesudeep avatar Sep 30 '21 03:09 yesudeep

Thank you so much for considering supporting FreeBSD.

Today I also have an issue trying puppeteer and I was able to install it using some flag like PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=yes since the issue is the lib trying to download/install chromium, also there seems to be a patch (not PR) on that project: https://github.com/puppeteer/puppeteer/issues/5034#issuecomment-963755601

I'm just pointing that, in order to see if maybe it can give some hints here or if maybe some flags can be added too.

FreeBSD has node, electron and chromium. At the time of writing this, and using the the latest repo, I can see this versions:

Electron:

# pkg search electron
electron12-12.2.2              Build cross-platform desktop apps with JavaScript, HTML, and CSS

Node: Seems v17 is the default but 16, 14 and 10 are available for installation.

# pkg search node | grep V8
node-17.0.1                    V8 JavaScript for client and server
node10-10.24.1_2               V8 JavaScript for client and server
node14-14.18.1_1               V8 JavaScript for client and server
node16-16.13.0                 V8 JavaScript for client and server

Chromium

# pkg search chromium
chromium-94.0.4606.81_2        Google web browser based on WebKit

Thanks !

yaazkal avatar Nov 16 '21 00:11 yaazkal

Hi @jennifer-shehane, happy new year! Do you have any updates on possible FreeBSD support?

knorrium avatar Jan 02 '22 15:01 knorrium

FreeBSD is such a good stable operating system, it's a pity not be supported. I wish I could have the knowledge to help here.

ismatim avatar Mar 03 '22 17:03 ismatim

Hi!

Any updates here?

dsh2dsh avatar Mar 28 '22 15:03 dsh2dsh

+1 for FreeBSD

sam-harry avatar Apr 08 '22 05:04 sam-harry

+1 for FreeBSD

jfadelhaye avatar Aug 26 '22 15:08 jfadelhaye

+1 for FreeBSD

MikaelUrankar avatar Sep 25 '22 12:09 MikaelUrankar

+1 for FreeBSD

itmanagerro avatar Oct 20 '22 11:10 itmanagerro

FreeBSD 13.1 as of today:

  • node-18.7.0
  • yarn-node18-1.22.18
  • electron19-19.0.15_1
  • chromium-106.0.5249.119

itmanagerro avatar Oct 20 '22 11:10 itmanagerro

I would also be looking for this functionality. FreeBSD is my preferred server/dev OS and I'm pretty sure we have everything Cypress needs to run correctly. What all would it take to make this a reality? Just including Freebsd in the supported platform check?

bels avatar Nov 10 '22 19:11 bels

+1 for FreeBSD

ARPABoy avatar Dec 09 '22 19:12 ARPABoy

+1 for FreeBSD

mikehu404 avatar Feb 21 '23 21:02 mikehu404

+1 FreeBSD

gunnarrt avatar Mar 05 '23 09:03 gunnarrt

+1 FreeBSD

adamchemiawppl avatar Mar 22 '23 19:03 adamchemiawppl

+1 FreeBSD

asarghel avatar Mar 29 '23 21:03 asarghel

+1 for FreeBSD support please

silenius avatar Mar 31 '23 14:03 silenius

+1 for FreeBSD

glacorte avatar Mar 31 '23 15:03 glacorte

+1 as well

99kaits avatar Apr 16 '23 16:04 99kaits