[Suggestion]: Make the cypress dependency optional (does not install on FreeBSD) #2119

Closed
opened 2026-04-25 00:03:38 +02:00 by adam · 2 comments
Owner

Originally created by @brendans-bits on GitHub (Jul 20, 2024).

What happened?

When installing audiobookshelf >=2.10 from source, the client installation fails because cypress cannot be installed on FreeBSD.

This is a known issue in cypress

What did you expect to happen?

N/A

Steps to reproduce the issue

  1. Install audiobookshelf from source on a FreeBSD system

Audiobookshelf version

= 2.10

How are you running audiobookshelf?

Built from source

What OS is your Audiobookshelf server hosted from?

Other (list in "Additional Notes" box)

If the issue is being seen in the UI, what browsers are you seeing the problem on?

None

Logs

No response

Additional Notes

I have successfully installed audiobookshelf after changing cypress to an optionalDependency in package.json

I'm happy to submit a PR for this if you feel it is appropriate.

Originally created by @brendans-bits on GitHub (Jul 20, 2024). ### What happened? When installing audiobookshelf >=2.10 from source, the client installation fails because cypress cannot be installed on FreeBSD. This is a [known issue in cypress](https://github.com/cypress-io/cypress/issues/3382) ### What did you expect to happen? N/A ### Steps to reproduce the issue 1. Install audiobookshelf from source on a FreeBSD system ### Audiobookshelf version >= 2.10 ### How are you running audiobookshelf? Built from source ### What OS is your Audiobookshelf server hosted from? Other (list in "Additional Notes" box) ### If the issue is being seen in the UI, what browsers are you seeing the problem on? None ### Logs _No response_ ### Additional Notes I have successfully installed audiobookshelf after changing cypress to an `optionalDependency` in package.json I'm happy to submit a PR for this if you feel it is appropriate.
adam added the bug label 2026-04-25 00:03:38 +02:00
adam closed this issue 2026-04-25 00:03:38 +02:00
Author
Owner

@advplyr commented on GitHub (Jul 20, 2024):

I think it's no problem to move that to optionalDependency if you want to put in a PR for that.

@advplyr commented on GitHub (Jul 20, 2024): I think it's no problem to move that to `optionalDependency` if you want to put in a PR for that.
Author
Owner

@github-actions[bot] commented on GitHub (Aug 5, 2024):

Fixed in v2.12.0.

@github-actions[bot] commented on GitHub (Aug 5, 2024): Fixed in [v2.12.0](https://github.com/advplyr/audiobookshelf/releases/tag/v2.12.0).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf#2119