Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save marconipoveda/bc607cf7f14a7166428d507e357df4a0 to your computer and use it in GitHub Desktop.
Save marconipoveda/bc607cf7f14a7166428d507e357df4a0 to your computer and use it in GitHub Desktop.
Error
npm WARN config production Use `--omit=dev` instead.
npm WARN deprecated [email protected]: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm WARN deprecated [email protected]: See https://github.com/lydell/source-map-resolve#deprecated
npm WARN deprecated [email protected]: Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility
npm WARN deprecated [email protected]: See https://github.com/lydell/source-map-url#deprecated
npm WARN deprecated [email protected]: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated [email protected]: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
npm WARN deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated [email protected]: this library is no longer supported
npm WARN deprecated [email protected]: flatten is deprecated in favor of utility frameworks such as lodash.
npm WARN deprecated [email protected]: This SVGO version is no longer supported. Upgrade to v2.x.x.
npm WARN deprecated @npmcli/[email protected]: This functionality has been moved to @npmcli/fs
npm WARN deprecated [email protected]: Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies
npm WARN deprecated [email protected]: core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js.
npm notice
npm notice New major version of npm available! 8.19.4 -> 10.8.2
npm notice Changelog: <https://github.com/npm/cli/releases/tag/v10.8.2>
npm notice Run `npm install -g [email protected]` to update!
npm notice
npm ERR! code 1
npm ERR! path /src/node_modules/node-sass
npm ERR! command failed
npm ERR! command sh -c -- node scripts/build.js
npm ERR! Building: /usr/local/bin/node /src/node_modules/node-gyp/bin/node-gyp.js rebuild --verbose --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_library=
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp verb cli [
npm ERR! gyp verb cli '/usr/local/bin/node',
npm ERR! gyp verb cli '/src/node_modules/node-gyp/bin/node-gyp.js',
npm ERR! gyp verb cli 'rebuild',
npm ERR! gyp verb cli '--verbose',
npm ERR! gyp verb cli '--libsass_ext=',
npm ERR! gyp verb cli '--libsass_cflags=',
npm ERR! gyp verb cli '--libsass_ldflags=',
npm ERR! gyp verb cli '--libsass_library='
npm ERR! gyp verb cli ]
npm ERR! gyp info using [email protected]
npm ERR! gyp info using [email protected] | linux | x64
npm ERR! gyp verb command rebuild []
npm ERR! gyp verb command clean []
npm ERR! gyp verb clean removing "build" directory
npm ERR! gyp verb command configure []
npm ERR! gyp verb find Python Python is not set from command line or npm configuration
npm ERR! gyp verb find Python Python is not set from environment variable PYTHON
npm ERR! gyp verb find Python checking if "python3" can be used
npm ERR! gyp verb find Python - executing "python3" to get executable path
npm ERR! gyp verb find Python - executable path is "/usr/bin/python3"
npm ERR! gyp verb find Python - executing "/usr/bin/python3" to get version
npm ERR! gyp verb find Python - version is "3.11.8"
npm ERR! gyp info find Python using Python version 3.11.8 found at "/usr/bin/python3"
npm ERR! gyp verb get node dir no --target version specified, falling back to host node version: 16.20.2
npm ERR! gyp verb command install [ '16.20.2' ]
npm ERR! gyp verb install input version string "16.20.2"
npm ERR! gyp verb install installing version: 16.20.2
npm ERR! gyp verb install --ensure was passed, so won't reinstall if already installed
npm ERR! gyp verb install version not already installed, continuing with install 16.20.2
npm ERR! gyp verb ensuring nodedir is created /root/.cache/node-gyp/16.20.2
npm ERR! gyp verb created nodedir /root/.cache
npm ERR! gyp http GET https://unofficial-builds.nodejs.org/download/release/v16.20.2/node-v16.20.2-headers.tar.gz
npm ERR! gyp WARN install got an error, rolling back install
npm ERR! gyp verb command remove [ '16.20.2' ]
npm ERR! gyp verb remove using node-gyp dir: /root/.cache/node-gyp
npm ERR! gyp verb remove removing target version: 16.20.2
npm ERR! gyp verb remove removing development files for version: 16.20.2
npm ERR! gyp ERR! configure error
npm ERR! gyp ERR! stack Error: This is most likely not a problem with node-gyp or the package itself and
npm ERR! gyp ERR! stack is related to network connectivity. In most cases you are behind a proxy or have bad
npm ERR! gyp ERR! stack network settings.
npm ERR! gyp ERR! stack at go (/src/node_modules/node-gyp/lib/install.js:173:17)
npm ERR! gyp ERR! stack at processTicksAndRejections (node:internal/process/task_queues:96:5)
npm ERR! gyp ERR! stack at async install (/src/node_modules/node-gyp/lib/install.js:62:18)
npm ERR! gyp ERR! System Linux 6.5.0-1025-azure
npm ERR! gyp ERR! command "/usr/local/bin/node" "/src/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
npm ERR! gyp ERR! cwd /src/node_modules/node-sass
npm ERR! gyp ERR! node -v v16.20.2
npm ERR! gyp ERR! node-gyp -v v8.4.1
npm ERR! gyp ERR! not ok
npm ERR! Build failed with error code: 1

npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2024-08-28T18_50_26_651Z-debug-0.log
The command '/bin/sh -c npm install --production' returned a non-zero code: 1
Error response from daemon: No such image: ace-shootout-app:improvement-donut-4423-dev
The push refers to repository [devcmnhcontainerregistry.azurecr.io/ace-shootout-app]
An image does not exist locally with the tag: devcmnhcontainerregistry.azurecr.io/ace-shootout-app
Finished | Build, tag, push of 'ace-shootout-app:improvement-donut-4423-dev' image
Starting | Build, tag, push of 'ace-shootout-nginx:improvement-donut-4423-dev' image
DEPRECATED: The legacy builder is deprecated and will be removed in a future release.
Install the buildx component to build images with BuildKit:
https://docs.docker.com/go/buildx/
Sending build context to Docker daemon 19.46kB
Step 1/6 : FROM nginx:alpine
---> 0f0eda053dc5
Step 2/6 : ARG DOMAIN
---> Running in ddaa55215b64
---> Removed intermediate container ddaa55215b64
---> 60f0f7f7c30a
Step 3/6 : ENV DOMAIN ${DOMAIN}
---> Running in b087d5d0163f
---> Removed intermediate container b087d5d0163f
---> 43a032c17130
Step 4/6 : COPY cert* /var/www/ssl
---> 1cc3465e6d30
Step 5/6 : COPY conf* /etc/nginx/conf.d
---> 4992a39c6123
Step 6/6 : COPY ./templates/app.tmpl /etc/nginx/conf.d/app.conf
---> e465e5e21a16
Successfully built e465e5e21a16
Successfully tagged ace-shootout-nginx:improvement-donut-4423-dev
The push refers to repository [devcmnhcontainerregistry.azurecr.io/ace-shootout-nginx]
0534c558fdc2: Preparing
7b5199bfc9a0: Preparing
ae13bdbea319: Preparing
26d9c9583797: Preparing
2cdd4bacf827: Preparing
f3719eb0da5e: Preparing
9a2d14b22cbe: Preparing
16f2939def51: Preparing
b65aff7ee426: Preparing
c028c01f43bc: Preparing
78561cef0761: Preparing
f3719eb0da5e: Waiting
9a2d14b22cbe: Waiting
16f2939def51: Waiting
b65aff7ee426: Waiting
c028c01f43bc: Waiting
78561cef0761: Waiting
26d9c9583797: Layer already exists
2cdd4bacf827: Layer already exists
f3719eb0da5e: Layer already exists
9a2d14b22cbe: Layer already exists
16f2939def51: Layer already exists
b65aff7ee426: Layer already exists
c028c01f43bc: Layer already exists
78561cef0761: Layer already exists
0534c558fdc2: Pushed
7b5199bfc9a0: Pushed
ae13bdbea319: Pushed
improvement-donut-4423-dev: digest: sha256:89c1d2133f7dcc81ccfb4f1c8661670c70e782e84564bd59ebf3c0bc40ea2175 size: 2612
Finished | Build, tag, push of 'ace-shootout-nginx:improvement-donut-4423-dev' image
Deleted | ace-shootout Repository files
Process /bin/bash in /home/Octopus/Work/ISI2S65K3EuBgHGsiAB94g exited with code 0
Updating manifest with output variables
Updating manifest with action evaluated variables
Updating manifest with output variables
Updating manifest with action evaluated variables
Successfully called release for dynamic pool lease Leases-66194052 : 24-08-28-1452-wbz05
Successfully finished Build and Push Docker Image on a Worker
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment