Closed alexakuna closed 3 years ago
Handbrake-js is a javascript library which depends on HandbrakeCli being installed on the system. This error message is telling you that, on a Linux OS, HandbrakeCli must be installed manually as the root user using the follow commands.
add-apt-repository --yes ppa: stebbins / handbrake-releases
apt-get update -qq
apt-get install -qq handbrake-cli
You must run these commands as root yourself, npm install
is not able to install linux packages as the root user.
Can I install handbrake-cli remotely?
I don't know - you need to ask Heroku.. i found this:
Problem description:
Good afternoon. There is a problem. Using the
npm install handbrake-js --save
command, I installed handbrake-js as a library, and after some tweaking, handbrake-js started to do the job perfectly. And here's the problem. On the local computer everything works well, videos are decoded, etc. BUT (!) When I upload my application to Heroku, handbrake-js stops working.HandBrake version:
5.0.2
Operating system and version:
macOS 10.15 Catalina
My application uses
node js
Error message text:
Here is what information Heroku gives when deploy an application on Heroku:
HandBrake Activity Log:
Here's what happens when you try to decode:
Here is the code used to set up and start decoding:
I ask for help. How to solve this problem?