Giter Site home page Giter Site logo

Comments (10)

Travo100 avatar Travo100 commented on May 24, 2024 2

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.

davidavz avatar davidavz commented on May 24, 2024 1

Actually I just needed to run npm install @ffmpeg-installer/linux-x64 --force and it works now 👍

from node-ffmpeg-installer.

kribblo avatar kribblo commented on May 24, 2024

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.

kribblo avatar kribblo commented on May 24, 2024

Also, is the binary installed somewhere you can find, but not in the expected path?

from node-ffmpeg-installer.

Travo100 avatar Travo100 commented on May 24, 2024

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.

kribblo avatar kribblo commented on May 24, 2024

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.

Travo100 avatar Travo100 commented on May 24, 2024

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.

kribblo avatar kribblo commented on May 24, 2024

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.

Travo100 avatar Travo100 commented on May 24, 2024

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.

davidavz avatar davidavz commented on May 24, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.