Welcome, guest! Login / Register - Why register?
Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so just use oauth login instead. :)

Paste

Pasted as Bash by marcelo ( 1 year ago )
[0KRunning with gitlab-runner 16.5.0 (853330f9)[0;m
[0K  on nuc.tuapr.cl 9L5xhh7T, system ID: s_0c4249d718f9[0;m
section_start:1742256618:prepare_executor
[0K[0K[36;1mPreparing the "shell" executor[0;m[0;m
[0KUsing Shell (bash) executor...[0;m
section_end:1742256618:prepare_executor
[0Ksection_start:1742256618:prepare_script
[0K[0K[36;1mPreparing environment[0;m[0;m
Running on nuc.tuapr.cl...
section_end:1742256618:prepare_script
[0Ksection_start:1742256618:get_sources
[0K[0K[36;1mGetting source from Git repository[0;m[0;m
[32;1mFetching changes with git depth set to 20...[0;m
Reinitialized existing Git repository in /home/gitlab-runner/builds/9L5xhh7T/0/el-pescador/frontend/.git/
[32;1mChecking out 7693b759 as detached HEAD (ref is dev)...[0;m
[32;1mSkipping Git submodules setup[0;m
section_end:1742256620:get_sources
[0Ksection_start:1742256620:step_script
[0K[0K[36;1mExecuting "step_script" stage of the job script[0;m[0;m
[32;1m$ docker build -t front-prod-elpescador:lts .[0;m
#0 building with "default" instance using docker driver

#1 [internal] load build definition from Dockerfile
#1 transferring dockerfile: 295B done
#1 DONE 0.0s

#2 [internal] load metadata for docker.io/library/node:18.10.0
#2 ...

#3 [internal] load metadata for docker.io/library/nginx:alpine3.18-slim
#3 DONE 1.8s

#2 [internal] load metadata for docker.io/library/node:18.10.0
#2 DONE 1.9s

#4 [internal] load .dockerignore
#4 transferring context: 65B done
#4 DONE 0.0s

#5 [builder 1/5] FROM docker.io/library/node:18.10.0@sha256:9d8a6466c6385e05f62f8ccf173e80209efb0ff4438f321f09ddf552b05af3ba
#5 DONE 0.0s

#6 [stage-1 1/2] FROM docker.io/library/nginx:alpine3.18-slim@sha256:b841779b72c127bdcb6e58b2ae3d810f890e020460858d84c7bd38d15cf26ddf
#6 DONE 0.0s

#7 [internal] load build context
#7 transferring context: 54.65kB 0.0s done
#7 DONE 0.0s

#8 [builder 2/5] WORKDIR /app
#8 CACHED

#9 [builder 3/5] COPY . .
#9 DONE 0.1s

#10 [builder 4/5] RUN npm install
#10 6.141 npm notice 
#10 6.141 npm notice New major version of npm available! 8.19.2 -> 11.2.0
#10 6.141 npm notice Changelog: <https://github.com/npm/cli/releases/tag/v11.2.0>
#10 6.141 npm notice Run `npm install -g [email protected]` to update!
#10 6.141 npm notice 
#10 6.142 npm ERR! code ECONNRESET
#10 6.142 npm ERR! syscall read
#10 6.142 npm ERR! errno -104
#10 6.144 npm ERR! network read ECONNRESET
#10 6.144 npm ERR! network This is a problem related to network connectivity.
#10 6.144 npm ERR! network In most cases you are behind a proxy or have bad network settings.
#10 6.144 npm ERR! network 
#10 6.144 npm ERR! network If you are behind a proxy, please make sure that the
#10 6.144 npm ERR! network 'proxy' config is set properly.  See: 'npm help config'
#10 6.171 
#10 6.172 npm ERR! A complete log of this run can be found in:
#10 6.172 npm ERR!     /root/.npm/_logs/2025-03-18T00_10_23_053Z-debug-0.log
#10 ERROR: process "/bin/sh -c npm install" did not complete successfully: exit code: 152
------
 > [builder 4/5] RUN npm install:
6.142 npm ERR! errno -104
6.144 npm ERR! network read ECONNRESET
6.144 npm ERR! network This is a problem related to network connectivity.
6.144 npm ERR! network In most cases you are behind a proxy or have bad network settings.
6.144 npm ERR! network 
6.144 npm ERR! network If you are behind a proxy, please make sure that the
6.144 npm ERR! network 'proxy' config is set properly.  See: 'npm help config'
6.171 
6.172 npm ERR! A complete log of this run can be found in:
6.172 npm ERR!     /root/.npm/_logs/2025-03-18T00_10_23_053Z-debug-0.log
------
Dockerfile:5
--------------------
   3 |     WORKDIR /app
   4 |     COPY . .
   5 | >>> RUN npm install
   6 |     RUN npm run build-prod
   7 |     
--------------------
ERROR: failed to solve: process "/bin/sh -c npm install" did not complete successfully: exit code: 152
section_end:1742256628:step_script
[0Ksection_start:1742256628:cleanup_file_variables
[0K[0K[36;1mCleaning up project directory and file based variables[0;m[0;m
section_end:1742256628:cleanup_file_variables
[0K[31;1mERROR: Job failed: exit status 1
[0;m

 

Revise this Paste

Your Name: Code Language: