Giter Club home page Giter Club logo

Comments (6)

anthony-o avatar anthony-o commented on July 17, 2024 1

OK I think I know why, it's due to the fact that we're using .m2 and .npm folders in your $HOME.

So docker will create such folders if they don't exist and create them with the user root so they become unusable for the debattons:dev image which uses your own $UID & $GID to run.

You should be able to fix this problem giving the rights to your own user to those 2 folders.
I think we should add a chown command in docker/cmd.sh :)

from debattons.

Betree avatar Betree commented on July 17, 2024 1

Thanks I'll try these two fixes tomorrow 😉

from debattons.

anthony-o avatar anthony-o commented on July 17, 2024 1

Mmmh I've tested the parameter and the bug is still here:

+ sudo -E yarn global add @angular/[email protected] --network-concurrency 1
yarn global v1.3.2
[1/4] Resolving packages...
error An unexpected error occurred: "https://registry.yarnpkg.com/asn1: ETIMEDOUT".
info If you think this is a bug, please open a bug report with the information provided in "/usr/local/share/.config/yarn/global/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/global for documentation about this command.
ERROR: Service 'debattons' failed to build: The command '/bin/sh -c setup.sh --no-debattons-git-copy' returned a non-zero code: 1

from debattons.

anthony-o avatar anthony-o commented on July 17, 2024

Perhaps that it is also linked to this yarn issue: yarnpkg/yarn#944 (comment), which seems to be fixed by adding --network-concurrency 1 to yarn commands.

from debattons.

anthony-o avatar anthony-o commented on July 17, 2024

@Betree I've just changed the Docker execution architecture, so try to remove all temporary files (or delete all the project & re-clone the repo) and retry ./docker/cmd.sh build-and-run.
I've encountered the Cannot find module '@angular-devkit/core' problem and fixed it by passing to the latest version of angular-cli thanks to angular/angular-cli#9307 (comment)

from debattons.

Betree avatar Betree commented on July 17, 2024

Yep it did the trick 🙂

from debattons.

Related Issues (1)

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.