You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to use this package in an environment that it doesn't have write access to home directory ( Lambda function on Localstack), and got this error.
"ENOENT: no such file or directory, mkdir '/home/sbx_user1051/.ffbinaries-cache'
I have write access to /tmp directory, so changed LOCAL_CACHE_DIR manually then it worked.
Can it support changing cache directory officially?
for example, like
import { setCacheDir, downloadBinaries } from 'ffbinaries'
setCacheDir('/tmp/.ffbinaries')
downloadBinaries(["ffmpeg"])
Or, just for my usecase, it is enough to set through environment variables like FFBINARIES_CACHE_DIR="/tmp/.ffbinaries".
The text was updated successfully, but these errors were encountered:
Hi, guys.
Thank you for maintaining this awesome package!
I tried to use this package in an environment that it doesn't have write access to home directory ( Lambda function on Localstack), and got this error.
"ENOENT: no such file or directory, mkdir '/home/sbx_user1051/.ffbinaries-cache'
I have write access to
/tmp
directory, so changed LOCAL_CACHE_DIR manually then it worked.Can it support changing cache directory officially?
for example, like
Or, just for my usecase, it is enough to set through environment variables like
FFBINARIES_CACHE_DIR="/tmp/.ffbinaries"
.The text was updated successfully, but these errors were encountered: