Giter Site home page Giter Site logo

Docker issue about youtube-dl-web HOT 3 CLOSED

xxcodianxx avatar xxcodianxx commented on July 23, 2024
Docker issue

from youtube-dl-web.

Comments (3)

Kreeony avatar Kreeony commented on July 23, 2024 1

I get this error message after running npm install:

<--- JS stacktrace --->

FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap       out of memory
Aborted

I guess Pi Zero is not powerfull enough to run it. Anyway, thanks for your help. You're doing a great job!

from youtube-dl-web.

xxcodianxx avatar xxcodianxx commented on July 23, 2024

Hello, sorry for the late reply!

I haven't tested this software on devices like a Raspberry Pi, but here it seems that the project is incompatible with your CPU architecture (ARM version 6).

Now, you should ask yourself as to whether you want to run this on a Pi Zero.

With 1 core and 512MB ram, I think a Pi Zero might not be able to cope with downloading two video streams, merging them with FFmpeg & uploading them out to a client - it feels like it would just be too weak. (and mind this, all of this is amplified with the more clients you have using the website).

Now, if you are insane enough to do it, it seems like you can build the frontend files locally on the Pi if you somehow manage to install NodeJS, Yarn or NPM. You just need to somehow run the build command from one of those package managers, for example:

(somehow install nodejs and npm for your pi)
$ cd frontend
$ npm install
$ npm run build

The docker image with NodeJS & Yarn I posted won't work for you, so you need to build the frontend bare metal. After that, given that everything goes well, it might run, I don't know.

Let me know how it goes!

from youtube-dl-web.

Racool198 avatar Racool198 commented on July 23, 2024

you can silence me but you can't silence the truth

from youtube-dl-web.

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.