Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

yarn fails to install #100

Closed
mvicari opened this issue May 1, 2020 · 4 comments
Closed

yarn fails to install #100

mvicari opened this issue May 1, 2020 · 4 comments

Comments

@mvicari
Copy link

mvicari commented May 1, 2020

Getting this output:

Step 6/10 : RUN yarn
---> Running in eb614d55a1ab
yarn install v1.22.4
[1/4] Resolving packages...
[2/4] Fetching packages...
error An unexpected error occurred: "https://registry.yarnpkg.com/classnames/-/classnames-2.2.6.tgz: getaddrinfo EAI_AGAIN registry.yarnpkg.com".
info If you think this is a bug, please open a bug report with the information provided in "/usr/src/app/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
ERROR: Service 'web' failed to build: The command '/bin/sh -c yarn' returned a non-zero code: 1

@mvicari mvicari changed the title yarn fails to isntall yarn fails to install May 2, 2020
@ohkeenan
Copy link
Contributor

ohkeenan commented May 2, 2020

Is this after running: yarn install ?
What are you trying to accomplish? It doesn't appear yarn install is utilized by any part of this project.

@rasoul-shahriari
Copy link
Contributor

Hi @mvicari
I had exactly the same problem like yours on my raspberry server, and I fixed the problem with increasing network time out for yarn.

inside of your docker file(/packages/web/Dockerfile)
line 9: RUN yarn --> RUN yarn --network-timeout 1000000

Please update us with the result

@iam4x
Copy link
Owner

iam4x commented May 4, 2020

Hi @mvicari this is an issue with yarn registry itself, retry to build the image it may work now.

We will publish already built docker images when bobarr will be released as a first beta!

Right now it's still in active development.

@iam4x iam4x closed this as completed May 4, 2020
@iam4x
Copy link
Owner

iam4x commented Dec 14, 2020

Ok so I've fixed this by publishing images for arm, this was in fact an issue with taking too long to install dependencies (yarnpkg/yarn#4890) and I had to add --network-timeout 100000 to the yarn install flag 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants