Comments (6)
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.
Thanks I'll try these two fixes tomorrow 😉
from debattons.
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.
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.
@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.
Yep it did the trick 🙂
from debattons.
Related Issues (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 debattons.