-
-
Notifications
You must be signed in to change notification settings - Fork 81
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
Couldn't find the xsel
binary and fallback didn't work. On Debian/Ubuntu you can install xsel with: sudo apt install xsel
#63
Comments
If you manage to log the underling error you'll likely see something like the following:
It looks like the library doesn't work in a headless environment. I'm not sure about Jenkins, but on GitHub Actions you can use this action - https://github.com/marketplace/actions/gabrielbb-xvfb-action - to provide a virtual display whilst running the tests. |
You can also use e.g. on circleci:
|
I just ran into this problem as well on jenkins. Not sure if it is a jenkins specific thing as this build run in docker containers. However, it works find on Node 12 and 14. But fails with this error on node 15 |
I solved this like this #65 |
error = new Error('Couldn't find the I also encounter this error when i try to host my Discord Bot using Heroku, when using my own terminal |
@iuriigrynykha Were you able to solve this problem? "Both xsel and fallback failed" |
Also having this issue. |
I've encountered such an issue upon running the tests in Jenkins on a remote Linux machine.
After sudo apt install xsel the following error message is displayed
"Both xsel and fallback failed".
Can you help me to solve this issue, please?
The text was updated successfully, but these errors were encountered: