Giter Site home page Giter Site logo

frontend build.sh error about youtube-dl-web HOT 6 CLOSED

djnaff avatar djnaff commented on May 28, 2024
frontend build.sh error

from youtube-dl-web.

Comments (6)

DavidBerdik avatar DavidBerdik commented on May 28, 2024 1

@xxcodianxx It seems to work now! Running chown -R 1000:1000 youtube-dl-web/ on the repo and then following the instructions in the README seem to allow for building from the root account.

It might be a good idea to mention this in the README just in case someone else encounters this!

from youtube-dl-web.

xxcodianxx avatar xxcodianxx commented on May 28, 2024 1

Added notice in 84b4352

from youtube-dl-web.

xxcodianxx avatar xxcodianxx commented on May 28, 2024

You seem to be running the build script as root. The docker container runs as UID 1000 if I recall correctly.

The container actually mounts the frontend source code folder as /mnt within the container.

This means that since you cloned the folder as root on your host, the source code is owned by root, meaning the container (running as UID 1000) doesn't have perms.

I think.

Anyways, the solution to this is to just chmod the source code folder to 777, chown it to 1000:1000 or append -u 0 to the beginning of the docker command in the build script.

Hope this helps. 👍

from youtube-dl-web.

DavidBerdik avatar DavidBerdik commented on May 28, 2024

I just encountered this issue as well. It might be worth noting this in the README so that others who encounter it can easily resolve it.

from youtube-dl-web.

DavidBerdik avatar DavidBerdik commented on May 28, 2024

As an update to this, none of the proposed solutions seem to work for me. I had to work around the issue by running the build on Ubuntu, zipping the contents, and unzipping on Debian.

from youtube-dl-web.

xxcodianxx avatar xxcodianxx commented on May 28, 2024

Should be fixed by 83dedbf, @DavidBerdik could you try building again to confirm?

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.