taipower-dreams-tester / dreams-cloud-joint-tester

Repository for the tester that verifies if a cloud PV monitoring system meet the requirement of Tai Power DREAMS system
11 stars 8 forks source link

yarn install失敗 #50

Closed topcminwer closed 2 years ago

topcminwer commented 2 years ago

您好

請問依照目前版本來安裝執行的話, rest-api-dreams在執行yarn install時會顯示以下錯誤訊息 image 若是將node升級到14的話又會顯示以下錯誤訊息 image

請問該如何解決此問題呢?在麻煩協助,謝謝!!

taipower-dreams-tester commented 2 years ago

您好, 已經修正了dependency,請更新source code試試看喔

cloudesyu commented 2 years ago

您好、我依照此issue將重新下載並將rest/Dockerfile 改成

FROM node:14
COPY ./rest-api-dreams/package.json /rest-api-dreams/package.json

WORKDIR /rest-api-dreams

RUN yarn install

COPY ./rest-api-dreams/ /rest-api-dreams/
COPY ./start.js /start.js
COPY ./start.sh /start.sh
RUN chmod +x /start.sh

VOLUME /storage
EXPOSE 3000

CMD ["/start.sh"]

依舊有這樣的錯誤

warning nodemon > chokidar@2.1.8: Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies
warning nodemon > chokidar > fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
[3/5] Fetching packages...
error loopback-context@3.5.0: The engine "node" is incompatible with this module. Expected version "^8.2.1 || ^10.14 || ^12.15". Got "14.20.0"
error Found incompatible module.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
ERROR: Service 'master' failed to build: The command '/bin/sh -c yarn install' returned a non-zero code: 1
ERROR: No containers to restart
taipower-dreams-tester commented 2 years ago

您好, 由於部分模組不支援新版Node.js,還請您將Node.js版本將回原本版本再試試。 謝謝。

cloudesyu commented 2 years ago

請問Node.js版本要在哪裡設定? 該是要設定什麼版本?

cloudesyu commented 2 years ago

改為原版本 一樣會有錯誤

root@dreamstest:/home/dreamstest/dreams-cloud-joint-tester/rest# cat Dockerfile
FROM node:12.22.4
#FROM node:12.20

COPY ./rest-api-dreams/package.json /rest-api-dreams/package.json

WORKDIR /rest-api-dreams

RUN yarn install

COPY ./rest-api-dreams/ /rest-api-dreams/
COPY ./start.js /start.js
COPY ./start.sh /start.sh
RUN chmod +x /start.sh

VOLUME /storage
EXPOSE 3000

CMD ["/start.sh"]

錯誤如下:

yarn install v1.22.5
info No lockfile found.
[1/5] Validating package.json...
[2/5] Resolving packages...
warning axios@0.14.0: Critical security vulnerability fixed in v0.21.1. For more information, see https://github.com/axios/axios/pull/3410
warning csv-parser > @hapi/joi@16.1.8: Switch to 'npm install joi'
warning csv-parser > @hapi/joi > @hapi/topo@3.1.6: This version has been deprecated and is no longer supported or maintained
warning csv-parser > @hapi/joi > @hapi/address@2.1.4: Moved to 'npm install @sideway/address'
warning csv-parser > @hapi/joi > @hapi/hoek@8.5.1: This version has been deprecated and is no longer supported or maintained
warning csv-parser > @hapi/joi > @hapi/topo > @hapi/hoek@8.5.1: This version has been deprecated and is no longer supported or maintained
warning csv-parser > @hapi/joi > @hapi/formula@1.2.0: Moved to 'npm install @sideway/formula'
warning csv-parser > @hapi/joi > @hapi/pinpoint@1.0.2: Moved to 'npm install @sideway/pinpoint'
warning debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
warning jszip > core-js@2.3.0: 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.
warning loopback > stable@0.1.8: 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
warning loopback > loopback-datasource-juggler > uuid@3.4.0: 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.
warning loopback > strong-remoting > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
warning loopback > strong-remoting > request > uuid@3.4.0: 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.
warning loopback > strong-remoting > jayson > uuid@3.4.0: 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.
warning loopback > strong-remoting > request > har-validator@5.1.5: this library is no longer supported
warning loopback > strong-globalize > accept-language > stable@0.1.8: 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
warning loopback-boot@2.27.1: This version is no longer supported, please upgrade to 3.x
warning loopback-boot > strong-globalize > g11n-pipeline > swagger-client > url > querystring@0.2.0: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
warning loopback-component-explorer > swagger-ui@2.2.10: No longer maintained, please upgrade to swagger-ui@3.
warning loopback-component-storage > uuid@3.4.0: 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.
warning loopback-component-storage > formidable@1.2.6: Please upgrade to latest, formidable@v2 or formidable@v3! Check these notes: https://bit.ly/2ZEqIau
warning loopback-component-storage > pkgcloud > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
warning loopback-component-storage > pkgcloud > grpc@1.24.11: This library will not receive further updates other than security fixes. We recommend using @grpc/grpc-js instead.
warning loopback-component-storage > pkgcloud > aws-sdk > querystring@0.2.0: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
warning loopback-component-storage > pkgcloud > aws-sdk > url > querystring@0.2.0: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
warning loopback-component-storage > pkgcloud > liboneandone > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
warning loopback-component-storage > pkgcloud > gcloud@0.10.0: gcloud has been renamed to google-cloud. To get new features and bug fixes, you must use the new package.
warning loopback-component-storage > pkgcloud > gcloud > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
warning loopback-component-storage > pkgcloud > liboneandone > mocha > mkdirp@0.5.1: Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
warning loopback-component-storage > pkgcloud > liboneandone > mocha > glob > minimatch@0.3.0: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
warning loopback-component-storage > pkgcloud > gcloud > node-uuid@1.4.8: Use uuid module instead
warning loopback-component-storage > pkgcloud > liboneandone > mocha > jade@0.26.3: Jade has been renamed to pug, please install the latest version of pug instead of jade
warning loopback-component-storage > pkgcloud > liboneandone > mocha > jade > mkdirp@0.3.0: Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
warning loopback-component-storage > pkgcloud > liboneandone > mocha > to-iso-string@0.0.2: to-iso-string has been deprecated, use @segment/to-iso-string instead.
warning loopback-component-storage > pkgcloud > gcloud > gapitoken > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
warning loopback-socket > socket.io > debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
warning loopback-socket > socket.io > socket.io-parser > debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
warning loopback-socket > socket.io > engine.io > debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
warning node-uuid@1.4.8: Use uuid module instead
warning querystring@0.2.0: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
warning raven@2.2.1: Please upgrade to @sentry/node. See the migration guide https://bit.ly/3ybOlo7
warning raven > uuid@3.0.0: 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.
warning request@2.88.0: request has been deprecated, see https://github.com/request/request/issues/3142
warning request > har-validator@5.1.5: this library is no longer supported
warning request > uuid@3.4.0: 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.
warning request-promise@4.2.5: request-promise has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
warning @babel/preset-es2015@7.0.0-beta.53: 👋 We've deprecated any official yearly presets in 6.x in favor or babel-preset-env. For 7.x it would be @babel/preset-env.
warning babel-preset-es2015@6.24.1: 🙌  Thanks for using Babel: we recommend using babel-preset-env now: please read https://babeljs.io/env to update!
warning babel-preset-es2015 > babel-plugin-transform-es2015-arrow-functions > babel-runtime > core-js@2.6.12: 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.
warning babel-preset-es2016@6.24.1: 🙌  Thanks for using Babel: we recommend using babel-preset-env now: please read https://babeljs.io/env to update!
warning babel-preset-es2017@6.24.1: 🙌  Thanks for using Babel: we recommend using babel-preset-env now: please read https://babeljs.io/env to update!
warning jest > jest-cli > jest-environment-jsdom > jsdom > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
warning jest > jest-cli > jest-haste-map > sane@2.5.2: some dependency vulnerabilities fixed, support for node < 10 dropped, and newer ECMAScript syntax/features added
warning jest > jest-cli > jest-environment-jsdom > jsdom > left-pad@1.3.0: use String.prototype.padStart()
warning jest > jest-cli > jest-environment-jsdom > jsdom > request-promise-native@1.0.9: request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
warning jest > jest-cli > jest-haste-map > sane > fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
warning jest > jest-cli > jest-runtime > babel-core > babel-register > core-js@2.6.12: 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.
warning jest > jest-cli > jest-haste-map > sane > micromatch > snapdragon > source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated
warning jest > jest-cli > jest-haste-map > sane > micromatch > snapdragon > source-map-resolve > resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
warning jest > jest-cli > jest-haste-map > sane > micromatch > snapdragon > source-map-resolve > source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated
warning jest > jest-cli > jest-haste-map > sane > micromatch > snapdragon > source-map-resolve > urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
warning nodemon > chokidar@2.1.8: Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies
warning nodemon > chokidar > fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
[3/5] Fetching packages...
error web-streams-polyfill@4.0.0-beta.3: The engine "node" is incompatible with this module. Expected version ">= 14". Got "12.22.4"
error Found incompatible module.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
ERROR: Service 'master' failed to build: The command '/bin/sh -c yarn install' returned a non-zero code: 1
Building master
Step 1/11 : FROM node:12.22.4
 ---> 7e90b11a78a2
Step 2/11 : COPY ./rest-api-dreams/package.json /rest-api-dreams/package.json
 ---> Using cache
 ---> 357c0535f946
Step 3/11 : WORKDIR /rest-api-dreams
 ---> Using cache
 ---> 433558a81892
Step 4/11 : RUN yarn install
 ---> Running in c559e85be7b0
yarn install v1.22.5
info No lockfile found.
[1/5] Validating package.json...
[2/5] Resolving packages...
warning axios@0.14.0: Critical security vulnerability fixed in v0.21.1. For more information, see https://github.com/axios/axios/pull/3410
warning csv-parser > @hapi/joi@16.1.8: Switch to 'npm install joi'
warning csv-parser > @hapi/joi > @hapi/address@2.1.4: Moved to 'npm install @sideway/address'
warning csv-parser > @hapi/joi > @hapi/topo@3.1.6: This version has been deprecated and is no longer supported or maintained
warning csv-parser > @hapi/joi > @hapi/hoek@8.5.1: This version has been deprecated and is no longer supported or maintained
warning csv-parser > @hapi/joi > @hapi/topo > @hapi/hoek@8.5.1: This version has been deprecated and is no longer supported or maintained
warning csv-parser > @hapi/joi > @hapi/formula@1.2.0: Moved to 'npm install @sideway/formula'
warning csv-parser > @hapi/joi > @hapi/pinpoint@1.0.2: Moved to 'npm install @sideway/pinpoint'
warning debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
warning jszip > core-js@2.3.0: 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.
warning loopback > stable@0.1.8: 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
warning loopback > loopback-datasource-juggler > uuid@3.4.0: 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.
warning loopback > strong-globalize > accept-language > stable@0.1.8: 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
warning loopback > strong-remoting > jayson > uuid@3.4.0: 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.
warning loopback > strong-remoting > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
warning loopback > strong-remoting > request > uuid@3.4.0: 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.
warning loopback > strong-remoting > request > har-validator@5.1.5: this library is no longer supported
warning loopback-boot@2.27.1: This version is no longer supported, please upgrade to 3.x
warning loopback-boot > strong-globalize > g11n-pipeline > swagger-client > url > querystring@0.2.0: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
warning loopback-component-explorer > swagger-ui@2.2.10: No longer maintained, please upgrade to swagger-ui@3.
warning loopback-component-storage > uuid@3.4.0: 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.
warning loopback-component-storage > formidable@1.2.6: Please upgrade to latest, formidable@v2 or formidable@v3! Check these notes: https://bit.ly/2ZEqIau
warning loopback-component-storage > pkgcloud > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
warning loopback-component-storage > pkgcloud > gcloud@0.10.0: gcloud has been renamed to google-cloud. To get new features and bug fixes, you must use the new package.
warning loopback-component-storage > pkgcloud > gcloud > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
warning loopback-component-storage > pkgcloud > liboneandone > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
warning loopback-component-storage > pkgcloud > grpc@1.24.11: This library will not receive further updates other than security fixes. We recommend using @grpc/grpc-js instead.
warning loopback-component-storage > pkgcloud > gcloud > gapitoken > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
warning loopback-component-storage > pkgcloud > gcloud > node-uuid@1.4.8: Use uuid module instead
warning loopback-component-storage > pkgcloud > aws-sdk > querystring@0.2.0: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
warning loopback-component-storage > pkgcloud > aws-sdk > url > querystring@0.2.0: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
warning loopback-component-storage > pkgcloud > liboneandone > mocha > mkdirp@0.5.1: Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
warning loopback-component-storage > pkgcloud > liboneandone > mocha > glob > minimatch@0.3.0: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
warning loopback-component-storage > pkgcloud > liboneandone > mocha > jade@0.26.3: Jade has been renamed to pug, please install the latest version of pug instead of jade
warning loopback-component-storage > pkgcloud > liboneandone > mocha > jade > mkdirp@0.3.0: Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
warning loopback-component-storage > pkgcloud > liboneandone > mocha > to-iso-string@0.0.2: to-iso-string has been deprecated, use @segment/to-iso-string instead.
warning loopback-socket > socket.io > debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
warning loopback-socket > socket.io > engine.io > debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
warning loopback-socket > socket.io > socket.io-parser > debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
warning node-uuid@1.4.8: Use uuid module instead
warning querystring@0.2.0: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
warning raven@2.2.1: Please upgrade to @sentry/node. See the migration guide https://bit.ly/3ybOlo7
warning raven > uuid@3.0.0: 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.
warning request@2.88.0: request has been deprecated, see https://github.com/request/request/issues/3142
warning request > har-validator@5.1.5: this library is no longer supported
warning request > uuid@3.4.0: 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.
warning request-promise@4.2.5: request-promise has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
warning @babel/preset-es2015@7.0.0-beta.53: 👋 We've deprecated any official yearly presets in 6.x in favor or babel-preset-env. For 7.x it would be @babel/preset-env.
warning babel-preset-es2015@6.24.1: 🙌  Thanks for using Babel: we recommend using babel-preset-env now: please read https://babeljs.io/env to update!
warning babel-preset-es2015 > babel-plugin-check-es2015-constants > babel-runtime > core-js@2.6.12: 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.
warning babel-preset-es2016@6.24.1: 🙌  Thanks for using Babel: we recommend using babel-preset-env now: please read https://babeljs.io/env to update!
warning babel-preset-es2017@6.24.1: 🙌  Thanks for using Babel: we recommend using babel-preset-env now: please read https://babeljs.io/env to update!
warning jest > jest-cli > jest-environment-jsdom > jsdom > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
warning jest > jest-cli > jest-haste-map > sane@2.5.2: some dependency vulnerabilities fixed, support for node < 10 dropped, and newer ECMAScript syntax/features added
warning jest > jest-cli > jest-environment-jsdom > jsdom > left-pad@1.3.0: use String.prototype.padStart()
warning jest > jest-cli > jest-environment-jsdom > jsdom > request-promise-native@1.0.9: request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
warning jest > jest-cli > jest-haste-map > sane > fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
warning jest > jest-cli > jest-runtime > babel-core > babel-register > core-js@2.6.12: 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.
warning jest > jest-cli > jest-haste-map > sane > micromatch > snapdragon > source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated
warning jest > jest-cli > jest-haste-map > sane > micromatch > snapdragon > source-map-resolve > resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
warning jest > jest-cli > jest-haste-map > sane > micromatch > snapdragon > source-map-resolve > urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
warning jest > jest-cli > jest-haste-map > sane > micromatch > snapdragon > source-map-resolve > source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated
warning nodemon > chokidar@2.1.8: Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies
warning nodemon > chokidar > fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
[3/5] Fetching packages...
error web-streams-polyfill@4.0.0-beta.3: The engine "node" is incompatible with this module. Expected version ">= 14". Got "12.22.4"
error Found incompatible module.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
ERROR: Service 'master' failed to build: The command '/bin/sh -c yarn install' returned a non-zero code: 1
ERROR: No containers to restart

能否請您試裝看看? 提供新的安裝步驟