- FFmpeg/avconv not found
!! Do not installffmpegnpm package !!
Uninstall it if installed.
npm uninstall ffmpeg
You need to install FFmpeg first.
Windows β Linux β Offical
- Error: write EPIPE (Song ends instantly without any errors)
This is due to ffmpeg-static is not stable.
Solution : Fix with guild above
npm uninstall ffmpeg-static
npm ci --no-optional
npm update
If it still happens after using this workaround, delete
node_modulesfolder andpackage-lock.jsonfile then runnpm install. It should work whennpm ls ffmpeg-staticreturns (empty).
Source : Distube discord server
Don't forget to install Openssl
- Generate a key file used for self-signed certificate generation
openssl genrsa -out key.pem
- Generate a certificate service request (CSR)
openssl req -new -key key.pem -out csr.pem
- Generate your certificate by providing the private key created to sign it with the public key created in step two with an expiry date of 9,999 days
openssl x509 -req -days 9999 -in csr.pem -signkey key.pem -out cert.pem
Source : adamtheautomator.com
If you want to use certbot : certbot renew https://certbot.eff.org/
- run
certbot certonly --manualand follow the instructions- edit your cert and key in
index.js
Want to renew runcertbot renew