infiniband-radar / infiniband-radar-daemon

GNU General Public License v3.0
13 stars 5 forks source link

ERROR: Service 'client' failed to build: The command '/bin/sh -c cd /app/client && npm run build' returned a non-zero code: 1 #28

Open logankim79 opened 1 year ago

logankim79 commented 1 year ago

Does any one know? what is the issue...

[root@mgt23 infiniband-radar-web]# GATEWAY_CERTS="$PWD/ssl_certs" docker-compose up --build -d Building client Step 1/16 : FROM node:alpine as builder ---> adb3ed8bc61e Step 2/16 : RUN apk add --no-cache git ---> Using cache ---> 1dabc9da4e64 Step 3/16 : WORKDIR /app/client/ ---> Using cache ---> 9147f9b1b584 Step 4/16 : COPY client/package.json client/package-lock.json /app/client/ ---> Using cache ---> b331cd5b7dad Step 5/16 : COPY .git /app/ ---> Using cache ---> d9446050d087 Step 6/16 : RUN cd /app/client && npm set progress=false && npm install ---> Using cache ---> edd2c0928461 Step 7/16 : COPY common/ /app/common ---> Using cache ---> c3d16c08cef0 Step 8/16 : RUN cd /app/common/3dparty/vis && npm install ---> Using cache ---> 5c95e8ebcf48 Step 9/16 : COPY client/ /app/client ---> Using cache ---> c7c520ac1fb3 Step 10/16 : RUN cd /app/client && npm run build ---> Running in 98412eb30e9b

infiniband-radar-client@2.4.6 build vue-cli-service build

Error: error:0308010C:digital envelope routines::unsupported at new Hash (node:internal/crypto/hash:71:19) at Object.createHash (node:crypto:140:10) at module.exports (/app/client/node_modules/webpack/lib/util/createHash.js:135:53) at NormalModule._initBuildHash (/app/client/node_modules/webpack/lib/NormalModule.js:417:16) at handleParseError (/app/client/node_modules/webpack/lib/NormalModule.js:471:10) at /app/client/node_modules/webpack/lib/NormalModule.js:503:5 at /app/client/node_modules/webpack/lib/NormalModule.js:358:12 at /app/client/node_modules/loader-runner/lib/LoaderRunner.js:373:3 at iterateNormalLoaders (/app/client/node_modules/loader-runner/lib/LoaderRunner.js:214:10) at iterateNormalLoaders (/app/client/node_modules/loader-runner/lib/LoaderRunner.js:221:10) at /app/client/node_modules/loader-runner/lib/LoaderRunner.js:236:3 at context.callback (/app/client/node_modules/loader-runner/lib/LoaderRunner.js:111:13) at /app/client/node_modules/cache-loader/dist/index.js:147:7 at /app/client/node_modules/graceful-fs/graceful-fs.js:61:14 at FSReqCallback.oncomplete (node:fs:185:23) { opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ], library: 'digital envelope routines', reason: 'unsupported', code: 'ERR_OSSL_EVP_UNSUPPORTED' }

Node.js v19.9.0 ERROR: Service 'client' failed to build: The command '/bin/sh -c cd /app/client && npm run build' returned a non-zero code: 1 [root@mgt23 infiniband-radar-web]#**

[root@mgt23 infiniband-radar-web]# n copying : node/19.9.0 installed : v19.9.0 (with npm 9.6.3)