webspa container does not build when running `docker-compose up`
See original GitHub issueIssue:
When building webspa
container with docker-compose, there are npm errors
Building webspa
Step 1/58 : ARG NODE_IMAGE=node:8.16
Step 2/58 : FROM mcr.microsoft.com/dotnet/core/aspnet:3.1 AS base
---> 014a41b1f39a
Step 3/58 : WORKDIR /app
---> Using cache
---> 052dd46a1bab
Step 4/58 : EXPOSE 80
---> Using cache
---> 8f1552205eba
Step 5/58 : FROM ${NODE_IMAGE} as node-build
---> f09e7c96b6de
Step 6/58 : WORKDIR /web
---> Using cache
---> 31a02fc375cd
Step 7/58 : COPY Web/WebSPA/package.json .
---> Using cache
---> b0505092e054
Step 8/58 : COPY Web/WebSPA/package-lock.json .
---> Using cache
---> a16da317021e
Step 9/58 : COPY Web/WebSPA .
---> Using cache
---> cf619e9c0537
Step 10/58 : RUN npm i npm@latest -g && npm update && npm install && npm run build:prod
---> Running in 48c4d8b8b5bc
/usr/local/bin/npm -> /usr/local/lib/node_modules/npm/bin/npm-cli.js
/usr/local/bin/npx -> /usr/local/lib/node_modules/npm/bin/npx-cli.js
+ npm@6.14.8
added 83 packages from 20 contributors, removed 36 packages and updated 94 packages in 5.769s
npm WARN deprecated popper.js@1.16.1: You can find the new Popper v2 at @popperjs/core, this package is dedicated to the legacy v1
npm WARN deprecated chokidar@2.1.8: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
npm WARN deprecated fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
npm WARN tarball tarball data for node-forge@0.10.0 (sha512-MmbQJ2MTESTjt3Gi/3yG1wGpIMhUfcIypUCGtTizFR9IiccFwxSpfp0vtIZlkFclEqERemxfnSdZEMR9VqqEFQ==) seems to be corrupted. Trying one more time.
npm WARN tarball tarball data for node-forge@0.10.0 (sha512-MmbQJ2MTESTjt3Gi/3yG1wGpIMhUfcIypUCGtTizFR9IiccFwxSpfp0vtIZlkFclEqERemxfnSdZEMR9VqqEFQ==) seems to be corrupted. Trying one more time.
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/agent-base-e32928b8/package.json'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/eslint-utils-a7ad8e77/LICENSE'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/escape-html-8657a10f/package.json'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/figures-e46f4aee/license'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/es6-promisify-431e4af6/package.json'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/escape-string-regexp-7ebecab2/package.json'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/resolve-from-d4f7625a/package.json'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/ent-318968fd/package.json'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/agent-base-e32928b8/.travis.yml'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/eslint-utils-a7ad8e77/index.js'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/escape-html-8657a10f/LICENSE'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/figures-e46f4aee/index.js'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/es6-promisify-431e4af6/README.md'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/escape-string-regexp-7ebecab2/index.js'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/resolve-from-d4f7625a/index.js'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/ent-318968fd/.npmignore'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/encodeurl-87d43fe3/package.json'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/electron-to-chromium-d6ee004e/LICENSE'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/emoji-regex-9c9949ac/package.json'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/err-code-fa5fadad/package.json'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/es6-promise-9a8ceacb/package.json'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/ee-first-77e201ac/package.json'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/agent-base-e32928b8/History.md'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/escape-html-8657a10f/index.js'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/figures-e46f4aee/package.json'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/escape-string-regexp-7ebecab2/license'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/resolve-from-d4f7625a/license'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/ent-318968fd/LICENSE'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/encodeurl-87d43fe3/README.md'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/electron-to-chromium-d6ee004e/chromium-versions.js'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/emoji-regex-9c9949ac/index.d.ts'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/err-code-fa5fadad/.npmignore'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/es6-promise-9a8ceacb/auto.js'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/ee-first-77e201ac/README.md'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/agent-base-e32928b8/index.js'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/escape-html-8657a10f/Readme.md'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/figures-e46f4aee/readme.md'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/escape-string-regexp-7ebecab2/readme.md'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/resolve-from-d4f7625a/readme.md'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/ent-318968fd/decode.js'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/encodeurl-87d43fe3/LICENSE'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/electron-to-chromium-d6ee004e/full-chromium-versions.js'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/emoji-regex-9c9949ac/index.js'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/err-code-fa5fadad/README.md'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/es6-promise-9a8ceacb/CHANGELOG.md'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/ee-first-77e201ac/LICENSE'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/agent-base-e32928b8/patch-core.js'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/figures-e46f4aee/index.d.ts'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/ent-318968fd/encode.js'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/encodeurl-87d43fe3/index.js'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/electron-to-chromium-d6ee004e/full-versions.js'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/emoji-regex-9c9949ac/LICENSE-MIT.txt'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/err-code-fa5fadad/index.js'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/es6-promise-9a8ceacb/es6-promise.d.ts'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/ee-first-77e201ac/index.js'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/agent-base-e32928b8/README.md'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/ent-318968fd/index.js'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/encodeurl-87d43fe3/HISTORY.md'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/emoji-regex-9c9949ac/README.md'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/err-code-fa5fadad/index.umd.js'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/es6-promise-9a8ceacb/LICENSE'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/electron-to-chromium-d6ee004e/index.js'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/ent-318968fd/entities.json'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/emoji-regex-9c9949ac/text.js'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/err-code-fa5fadad/.editorconfig'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/es6-promise-9a8ceacb/README.md'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/electron-to-chromium-d6ee004e/versions.js'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/err-code-fa5fadad/.eslintrc.json'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/electron-to-chromium-d6ee004e/package.json'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/err-code-fa5fadad/.travis.yml'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/electron-to-chromium-d6ee004e/CHANGELOG.md'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/err-code-fa5fadad/bower.json'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/rxjs-08979381/operator/windowTime.js'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/electron-to-chromium-d6ee004e/README.md'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/rxjs-08979381/operators/windowTime.js'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/acorn-13b85812/dist/acorn.es.js'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/esquery-b27a3dda/dist/esquery.min.js.map'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/fsevents-e120fd9e/node_modules/once/once.js'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/acorn-5bdd96c8/dist/bin.js'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/fsevents-e120fd9e/node_modules/osenv/osenv.js'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/rxjs-08979381/_esm5/internal/operators/windowToggle.js'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/acorn-5bdd96c8/package.json'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/fsevents-e120fd9e/node_modules/tar/lib/pack.js'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/acorn-5bdd96c8/dist/acorn.js.map'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/rxjs-08979381/operator/windowToggle.js'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/rxjs-08979381/operators/windowToggle.js'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/fsevents-e120fd9e/node_modules/minimist/test/parse_modified.js'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/rxjs-08979381/_esm5/internal/operators/windowWhen.js'
npm WARN tar ENOENT: no such file or directory, lstat '/web/node_modules/.staging/fsevents-e120fd9e/node_modules/minimist/example'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/rxjs-08979381/operator/windowWhen.js'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/fsevents-e120fd9e/node_modules/minimist/test/parse.js'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/rxjs-08979381/operators/windowWhen.js'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/fsevents-e120fd9e/node_modules/tar/lib/parse.js'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/rxjs-08979381/_esm5/internal/operators/withLatestFrom.js'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/fsevents-e120fd9e/node_modules/needle/examples/parsed-stream.js'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/fsevents-e120fd9e/node_modules/needle/examples/parsed-stream2.js'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/fsevents-e120fd9e/node_modules/needle/lib/parsers.js'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/rxjs-08979381/operator/withLatestFrom.js'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/rxjs-08979381/operators/withLatestFrom.js'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/rxjs-08979381/_esm2015/internal/observable/zip.js'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/fsevents-e120fd9e/node_modules/readable-stream/passthrough.js'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/fsevents-e120fd9e/node_modules/tar/lib/pax.js'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/rxjs-08979381/_esm5/internal/observable/zip.js'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/fsevents-e120fd9e/node_modules/gauge/plumbing.js'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/rxjs-08979381/_esm5/internal/operators/zip.js'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/rxjs-08979381/add/observable/zip.js'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/rxjs-08979381/internal/observable/zip.js'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/rxjs-08979381/observable/zip.js'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/rxjs-08979381/operator/zip.js'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/fsevents-e120fd9e/node_modules/gauge/process.js'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/rxjs-08979381/operators/zip.js'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/fsevents-e120fd9e/node_modules/gauge/progress-bar.js'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/fsevents-e120fd9e/node_modules/minimist/test/proto.js'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/rxjs-08979381/_esm5/internal/operators/zipAll.js'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/fsevents-e120fd9e/node_modules/needle/test/utils/proxy.js'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/rxjs-08979381/operator/zipAll.js'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/rxjs-08979381/operators/zipAll.js'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/fsevents-e120fd9e/node_modules/needle/lib/querystring.js'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/rxjs-08979381/ajax/package.json'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/fsevents-e120fd9e/node_modules/tar/lib/read-entry.js'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/rxjs-08979381/fetch/package.json'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/fsevents-e120fd9e/node_modules/readable-stream/readable-browser.js'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/rxjs-08979381/internal-compatibility/package.json'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/fsevents-e120fd9e/node_modules/readable-stream/readable.js'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/rxjs-08979381/operators/package.json'
npm WARN tar ENOENT: no such file or directory, lstat '/web/node_modules/.staging/rxjs-08979381/src/ajax'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/@angular/core-24d20b6f/fesm5/core.js.map'
npm WARN tar ENOENT: no such file or directory, lstat '/web/node_modules/.staging/rxjs-08979381/src/fetch'
npm WARN tar ENOENT: no such file or directory, lstat '/web/node_modules/.staging/rxjs-08979381/src/internal-compatibility'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/fsevents-e120fd9e/node_modules/gauge/render-template.js'
npm WARN tar ENOENT: no such file or directory, lstat '/web/node_modules/.staging/rxjs-08979381/src/operators'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/fsevents-e120fd9e/node_modules/tar/lib/replace.js'
npm WARN tar ENOENT: no such file or directory, lstat '/web/node_modules/.staging/rxjs-08979381/src/testing'
npm WARN tar ENOENT: no such file or directory, lstat '/web/node_modules/.staging/rxjs-08979381/src/webSocket'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/fsevents-e120fd9e/node_modules/rimraf/rimraf.js'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/fsevents-e120fd9e/node_modules/node-pre-gyp/lib/util/s3_setup.js'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/rxjs-08979381/testing/package.json'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/fsevents-e120fd9e/node_modules/safer-buffer/safer.js'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/rxjs-08979381/webSocket/package.json'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/rxjs-08979381/src/tsconfig.json'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/rxjs-08979381/_esm2015/internal/scheduler/Action.js.map'
npm WARN tar ENOENT: no such file or directory, lstat '/web/node_modules/.staging/fsevents-e120fd9e/node_modules/sax/lib'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/rxjs-08979381/_esm5/internal/scheduler/Action.js.map'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/rxjs-08979381/internal/scheduler/Action.js.map'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/fsevents-e120fd9e/node_modules/iconv-lite/encodings/sbcs-codec.js'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/rxjs-08979381/_esm2015/internal/observable/dom/ajax.js.map'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/fsevents-e120fd9e/node_modules/iconv-lite/encodings/sbcs-data-generated.js'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/rxjs-08979381/_esm5/internal/observable/dom/ajax.js.map'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/rxjs-08979381/add/observable/dom/ajax.js.map'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/rxjs-08979381/internal/observable/dom/ajax.js.map'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/rxjs-08979381/observable/dom/ajax.js.map'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/rxjs-08979381/_esm2015/internal/observable/dom/AjaxObservable.js.map'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/typescript-ce451e07/lib/typescript.d.ts'
npm WARN tar ENOENT: no such file or directory, open '/web/node_modules/.staging/typescript-d521e191/lib/typescript.d.ts'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.2.7 (node_modules/webpack-dev-server/node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm ERR! code EINTEGRITY
npm ERR! Verification failed while extracting node-forge@0.10.0:
npm ERR! Verification failed while extracting node-forge@0.10.0:
npm ERR! sha512-MmbQJ2MTESTjt3Gi/3yG1wGpIMhUfcIypUCGtTizFR9IiccFwxSpfp0vtIZlkFclEqERemxfnSdZEMR9VqqEFQ== integrity checksum failed when using sha512: wanted sha512-MmbQJ2MTESTjt3Gi/3yG1wGpIMhUfcIypUCGtTizFR9IiccFwxSpfp0vtIZlkFclEqERemxfnSdZEMR9VqqEFQ== but got sha512-PPmu8eEeG9saEUvI97fm4OYxXVB6bFvyNTyiUOBichBpFG8A1Ljw3bY62+5oOjDEMHRnd0Y7HQ+x7uzxOzC6JA==. (447414 bytes)
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2020-09-18T14_54_47_318Z-debug.log
ERROR: Service 'webspa' failed to build: The command '/bin/sh -c npm i npm@latest -g && npm update && npm install && npm run build:prod' returned a non-zero code: 1
Repro:
git clone https://github.com/dotnet-architecture/eShopOnContainers.git
cd eShopOnContainers/src
docker-compose -f docker-compose.yml -f docker-compose.override.yml up
or
docker-compose build webspa
System: Ubuntu 20.04.1 Docker version 19.03.8, build afacb8b7f0 docker-compose version 1.25.0
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Docker with self contained ASP.NET app failed to create ...
I'm trying to change the eShopOnContainers reference project to build Docker images that use self contained apps instead of framework dependent.
Read more >docker-compose not showing any changes to code
As far as I can tell, docker-compose up only builds images that don't exist already; it will not rebuild an image whose source...
Read more >docker compose up
Running docker compose up --detach starts the containers in the background and leaves them ... --no-build, Don't build an image, even if it's...
Read more >Untitled
Running the docker-compose up -d command and navigating to http://localhost:8080, i get a page saying "File not found". This my first time attempting...
Read more >docker compose build
docker compose build : Services are built once and then tagged, by default as `project_service`. If the Compose file specifies an ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@sughosneo I’ve noticed that there are 2 dependencies for
node-forge
inpackage-lock.json
First one is a transitive dependency from @angular-devkit/build-angular https://github.com/dotnet-architecture/eShopOnContainers/blob/dev/src/Web/WebSPA/package-lock.json#L1238-L1243And the second one is directly in
dependencies
https://github.com/dotnet-architecture/eShopOnContainers/blob/dev/src/Web/WebSPA/package-lock.json#L10410-L10414When I’ve changed both to
the build finished successfully.
@sughosneo I’ve opened a PR with the relevant changes. This is my first contribution here, so I apologize if there’s something not 100% right with the PR 😉