-
Notifications
You must be signed in to change notification settings - Fork 6.4k
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
executor failed running [/bin/sh -c yarn install --production]: exit code: 1 #347
Comments
Hi @marcovanwoudenberg! We're sorry to hear you're running into troubles but will see if we can get you up and going again. The error that you're getting is occurring when yarn is trying to install the dependencies needed for the application and it's throwing the |
Hi @mikesir87 , no there is no VPN installed or change in DNS. |
Ok! Let's see if we can recreate the issue outside of a build. Can you try running the following command and see if it succeeds/fails?
|
Hi @mikesir87, The issue is resolved. Turns-out it was a DNS change that was still hidden in mij network settings. KR, |
Awesome! Great to hear you got it working @marcovanwoudenberg! Let us know if you run into anybother issues or have other questions! |
Edited my comment into a new issue |
Not work for me .I install Quvir on ubuntu,Err info: run docker run busybox nslookup registry.yarnpkg.com, and show: `root@ser766361423613:~/quivr# docker run busybox nslookup registry.yarnpkg.com Non-authoritative answer: Non-authoritative answer: ` and then install quivr `root@ser766361423613:~/quivr# docker compose up --build
|
Getting same error. |
Hi,
I'm getting the following error when following the getting started tutorial from this site: https://docs.docker.com/get-started/02_our_app/
When executing the steps from "3. Build the container image using the following commands" i get the below error.
executor failed running [/bin/sh -c yarn install --production]: exit code: 1
Sadly I dont get an yarn-error.log so I cannot check what happens. below the full overview of the executed steps when performing the docker build
[+] Building 24.2s (12/12) FINISHED
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 32B 0.0s
=> [internal] load .dockerignore 0.1s
=> => transferring context: 2B 0.0s
=> resolve image config for docker.io/docker/dockerfile:1 1.1s
=> CACHED docker-image://docker.io/docker/dockerfile:1@sha256:9ba7531bd80fb0a858632727cf7a112fbfd19b17e94c4e8 0.0s
=> [internal] load build definition from Dockerfile 0.0s
=> [internal] load .dockerignore 0.0s
=> [internal] load metadata for docker.io/library/node:18-alpine 0.8s
=> [internal] load build context 0.0s
=> => transferring context: 2.49kB 0.0s
=> [1/4] FROM docker.io/library/node:18-alpine@sha256:a136ed7b0df71082cdb171f36d640ea3b392a5c70401c642326acee 0.0s
=> CACHED [2/4] WORKDIR /app 0.0s
=> CACHED [3/4] COPY . . 0.0s
=> ERROR [4/4] RUN yarn install --production 22.0s
executor failed running [/bin/sh -c yarn install --production]: exit code: 1
I already have a running container "docker/getting-started" which shows me the docker dekstop getting-started page which contains the exact same steps. This one is running fine on localhost/80:80
System requirements:
Windows 11 Pro (MSI Desktop)
Executed the docker build using GIT Bash and PowerShell (in admin mode)
Nothing else running on port 3000
Code Editor is VsCode
The text was updated successfully, but these errors were encountered: