Comments (10)
So it was a permissions issue with AWS. I had to add a .npmrc
file with the following to get it to kick off the making of the binary.
unsafe-perm=true
After that things worked perfectly. I'm going to close this issue now because it has nothing to do with the code of this package. Thank you for your help @kribblo!
Doing a find after setting unsafe-perm=true
[ec2-user node_modules]$ find \@ffmpeg-installer/
@ffmpeg-installer/
@ffmpeg-installer/ffmpeg
@ffmpeg-installer/ffmpeg/package.json
@ffmpeg-installer/ffmpeg/lib
@ffmpeg-installer/ffmpeg/lib/verify-file.js
@ffmpeg-installer/ffmpeg/README.md
@ffmpeg-installer/ffmpeg/index.js
@ffmpeg-installer/linux-x64
@ffmpeg-installer/linux-x64/package.json
@ffmpeg-installer/linux-x64/ffmpeg
@ffmpeg-installer/linux-x64/README.md
from node-ffmpeg-installer.
Actually I just needed to run npm install @ffmpeg-installer/linux-x64 --force
and it works now 👍
from node-ffmpeg-installer.
Hmm I upgraded the binary just the other day but made no other changes to code or paths. What happens if you go back to 1.0.16? Is the install paths cleaned out between builds? There should have been no other change and I don't see anything sticking out in the logs, but let's see if we can fix this.
from node-ffmpeg-installer.
Also, is the binary installed somewhere you can find, but not in the expected path?
from node-ffmpeg-installer.
Hey @kribblo so I downgraded back to 1.0.16 and still the same error. I'm in the process of creating a whole new environment for the server and going to try again totally fresh. I'll keep you posted with the results. Thank you for your quick response BTW.
from node-ffmpeg-installer.
Thanks, let me know what you find. It still works in our builds at work, so not really sure what is happening here, but please check if you can find out if the binary is not installed at all, or in an unexpected place, if possible!
from node-ffmpeg-installer.
Hey @kribblo I was able to ssh into my test server where the only thing it installs is express and @ffmpeg-installer. Looked the node_modules where you'd expect the binary to be and it is not there. I built this environment from total scratch so something is going on with AWS here. I was able to get the same app going in no time using Heroku. Either way here are the result of my find on my server:
[ec2-user node_modules]$ find \@ffmpeg-installer/
@ffmpeg-installer/
@ffmpeg-installer/ffmpeg
@ffmpeg-installer/ffmpeg/package.json
@ffmpeg-installer/ffmpeg/lib
@ffmpeg-installer/ffmpeg/lib/verify-file.js
@ffmpeg-installer/ffmpeg/README.md
@ffmpeg-installer/ffmpeg/index.js
from node-ffmpeg-installer.
Hey, sorry for the late reply, been mostly offline during holidays, but great that it all worked out! Do you think this is something that might be useful to have in the README, say under known issues?
from node-ffmpeg-installer.
I would say so. Just spinning up a default Elastic Beanstalk instance through their GUI it would fail at the start due to the binary not being allowed to download.
from node-ffmpeg-installer.
Hi there 👋
I have exactly the same problem installing it via GitHub Action, but I'm using npm version 7.7.6 and unsafe-perm
does not exist anymore.
Should I run sudo npm i
instead ? (I tried but still the same problem)
from node-ffmpeg-installer.
Related Issues (20)
- How do you recommend adding additional platforms like Linux even though working from Win or Mac? HOT 4
- Fontconfig error when using drawtext filter
- NPM multi OS compatibilty issue HOT 2
- Error: certificate has expired HOT 1
- Apple Silicon build HOT 4
- ERROR in ./node_modules/@ffmpeg-installer/ffmpeg/index.js HOT 2
- Remove binaries from git HOT 1
- Deprecate in favor of ffmpeg-static? HOT 8
- Unsupported platform/architecture: darwin-arm64 HOT 3
- stream ends after loading one segment HOT 1
- how install @ffmpeg-installer/ffmpeg totally HOT 2
- macOS arm64 (darwin-arm64 for M1 and M2) missing --enable-libwebp HOT 1
- Cannot install package for linux-64 while using Windows HOT 1
- Issue using package when deploying to Azure HOT 1
- Unsupported platform/architecture: android-arm
- linux-64x version not working with some mp4, mov file HOT 1
- ffmpeg removes audio from video instead of add audio to the video
- Does not work in Node Docker container
- couldnt install package in replit HOT 1
- ARM64 architecture support (could not find ffmpeg executable) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-ffmpeg-installer.