BallAerospace / COSMOS

Ball Aerospace COSMOS
https://ballaerospace.github.io/cosmos-website/
Other
360 stars 129 forks source link

Build failure on M1 mac #1410

Closed neilpanchal closed 2 years ago

neilpanchal commented 2 years ago

Describe the bug I am getting an fatal error trying to build using M1 macbook pro + Docker v4.3.7.

To Reproduce Build using the steps in the installation guide: ./cosmos-control.sh build.

Expected behavior Should build.

Screenshots

#58 36.91 [3/4] Linking dependencies...
#58 36.91 warning "workspace-aggregator-543ab0fc-0f0c-4477-9aee-cc21ae788cad > widgets_src > @vue/eslint-config-prettier@6.0.0" has incorrect peer dependency "eslint-plugin-prettier@^3.1.0".
#58 36.91 warning "workspace-aggregator-543ab0fc-0f0c-4477-9aee-cc21ae788cad > widgets_src > @vue/cli-plugin-eslint@4.5.13" has incorrect peer dependency "eslint@>= 1.6.0 < 7.0.0".
#58 36.91 warning "workspace-aggregator-543ab0fc-0f0c-4477-9aee-cc21ae788cad > widgets_src > @vue/babel-preset-app@4.5.13" has unmet peer dependency "@babel/core@*".
#58 36.91 warning "workspace-aggregator-543ab0fc-0f0c-4477-9aee-cc21ae788cad > widgets_src > babel-loader@8.2.2" has unmet peer dependency "@babel/core@^7.0.0".
#58 36.91 warning "workspace-aggregator-543ab0fc-0f0c-4477-9aee-cc21ae788cad > widgets_src > @vue/cli-plugin-eslint > eslint-loader@2.2.1" has incorrect peer dependency "eslint@>=1.6.0 <7.0.0".
#58 36.92 warning "workspace-aggregator-543ab0fc-0f0c-4477-9aee-cc21ae788cad > @cosmosc2/tool-admin > vue-cli-plugin-single-spa > standalone-single-spa-webpack-plugin@3.0.0" has unmet peer dependency "html-webpack-plugin@*".
#58 48.37 [4/4] Building fresh packages...
#58 50.62 error /cosmos/plugins/node_modules/deasync: Command failed.
#58 50.62 Exit code: 1
#58 50.62 Command: node ./build.js
#58 50.62 Arguments:
#58 50.62 Directory: /cosmos/plugins/node_modules/deasync
#58 50.62 Output:
#58 50.62 events.js:377
#58 50.62       throw er; // Unhandled 'error' event
#58 50.62       ^
#58 50.62
#58 50.62 Error: spawn node-gyp ENOENT
#58 50.62     at Process.ChildProcess._handle.onexit (internal/child_process.js:274:19)
#58 50.62     at onErrorNT (internal/child_process.js:469:16)
#58 50.62     at processTicksAndRejections (internal/process/task_queues.js:82:21)
#58 50.62 Emitted 'error' event on ChildProcess instance at:
#58 50.62     at Process.ChildProcess._handle.onexit (internal/child_process.js:280:12)
#58 50.62     at onErrorNT (internal/child_process.js:469:16)
#58 50.62     at processTicksAndRejections (internal/process/task_queues.js:82:21) {
#58 50.62   errno: -2,
#58 50.62   code: 'ENOENT',
#58 50.62   syscall: 'spawn node-gyp',
#58 50.62   path: 'node-gyp',
#58 50.62   spawnargs: [ 'rebuild' ]
#58 50.62 }
#58 50.62 info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
------
failed to solve: rpc error: code = Unknown desc = executor failed running [/bin/sh -c yarn]: exit code: 1

Environment (please complete the following information):

Searching on SO, returns some results that recommend rebuilding it with yarn update. I'll try to build the docker image itself from scratch, but need to first setup the toolchain.

Has anyone tried building on M1 macs?

ghost commented 2 years ago

Hello and thank you for your interest in Cosmos. Yes we just had someone open a ticket for Cosmos 5.0.1 and we made a change that is now on master as of yesterday. Please make sure you are building off of master/main. See https://github.com/BallAerospace/COSMOS/issues/1402#issuecomment-993915356

Let us know if you still have this problem with this.

neilpanchal commented 2 years ago

@gerhardatball Thank you, that works. I am currently on 5.0.2 (beta).

m8rmclaren commented 2 years ago

Reopening this issue - COSMOS build problem on Arm M1 Pro. Quick note - I'm a university student and am by no means an expert at Docker. Describe the bug When running ./cosmos-control.sh start as detailed in the COSMOS installation guide, the build fails approximately 100 seconds after RUN yarn is called. I also tried building this version as detailed by this comment and found that accessing localhost:2900 takes me to the Minio sign in page (see screenshot).

To Reproduce Download COSMOS version 5.0.1 (zip) from releases page. Then, run./cosmos-control.sh start after installing Docker Desktop Version 4.5.0 (74594) on Apple MacBook Pro with Apple Silicon M1 Pro. Build fails approximately 100 seconds after RUN yarn.

Expected behavior Should build COSMOS, and accessing http://localhost:2900/ should take me to COSMOS.

Screenshots

 => ERROR [ballaerospace/cosmosc2-init:latest cosmos-frontend-tmp 19/23] RUN yarn                                                                                                              79.2s
 => [ballaerospace/cosmosc2-base:latest 8/8] COPY --chown=cosmos:cosmos . .                                                                                                                     0.1s
------
 > [ballaerospace/cosmosc2-init:latest cosmos-frontend-tmp 19/23] RUN yarn:
#71 0.290 yarn install v1.22.10
#71 0.319 info No lockfile found.
#71 0.361 [1/4] Resolving packages...
#71 0.880 warning workspace-aggregator-99890597-1998-4a70-8cf1-867076b69669 > widgets_src > babel-eslint@10.1.0: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.
#71 0.880 warning workspace-aggregator-99890597-1998-4a70-8cf1-867076b69669 > @cosmosc2/tool-admin > babel-eslint@10.1.0: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.
#71 0.880 warning workspace-aggregator-99890597-1998-4a70-8cf1-867076b69669 > @cosmosc2/tool-cmdsender > babel-eslint@10.1.0: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.
#71 0.881 warning workspace-aggregator-99890597-1998-4a70-8cf1-867076b69669 > @cosmosc2/tool-cmdtlmserver > babel-eslint@10.1.0: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.
#71 0.881 warning workspace-aggregator-99890597-1998-4a70-8cf1-867076b69669 > @cosmosc2/tool-dataextractor > babel-eslint@10.1.0: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.
#71 0.881 warning workspace-aggregator-99890597-1998-4a70-8cf1-867076b69669 > @cosmosc2/tool-dataviewer > babel-eslint@10.1.0: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.
#71 0.881 warning workspace-aggregator-99890597-1998-4a70-8cf1-867076b69669 > @cosmosc2/tool-limitsmonitor > babel-eslint@10.1.0: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.
#71 0.881 warning workspace-aggregator-99890597-1998-4a70-8cf1-867076b69669 > @cosmosc2/tool-packetviewer > babel-eslint@10.1.0: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.
#71 0.881 warning workspace-aggregator-99890597-1998-4a70-8cf1-867076b69669 > @cosmosc2/tool-scriptrunner > babel-eslint@10.1.0: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.
#71 0.881 warning workspace-aggregator-99890597-1998-4a70-8cf1-867076b69669 > @cosmosc2/tool-timeline > babel-eslint@10.1.0: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.
#71 0.881 warning workspace-aggregator-99890597-1998-4a70-8cf1-867076b69669 > @cosmosc2/tool-tlmgrapher > babel-eslint@10.1.0: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.
#71 0.881 warning workspace-aggregator-99890597-1998-4a70-8cf1-867076b69669 > @cosmosc2/tool-tlmviewer > babel-eslint@10.1.0: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.
#71 3.287 warning workspace-aggregator-99890597-1998-4a70-8cf1-867076b69669 > widgets_src > @vue/cli-plugin-eslint > eslint-loader@2.2.1: This loader has been deprecated. Please use eslint-webpack-plugin
#71 4.664 warning workspace-aggregator-99890597-1998-4a70-8cf1-867076b69669 > widgets_src > @vue/cli-service > html-webpack-plugin@3.2.0: 3.x is no longer supported
#71 6.284 warning workspace-aggregator-99890597-1998-4a70-8cf1-867076b69669 > widgets_src > @vue/cli-service > webpack-dev-server > chokidar@2.1.8: Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies
#71 9.236 warning workspace-aggregator-99890597-1998-4a70-8cf1-867076b69669 > widgets_src > @vue/cli-plugin-babel > @vue/cli-shared-utils > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
#71 9.239 warning workspace-aggregator-99890597-1998-4a70-8cf1-867076b69669 > widgets_src > @vue/cli-plugin-babel > @vue/cli-shared-utils > 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.
#71 9.536 warning workspace-aggregator-99890597-1998-4a70-8cf1-867076b69669 > widgets_src > @vue/cli-plugin-babel > @vue/cli-shared-utils > @hapi/joi@15.1.1: Switch to 'npm install joi'
#71 10.56 warning workspace-aggregator-99890597-1998-4a70-8cf1-867076b69669 > widgets_src > @vue/cli-service > webpack-dev-server > webpack-log > 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.
#71 11.33 warning workspace-aggregator-99890597-1998-4a70-8cf1-867076b69669 > widgets_src > @vue/cli-service > webpack-dev-server > chokidar > fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
#71 12.09 warning workspace-aggregator-99890597-1998-4a70-8cf1-867076b69669 > widgets_src > webpack > watchpack > watchpack-chokidar2 > chokidar@2.1.8: Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies
#71 12.36 warning workspace-aggregator-99890597-1998-4a70-8cf1-867076b69669 > @cosmosc2/tool-admin > @vue/cli-plugin-unit-jest > babel-plugin-transform-es2015-modules-commonjs > babel-runtime > core-js@2.6.12: core-js@<3.4 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. Please, upgrade your dependencies to the actual version of core-js.
#71 12.57 warning workspace-aggregator-99890597-1998-4a70-8cf1-867076b69669 > @cosmosc2/tool-admin > @vue/cli-plugin-unit-jest > jest-environment-jsdom-fifteen > jsdom > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
#71 13.36 warning workspace-aggregator-99890597-1998-4a70-8cf1-867076b69669 > widgets_src > @vue/cli-plugin-babel > @vue/cli-shared-utils > request > har-validator@5.1.5: this library is no longer supported
#71 14.32 warning workspace-aggregator-99890597-1998-4a70-8cf1-867076b69669 > widgets_src > @vue/cli-plugin-babel > @vue/cli-shared-utils > @hapi/joi > @hapi/hoek@8.5.1: This version has been deprecated and is no longer supported or maintained
#71 14.36 warning workspace-aggregator-99890597-1998-4a70-8cf1-867076b69669 > widgets_src > @vue/cli-plugin-babel > @vue/cli-shared-utils > @hapi/joi > @hapi/bourne@1.3.2: This version has been deprecated and is no longer supported or maintained
#71 14.55 warning workspace-aggregator-99890597-1998-4a70-8cf1-867076b69669 > widgets_src > @vue/cli-plugin-babel > @vue/cli-shared-utils > @hapi/joi > @hapi/address@2.1.4: Moved to 'npm install @sideway/address'
#71 14.61 warning workspace-aggregator-99890597-1998-4a70-8cf1-867076b69669 > widgets_src > @vue/cli-plugin-babel > @vue/cli-shared-utils > @hapi/joi > @hapi/topo@3.1.6: This version has been deprecated and is no longer supported or maintained
#71 14.61 warning workspace-aggregator-99890597-1998-4a70-8cf1-867076b69669 > widgets_src > @vue/cli-plugin-babel > @vue/cli-shared-utils > @hapi/joi > @hapi/topo > @hapi/hoek@8.5.1: This version has been deprecated and is no longer supported or maintained
#71 15.21 warning workspace-aggregator-99890597-1998-4a70-8cf1-867076b69669 > widgets_src > @vue/cli-service > webpack-dev-server > url > querystring@0.2.0: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
#71 16.17 warning workspace-aggregator-99890597-1998-4a70-8cf1-867076b69669 > widgets_src > @vue/cli > @vue/cli-ui > apollo-server-express > graphql-tools@4.0.8: This package has been deprecated and now it only exports makeExecutableSchema.\nAnd it will no longer receive updates.\nWe recommend you to migrate to scoped packages such as @graphql-tools/schema, @graphql-tools/utils and etc.\nCheck out https://www.graphql-tools.com to learn what package you should use instead
#71 16.17 warning workspace-aggregator-99890597-1998-4a70-8cf1-867076b69669 > widgets_src > @vue/cli > @vue/cli-ui > apollo-server-express > apollo-server-core > graphql-tools@4.0.8: This package has been deprecated and now it only exports makeExecutableSchema.\nAnd it will no longer receive updates.\nWe recommend you to migrate to scoped packages such as @graphql-tools/schema, @graphql-tools/utils and etc.\nCheck out https://www.graphql-tools.com to learn what package you should use instead
#71 16.17 warning workspace-aggregator-99890597-1998-4a70-8cf1-867076b69669 > widgets_src > @vue/cli > @vue/cli-ui > apollo-server-express > graphql-tools > 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.
#71 16.41 warning workspace-aggregator-99890597-1998-4a70-8cf1-867076b69669 > widgets_src > webpack > micromatch > snapdragon > source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated
#71 16.92 warning workspace-aggregator-99890597-1998-4a70-8cf1-867076b69669 > @cosmosc2/tool-admin > @vue/cli-plugin-unit-jest > babel-jest > @jest/transform > jest-haste-map > fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
#71 17.51 warning workspace-aggregator-99890597-1998-4a70-8cf1-867076b69669 > @cosmosc2/tool-admin > @vue/cli-plugin-unit-jest > jest-environment-jsdom-fifteen > 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
#71 17.97 warning workspace-aggregator-99890597-1998-4a70-8cf1-867076b69669 > @cosmosc2/tool-admin > @vue/cli-plugin-unit-jest > vue-jest > extract-from-css > css > source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated
#71 18.53 warning workspace-aggregator-99890597-1998-4a70-8cf1-867076b69669 > widgets_src > @vue/cli-service > @intervolga/optimize-cssnano-plugin > cssnano-preset-default > postcss-svgo > svgo@1.3.2: This SVGO version is no longer supported. Upgrade to v2.x.x.
#71 19.80 warning workspace-aggregator-99890597-1998-4a70-8cf1-867076b69669 > widgets_src > @vue/cli > @vue/cli-ui > apollo-server-express > apollo-server-core > apollo-cache-control@0.14.0: The functionality provided by the `apollo-cache-control` package is built in to `apollo-server-core` starting with Apollo Server 3. See https://www.apollographql.com/docs/apollo-server/migration/#cachecontrol for details.
#71 20.26 warning workspace-aggregator-99890597-1998-4a70-8cf1-867076b69669 > widgets_src > @vue/cli > @vue/cli-ui > apollo-server-express > apollo-server-core > graphql-extensions@0.15.0: The `graphql-extensions` API has been removed from Apollo Server 3. Use the plugin API instead: https://www.apollographql.com/docs/apollo-server/integrations/plugins/
#71 20.27 warning workspace-aggregator-99890597-1998-4a70-8cf1-867076b69669 > widgets_src > @vue/cli > @vue/cli-ui > apollo-server-express > apollo-server-core > apollo-tracing@0.15.0: The `apollo-tracing` package is no longer part of Apollo Server 3. See https://www.apollographql.com/docs/apollo-server/migration/#tracing for details
#71 20.35 warning workspace-aggregator-99890597-1998-4a70-8cf1-867076b69669 > widgets_src > webpack > micromatch > snapdragon > source-map-resolve > resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
#71 20.36 warning workspace-aggregator-99890597-1998-4a70-8cf1-867076b69669 > widgets_src > webpack > micromatch > snapdragon > source-map-resolve > source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated
#71 20.42 warning workspace-aggregator-99890597-1998-4a70-8cf1-867076b69669 > widgets_src > webpack > micromatch > snapdragon > source-map-resolve > urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
#71 20.42 warning workspace-aggregator-99890597-1998-4a70-8cf1-867076b69669 > @cosmosc2/tool-admin > @vue/cli-plugin-unit-jest > vue-jest > extract-from-css > css > urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
#71 21.27 warning workspace-aggregator-99890597-1998-4a70-8cf1-867076b69669 > @cosmosc2/tool-admin > @vue/cli-plugin-unit-jest > babel-jest > @jest/transform > jest-haste-map > sane@4.1.0: some dependency vulnerabilities fixed, support for node < 10 dropped, and newer ECMAScript syntax/features added
#71 21.30 warning workspace-aggregator-99890597-1998-4a70-8cf1-867076b69669 > @cosmosc2/tool-admin > @vue/cli-plugin-unit-jest > jest > jest-cli > jest-config > jest-environment-jsdom > jsdom > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
#71 21.30 warning workspace-aggregator-99890597-1998-4a70-8cf1-867076b69669 > @cosmosc2/tool-admin > @vue/cli-plugin-unit-jest > jest > jest-cli > jest-config > 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
#71 23.64 warning workspace-aggregator-99890597-1998-4a70-8cf1-867076b69669 > @cosmosc2/tool-admin > @vue/cli-plugin-unit-jest > jest > jest-cli > jest-config > jest-environment-jsdom > jsdom > left-pad@1.3.0: use String.prototype.padStart()
#71 26.27 [2/4] Fetching packages...
#71 64.46 info fsevents@2.3.2: The platform "linux" is incompatible with this module.
#71 64.46 info "fsevents@2.3.2" is an optional dependency and failed compatibility check. Excluding it from installation.
#71 64.46 info fsevents@1.2.13: The platform "linux" is incompatible with this module.
#71 64.46 info "fsevents@1.2.13" is an optional dependency and failed compatibility check. Excluding it from installation.
#71 64.47 [3/4] Linking dependencies...
#71 64.48 warning "workspace-aggregator-99890597-1998-4a70-8cf1-867076b69669 > widgets_src > babel-loader@8.2.2" has unmet peer dependency "@babel/core@^7.0.0".
#71 64.48 warning "workspace-aggregator-99890597-1998-4a70-8cf1-867076b69669 > widgets_src > @vue/babel-preset-app@4.5.13" has unmet peer dependency "@babel/core@*".
#71 64.48 warning "workspace-aggregator-99890597-1998-4a70-8cf1-867076b69669 > widgets_src > @vue/cli-plugin-eslint@4.5.13" has incorrect peer dependency "eslint@>= 1.6.0 < 7.0.0".
#71 64.48 warning "workspace-aggregator-99890597-1998-4a70-8cf1-867076b69669 > widgets_src > @vue/eslint-config-prettier@6.0.0" has incorrect peer dependency "eslint-plugin-prettier@^3.1.0".
#71 64.48 warning "workspace-aggregator-99890597-1998-4a70-8cf1-867076b69669 > widgets_src > @vue/cli-plugin-eslint > eslint-loader@2.2.1" has incorrect peer dependency "eslint@>=1.6.0 <7.0.0".
#71 64.48 warning "workspace-aggregator-99890597-1998-4a70-8cf1-867076b69669 > @cosmosc2/tool-admin > vue-cli-plugin-single-spa > standalone-single-spa-webpack-plugin@3.0.0" has unmet peer dependency "html-webpack-plugin@*".
#71 76.45 [4/4] Building fresh packages...
#71 78.57 error /cosmos/plugins/node_modules/deasync: Command failed.
#71 78.57 Exit code: 1
#71 78.57 Command: node ./build.js
#71 78.57 Arguments: 
#71 78.57 Directory: /cosmos/plugins/node_modules/deasync
#71 78.57 Output:
#71 78.57 events.js:377
#71 78.57       throw er; // Unhandled 'error' event
#71 78.57       ^
#71 78.57 
#71 78.57 Error: spawn node-gyp ENOENT
#71 78.57     at Process.ChildProcess._handle.onexit (internal/child_process.js:274:19)
#71 78.57     at onErrorNT (internal/child_process.js:469:16)
#71 78.57     at processTicksAndRejections (internal/process/task_queues.js:82:21)
#71 78.57 Emitted 'error' event on ChildProcess instance at:
#71 78.57     at Process.ChildProcess._handle.onexit (internal/child_process.js:280:12)
#71 78.57     at onErrorNT (internal/child_process.js:469:16)
#71 78.57     at processTicksAndRejections (internal/process/task_queues.js:82:21) {
#71 78.57   errno: -2,
#71 78.57   code: 'ENOENT',
#71 78.57   syscall: 'spawn node-gyp',
#71 78.57   path: 'node-gyp',
#71 78.57   spawnargs: [ 'rebuild' ]
#71 78.57 }
#71 78.57 info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
------
failed to solve: rpc error: code = Unknown desc = executor failed running [/bin/sh -c yarn]: exit code: 1

Building this version takes me to the following page:

image

Signing in with credentials in .env:

image

Also, I noticed that a few containers appear to be in boot loops with the version detailed above:

image

Finally, this is the error I receive when building from master:

 => ERROR [ballaerospace/cosmosc2-init:latest cosmos-frontend-tmp 20/24] RUN yarn config set registry https://registry.npmjs.org && yarn        87.6s
 => [ballaerospace/cosmosc2-redis:latest internal] load build context                                                                            0.0s
 => => transferring context: 758B                                                                                                                0.0s
 => CACHED [ballaerospace/cosmosc2-redis:latest 1/3] FROM docker.io/library/redis:6.2@sha256:0d9c9aed1eb385336db0bc9b976b6b49774aee3d2b9c2788a0  0.0s
 => [ballaerospace/cosmosc2-redis:latest 2/3] RUN mkdir /config                                                                                  0.1s
 => [ballaerospace/cosmosc2-redis:latest 3/3] COPY ./config/* /config/                                                                           0.0s
 => [ballaerospace/cosmosc2-traefik:latest internal] load build context                                                                          0.0s
 => => transferring context: 3.26kB                                                                                                              0.0s
 => [ballaerospace/cosmosc2-traefik:latest 1/2] FROM docker.io/library/traefik:2.4.13@sha256:3123d05e444f6297592c8443bcffe4bd291ab5b62e11a3d4ee  5.1s
 => => resolve docker.io/library/traefik:2.4.13@sha256:3123d05e444f6297592c8443bcffe4bd291ab5b62e11a3d4eeb7ba3fd809540d                          0.0s
 => => sha256:6f2ae7432b0647d420cf1b58fb8cf6cc41e8f62576eb2a2181636f0b1947e5e5 22.27MB / 22.27MB                                                 4.3s
 => => sha256:d3fea4bbca0e60d625a8cf83e9cad012b191eeaf6ce210d0e8ad56eb6d671f55 367B / 367B                                                       0.5s
 => => sha256:3123d05e444f6297592c8443bcffe4bd291ab5b62e11a3d4eeb7ba3fd809540d 776B / 776B                                                       0.0s
 => => sha256:5f3e802ce52bdd128498b75e1674c1286618e179d92ec547fb147054fa0a6dfd 1.16kB / 1.16kB                                                   0.0s
 => => sha256:be24b747da93d6c52d40f45404f8719c173a42b464b5789cc5474025c9089d34 4.30kB / 4.30kB                                                   0.0s
 => => extracting sha256:6f2ae7432b0647d420cf1b58fb8cf6cc41e8f62576eb2a2181636f0b1947e5e5                                                        0.7s
 => => extracting sha256:d3fea4bbca0e60d625a8cf83e9cad012b191eeaf6ce210d0e8ad56eb6d671f55                                                        0.0s
 => [ballaerospace/cosmosc2-minio-init:latest 1/3] FROM docker.io/minio/mc:RELEASE.2021-12-10T00-14-28Z@sha256:8633893e064b96ea35174af24a06e57  15.5s
 => => resolve docker.io/minio/mc:RELEASE.2021-12-10T00-14-28Z@sha256:8633893e064b96ea35174af24a06e5729ab2e1bbc82e6a2d1d011d60812d6750           0.0s
 => => sha256:4ccab234daf501f5c5b8d4c95f06a31f4b46c8aa8ccb054d5c1b7a02f76a3ada 3.54kB / 3.54kB                                                   0.0s
 => => sha256:f67c9f0e6f4808960bbce6f5fd1e23f2371778ff97a68df82e1d10daf683a9ee 42.74kB / 42.74kB                                                 0.4s
 => => sha256:8633893e064b96ea35174af24a06e5729ab2e1bbc82e6a2d1d011d60812d6750 1.36kB / 1.36kB                                                   0.0s
 => => sha256:410ae817a76fbcc66a5fa06284f4823b9d834978aa8b7ff382862c28bffaf19a 1.37kB / 1.37kB                                                   0.0s
 => => sha256:d89e1cea1d8264e5ccff5093e1c05b68237ec69aea98965667547ebed5fe0d06 11.88kB / 11.88kB                                                 0.8s
 => => extracting sha256:f67c9f0e6f4808960bbce6f5fd1e23f2371778ff97a68df82e1d10daf683a9ee                                                        0.1s
 => => sha256:9b28cd1ebd5a36bef2cb990f92ef533b65da2090381e4ad8fabdcd1cee5fef4e 69.90MB / 69.90MB                                                13.1s
 => => extracting sha256:d89e1cea1d8264e5ccff5093e1c05b68237ec69aea98965667547ebed5fe0d06                                                        0.0s
 => => extracting sha256:9b28cd1ebd5a36bef2cb990f92ef533b65da2090381e4ad8fabdcd1cee5fef4e                                                        2.3s
 => [ballaerospace/cosmosc2-minio-init:latest internal] load build context                                                                       0.0s
 => => transferring context: 3.46kB                                                                                                              0.0s
 => [ballaerospace/cosmosc2-traefik:latest 2/2] COPY ./traefik.yaml /etc/traefik/traefik.yaml                                                    0.1s
 => [ballaerospace/cosmosc2-script-runner-api:latest 5/6] RUN ["chown", "-R", "cosmos:cosmos", "/src/"]                                          0.1s
 => [ballaerospace/cosmosc2-script-runner-api:latest 6/6] COPY  --chown=cosmos:cosmos . .                                                        0.0s
 => [ballaerospace/cosmosc2-cmd-tlm-api:latest 5/6] RUN ["chown", "-R", "cosmos:cosmos", "/src/"]                                                0.1s
 => [ballaerospace/cosmosc2-cmd-tlm-api:latest 6/6] COPY --chown=cosmos:cosmos . .                                                               0.0s
 => [ballaerospace/cosmosc2-minio-init:latest 2/3] WORKDIR /cosmos/minio/                                                                        0.1s
 => [ballaerospace/cosmosc2-minio-init:latest 3/3] COPY ./* /cosmos/minio/                                                                       0.0s
------
 > [ballaerospace/cosmosc2-init:latest cosmos-frontend-tmp 20/24] RUN yarn config set registry https://registry.npmjs.org && yarn:
#45 0.298 yarn config v1.22.17
#45 0.324 success Set "registry" to "https://registry.npmjs.org".
#45 0.324 Done in 0.03s.
#45 0.456 yarn install v1.22.17
#45 0.479 info No lockfile found.
#45 0.518 [1/4] Resolving packages...
#45 1.254 warning workspace-aggregator-3b69d004-5eda-4a80-9064-19d108a9f9ce > widgets_src > babel-eslint@10.1.0: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.
#45 1.254 warning workspace-aggregator-3b69d004-5eda-4a80-9064-19d108a9f9ce > @cosmosc2/tool-admin > babel-eslint@10.1.0: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.
#45 1.254 warning workspace-aggregator-3b69d004-5eda-4a80-9064-19d108a9f9ce > @cosmosc2/tool-autonomic > babel-eslint@10.1.0: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.
#45 1.254 warning workspace-aggregator-3b69d004-5eda-4a80-9064-19d108a9f9ce > @cosmosc2/tool-cmdsender > babel-eslint@10.1.0: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.
#45 1.254 warning workspace-aggregator-3b69d004-5eda-4a80-9064-19d108a9f9ce > @cosmosc2/tool-cmdtlmserver > babel-eslint@10.1.0: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.
#45 1.254 warning workspace-aggregator-3b69d004-5eda-4a80-9064-19d108a9f9ce > @cosmosc2/tool-dataextractor > babel-eslint@10.1.0: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.
#45 1.254 warning workspace-aggregator-3b69d004-5eda-4a80-9064-19d108a9f9ce > @cosmosc2/tool-dataviewer > babel-eslint@10.1.0: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.
#45 1.255 warning workspace-aggregator-3b69d004-5eda-4a80-9064-19d108a9f9ce > @cosmosc2/tool-limitsmonitor > babel-eslint@10.1.0: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.
#45 1.255 warning workspace-aggregator-3b69d004-5eda-4a80-9064-19d108a9f9ce > @cosmosc2/tool-packetviewer > babel-eslint@10.1.0: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.
#45 1.255 warning workspace-aggregator-3b69d004-5eda-4a80-9064-19d108a9f9ce > @cosmosc2/tool-scriptrunner > babel-eslint@10.1.0: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.
#45 1.255 warning workspace-aggregator-3b69d004-5eda-4a80-9064-19d108a9f9ce > @cosmosc2/tool-tablemanager > babel-eslint@10.1.0: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.
#45 1.255 warning workspace-aggregator-3b69d004-5eda-4a80-9064-19d108a9f9ce > @cosmosc2/tool-timeline > babel-eslint@10.1.0: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.
#45 1.256 warning workspace-aggregator-3b69d004-5eda-4a80-9064-19d108a9f9ce > @cosmosc2/tool-tlmgrapher > babel-eslint@10.1.0: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.
#45 1.256 warning workspace-aggregator-3b69d004-5eda-4a80-9064-19d108a9f9ce > @cosmosc2/tool-tlmviewer > babel-eslint@10.1.0: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.
#45 5.332 warning workspace-aggregator-3b69d004-5eda-4a80-9064-19d108a9f9ce > widgets_src > @vue/cli-plugin-eslint > eslint-loader@2.2.1: This loader has been deprecated. Please use eslint-webpack-plugin
#45 6.536 warning workspace-aggregator-3b69d004-5eda-4a80-9064-19d108a9f9ce > widgets_src > @vue/cli-service > html-webpack-plugin@3.2.0: 3.x is no longer supported
#45 7.680 warning workspace-aggregator-3b69d004-5eda-4a80-9064-19d108a9f9ce > widgets_src > @vue/cli-service > webpack-dev-server > chokidar@2.1.8: Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies
#45 13.71 warning workspace-aggregator-3b69d004-5eda-4a80-9064-19d108a9f9ce > widgets_src > @vue/cli > @vue/cli-shared-utils > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
#45 13.73 warning workspace-aggregator-3b69d004-5eda-4a80-9064-19d108a9f9ce > widgets_src > @vue/cli > @vue/cli-shared-utils > @hapi/joi@15.1.1: Switch to 'npm install joi'
#45 16.88 warning workspace-aggregator-3b69d004-5eda-4a80-9064-19d108a9f9ce > widgets_src > @vue/cli-service > webpack-dev-server > chokidar > fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
#45 17.78 warning workspace-aggregator-3b69d004-5eda-4a80-9064-19d108a9f9ce > widgets_src > webpack > watchpack > watchpack-chokidar2 > chokidar@2.1.8: Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies
#45 17.91 warning workspace-aggregator-3b69d004-5eda-4a80-9064-19d108a9f9ce > @cosmosc2/tool-autonomic > @vue/cli-plugin-unit-jest > babel-plugin-transform-es2015-modules-commonjs > babel-runtime > core-js@2.6.12: core-js@<3.4 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. Please, upgrade your dependencies to the actual version of core-js.
#45 18.22 warning workspace-aggregator-3b69d004-5eda-4a80-9064-19d108a9f9ce > @cosmosc2/tool-autonomic > @vue/cli-plugin-unit-jest > jest-environment-jsdom-fifteen > jsdom > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
#45 20.07 warning workspace-aggregator-3b69d004-5eda-4a80-9064-19d108a9f9ce > widgets_src > @vue/cli > @vue/cli-ui > apollo-server-express > graphql-tools@4.0.8: This package has been deprecated and now it only exports makeExecutableSchema.\nAnd it will no longer receive updates.\nWe recommend you to migrate to scoped packages such as @graphql-tools/schema, @graphql-tools/utils and etc.\nCheck out https://www.graphql-tools.com to learn what package you should use instead
#45 20.07 warning workspace-aggregator-3b69d004-5eda-4a80-9064-19d108a9f9ce > widgets_src > @vue/cli > @vue/cli-ui > apollo-server-express > apollo-server-core > graphql-tools@4.0.8: This package has been deprecated and now it only exports makeExecutableSchema.\nAnd it will no longer receive updates.\nWe recommend you to migrate to scoped packages such as @graphql-tools/schema, @graphql-tools/utils and etc.\nCheck out https://www.graphql-tools.com to learn what package you should use instead
#45 20.44 warning workspace-aggregator-3b69d004-5eda-4a80-9064-19d108a9f9ce > widgets_src > @vue/cli > @vue/cli-shared-utils > 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.
#45 20.44 warning workspace-aggregator-3b69d004-5eda-4a80-9064-19d108a9f9ce > widgets_src > @vue/cli-service > copy-webpack-plugin > webpack-log > 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.
#45 20.44 warning workspace-aggregator-3b69d004-5eda-4a80-9064-19d108a9f9ce > widgets_src > @vue/cli > @vue/cli-ui > apollo-server-express > graphql-tools > 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.
#45 21.05 warning workspace-aggregator-3b69d004-5eda-4a80-9064-19d108a9f9ce > widgets_src > @vue/cli > @vue/cli-shared-utils > request > har-validator@5.1.5: this library is no longer supported
#45 21.27 warning workspace-aggregator-3b69d004-5eda-4a80-9064-19d108a9f9ce > widgets_src > @vue/cli > @vue/cli-shared-utils > @hapi/joi > @hapi/address@2.1.4: Moved to 'npm install @sideway/address'
#45 21.49 warning workspace-aggregator-3b69d004-5eda-4a80-9064-19d108a9f9ce > widgets_src > @vue/cli > @vue/cli-shared-utils > @hapi/joi > @hapi/bourne@1.3.2: This version has been deprecated and is no longer supported or maintained
#45 21.50 warning workspace-aggregator-3b69d004-5eda-4a80-9064-19d108a9f9ce > widgets_src > @vue/cli > @vue/cli-shared-utils > @hapi/joi > @hapi/topo@3.1.6: This version has been deprecated and is no longer supported or maintained
#45 21.73 warning workspace-aggregator-3b69d004-5eda-4a80-9064-19d108a9f9ce > widgets_src > @vue/cli > @vue/cli-shared-utils > @hapi/joi > @hapi/hoek@8.5.1: This version has been deprecated and is no longer supported or maintained
#45 21.73 warning workspace-aggregator-3b69d004-5eda-4a80-9064-19d108a9f9ce > widgets_src > @vue/cli > @vue/cli-shared-utils > @hapi/joi > @hapi/topo > @hapi/hoek@8.5.1: This version has been deprecated and is no longer supported or maintained
#45 23.55 warning workspace-aggregator-3b69d004-5eda-4a80-9064-19d108a9f9ce > widgets_src > @vue/cli-service > webpack-dev-server > url > querystring@0.2.0: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
#45 24.23 warning workspace-aggregator-3b69d004-5eda-4a80-9064-19d108a9f9ce > widgets_src > webpack > micromatch > snapdragon > source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated
#45 24.91 warning workspace-aggregator-3b69d004-5eda-4a80-9064-19d108a9f9ce > @cosmosc2/tool-autonomic > @vue/cli-plugin-unit-jest > babel-jest > @jest/transform > jest-haste-map > fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
#45 25.05 warning workspace-aggregator-3b69d004-5eda-4a80-9064-19d108a9f9ce > @cosmosc2/tool-autonomic > @vue/cli-plugin-unit-jest > jest-environment-jsdom-fifteen > 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
#45 25.37 warning workspace-aggregator-3b69d004-5eda-4a80-9064-19d108a9f9ce > @cosmosc2/tool-autonomic > @vue/cli-plugin-unit-jest > vue-jest > extract-from-css > css > source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated
#45 26.29 warning workspace-aggregator-3b69d004-5eda-4a80-9064-19d108a9f9ce > widgets_src > @vue/cli > @vue/cli-ui > apollo-server-express > apollo-server-core > apollo-cache-control@0.14.0: The functionality provided by the `apollo-cache-control` package is built in to `apollo-server-core` starting with Apollo Server 3. See https://www.apollographql.com/docs/apollo-server/migration/#cachecontrol for details.
#45 26.36 warning workspace-aggregator-3b69d004-5eda-4a80-9064-19d108a9f9ce > widgets_src > @vue/cli > @vue/cli-ui > apollo-server-express > apollo-server-core > apollo-tracing@0.15.0: The `apollo-tracing` package is no longer part of Apollo Server 3. See https://www.apollographql.com/docs/apollo-server/migration/#tracing for details
#45 26.37 warning workspace-aggregator-3b69d004-5eda-4a80-9064-19d108a9f9ce > widgets_src > @vue/cli > @vue/cli-ui > apollo-server-express > apollo-server-core > graphql-extensions@0.15.0: The `graphql-extensions` API has been removed from Apollo Server 3. Use the plugin API instead: https://www.apollographql.com/docs/apollo-server/integrations/plugins/
#45 27.80 warning workspace-aggregator-3b69d004-5eda-4a80-9064-19d108a9f9ce > widgets_src > @vue/cli-service > @intervolga/optimize-cssnano-plugin > cssnano-preset-default > postcss-svgo > svgo@1.3.2: This SVGO version is no longer supported. Upgrade to v2.x.x.
#45 28.88 warning workspace-aggregator-3b69d004-5eda-4a80-9064-19d108a9f9ce > widgets_src > webpack > micromatch > snapdragon > source-map-resolve > resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
#45 28.88 warning workspace-aggregator-3b69d004-5eda-4a80-9064-19d108a9f9ce > widgets_src > webpack > micromatch > snapdragon > source-map-resolve > source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated
#45 29.23 warning workspace-aggregator-3b69d004-5eda-4a80-9064-19d108a9f9ce > widgets_src > webpack > micromatch > snapdragon > source-map-resolve > urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
#45 29.23 warning workspace-aggregator-3b69d004-5eda-4a80-9064-19d108a9f9ce > @cosmosc2/tool-autonomic > @vue/cli-plugin-unit-jest > vue-jest > extract-from-css > css > urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
#45 30.16 warning workspace-aggregator-3b69d004-5eda-4a80-9064-19d108a9f9ce > @cosmosc2/tool-autonomic > @vue/cli-plugin-unit-jest > babel-jest > @jest/transform > jest-haste-map > sane@4.1.0: some dependency vulnerabilities fixed, support for node < 10 dropped, and newer ECMAScript syntax/features added
#45 30.17 warning workspace-aggregator-3b69d004-5eda-4a80-9064-19d108a9f9ce > @cosmosc2/tool-autonomic > @vue/cli-plugin-unit-jest > jest > jest-cli > jest-config > jest-environment-jsdom > jsdom > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
#45 30.17 warning workspace-aggregator-3b69d004-5eda-4a80-9064-19d108a9f9ce > @cosmosc2/tool-autonomic > @vue/cli-plugin-unit-jest > jest > jest-cli > jest-config > 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
#45 32.98 warning workspace-aggregator-3b69d004-5eda-4a80-9064-19d108a9f9ce > @cosmosc2/tool-autonomic > @vue/cli-plugin-unit-jest > jest > jest-cli > jest-config > jest-environment-jsdom > jsdom > left-pad@1.3.0: use String.prototype.padStart()
#45 35.14 [2/4] Fetching packages...
#45 71.75 [3/4] Linking dependencies...
#45 71.75 warning "workspace-aggregator-3b69d004-5eda-4a80-9064-19d108a9f9ce > widgets_src > @vue/eslint-config-prettier@6.0.0" has incorrect peer dependency "eslint-plugin-prettier@^3.1.0".
#45 71.75 warning "workspace-aggregator-3b69d004-5eda-4a80-9064-19d108a9f9ce > widgets_src > @vue/babel-preset-app@4.5.15" has unmet peer dependency "@babel/core@*".
#45 71.75 warning "workspace-aggregator-3b69d004-5eda-4a80-9064-19d108a9f9ce > widgets_src > babel-loader@8.2.3" has unmet peer dependency "@babel/core@^7.0.0".
#45 71.75 warning "workspace-aggregator-3b69d004-5eda-4a80-9064-19d108a9f9ce > widgets_src > @vue/cli-plugin-eslint@4.5.15" has incorrect peer dependency "eslint@>= 1.6.0 < 7.0.0".
#45 71.75 warning "workspace-aggregator-3b69d004-5eda-4a80-9064-19d108a9f9ce > widgets_src > @vue/cli-plugin-eslint > eslint-loader@2.2.1" has incorrect peer dependency "eslint@>=1.6.0 <7.0.0".
#45 71.75 warning "workspace-aggregator-3b69d004-5eda-4a80-9064-19d108a9f9ce > @cosmosc2/tool-admin > vue-cli-plugin-single-spa > standalone-single-spa-webpack-plugin@3.0.0" has unmet peer dependency "html-webpack-plugin@*".
#45 84.91 [4/4] Building fresh packages...
#45 87.09 error /cosmos/plugins/node_modules/deasync: Command failed.
#45 87.09 Exit code: 1
#45 87.09 Command: node ./build.js
#45 87.09 Arguments: 
#45 87.09 Directory: /cosmos/plugins/node_modules/deasync
#45 87.09 Output:
#45 87.09 node:events:498
#45 87.09       throw er; // Unhandled 'error' event
#45 87.09       ^
#45 87.09 
#45 87.09 Error: spawn node-gyp ENOENT
#45 87.09     at Process.ChildProcess._handle.onexit (node:internal/child_process:283:19)
#45 87.09     at onErrorNT (node:internal/child_process:478:16)
#45 87.09     at processTicksAndRejections (node:internal/process/task_queues:83:21)
#45 87.09 Emitted 'error' event on ChildProcess instance at:
#45 87.09     at Process.ChildProcess._handle.onexit (node:internal/child_process:289:12)
#45 87.09     at onErrorNT (node:internal/child_process:478:16)
#45 87.09     at processTicksAndRejections (node:internal/process/task_queues:83:21) {
#45 87.09   errno: -2,
#45 87.09   code: 'ENOENT',
#45 87.09   syscall: 'spawn node-gyp',
#45 87.09   path: 'node-gyp',
#45 87.09   spawnargs: [ 'rebuild' ]
#45 87.09 }
#45 87.09 info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
------
failed to solve: rpc error: code = Unknown desc = executor failed running [/bin/sh -c yarn config set registry $NPM_URL && yarn]: exit code: 1

Environment:

ghost commented 2 years ago

This bug snuck back in. Basically if we include jest as a dependency it starts wanting to build things on ARM and I think that fails because we don't have node-gyp as a dependency. In any case, we aren't using jest, so I removed it again. Should build on M1 macs now.

m8rmclaren commented 2 years ago

Apologies for continuing to reopen this, we have a team working to get an actual server up and running to run COSMOS so those with M1's can avoid problems. The current Docker image is experiencing the same dependency problem detailed here. Please see the following build error:

------
 > [ballaerospace/cosmosc2-init:latest cosmos-frontend-tmp 20/24] RUN yarn config set registry https://registry.npmjs.org && yarn:
#44 0.408 yarn config v1.22.17
#44 0.427 success Set "registry" to "https://registry.npmjs.org".
#44 0.427 Done in 0.02s.
#44 0.552 yarn install v1.22.17
#44 0.580 info No lockfile found.
#44 0.648 [1/4] Resolving packages...
#44 1.755 warning workspace-aggregator-bcbb0ed0-8e08-49a2-819c-f87228dbd83f > widgets_src > babel-eslint@10.1.0: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.
#44 1.756 warning workspace-aggregator-bcbb0ed0-8e08-49a2-819c-f87228dbd83f > @cosmosc2/tool-admin > babel-eslint@10.1.0: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.
#44 1.756 warning workspace-aggregator-bcbb0ed0-8e08-49a2-819c-f87228dbd83f > @cosmosc2/tool-autonomic > babel-eslint@10.1.0: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.
#44 1.756 warning workspace-aggregator-bcbb0ed0-8e08-49a2-819c-f87228dbd83f > @cosmosc2/tool-calendar > babel-eslint@10.1.0: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.
#44 1.757 warning workspace-aggregator-bcbb0ed0-8e08-49a2-819c-f87228dbd83f > @cosmosc2/tool-cmdsender > babel-eslint@10.1.0: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.
#44 1.757 warning workspace-aggregator-bcbb0ed0-8e08-49a2-819c-f87228dbd83f > @cosmosc2/tool-cmdtlmserver > babel-eslint@10.1.0: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.
#44 1.757 warning workspace-aggregator-bcbb0ed0-8e08-49a2-819c-f87228dbd83f > @cosmosc2/tool-dataextractor > babel-eslint@10.1.0: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.
#44 1.757 warning workspace-aggregator-bcbb0ed0-8e08-49a2-819c-f87228dbd83f > @cosmosc2/tool-dataviewer > babel-eslint@10.1.0: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.
#44 1.757 warning workspace-aggregator-bcbb0ed0-8e08-49a2-819c-f87228dbd83f > @cosmosc2/tool-limitsmonitor > babel-eslint@10.1.0: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.
#44 1.757 warning workspace-aggregator-bcbb0ed0-8e08-49a2-819c-f87228dbd83f > @cosmosc2/tool-packetviewer > babel-eslint@10.1.0: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.
#44 1.757 warning workspace-aggregator-bcbb0ed0-8e08-49a2-819c-f87228dbd83f > @cosmosc2/tool-scriptrunner > babel-eslint@10.1.0: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.
#44 1.757 warning workspace-aggregator-bcbb0ed0-8e08-49a2-819c-f87228dbd83f > @cosmosc2/tool-tablemanager > babel-eslint@10.1.0: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.
#44 1.757 warning workspace-aggregator-bcbb0ed0-8e08-49a2-819c-f87228dbd83f > @cosmosc2/tool-tlmgrapher > babel-eslint@10.1.0: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.
#44 1.757 warning workspace-aggregator-bcbb0ed0-8e08-49a2-819c-f87228dbd83f > @cosmosc2/tool-tlmviewer > babel-eslint@10.1.0: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.
#44 5.381 warning workspace-aggregator-bcbb0ed0-8e08-49a2-819c-f87228dbd83f > widgets_src > @vue/cli-service > html-webpack-plugin@3.2.0: 3.x is no longer supported
#44 5.854 warning workspace-aggregator-bcbb0ed0-8e08-49a2-819c-f87228dbd83f > widgets_src > @vue/cli-plugin-eslint > eslint-loader@2.2.1: This loader has been deprecated. Please use eslint-webpack-plugin
#44 6.810 warning workspace-aggregator-bcbb0ed0-8e08-49a2-819c-f87228dbd83f > widgets_src > @vue/cli-service > webpack-dev-server > chokidar@2.1.8: Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies
#44 8.654 warning workspace-aggregator-bcbb0ed0-8e08-49a2-819c-f87228dbd83f > widgets_src > @vue/cli-plugin-babel > @vue/cli-shared-utils > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
#44 8.964 warning workspace-aggregator-bcbb0ed0-8e08-49a2-819c-f87228dbd83f > widgets_src > @vue/cli-plugin-babel > @vue/cli-shared-utils > @hapi/joi@15.1.1: Switch to 'npm install joi'
#44 13.15 warning workspace-aggregator-bcbb0ed0-8e08-49a2-819c-f87228dbd83f > widgets_src > @vue/cli-service > webpack-dev-server > chokidar > fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
#44 13.58 warning workspace-aggregator-bcbb0ed0-8e08-49a2-819c-f87228dbd83f > widgets_src > webpack > watchpack > watchpack-chokidar2 > chokidar@2.1.8: Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies
#44 13.98 warning workspace-aggregator-bcbb0ed0-8e08-49a2-819c-f87228dbd83f > @cosmosc2/tool-calendar > @vue/cli-plugin-unit-jest > babel-plugin-transform-es2015-modules-commonjs > babel-runtime > core-js@2.6.12: core-js@<3.4 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. Please, upgrade your dependencies to the actual version of core-js.
#44 14.28 warning workspace-aggregator-bcbb0ed0-8e08-49a2-819c-f87228dbd83f > @cosmosc2/tool-calendar > @vue/cli-plugin-unit-jest > jest-environment-jsdom-fifteen > jsdom > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
#44 15.06 warning workspace-aggregator-bcbb0ed0-8e08-49a2-819c-f87228dbd83f > widgets_src > @vue/cli-plugin-babel > @vue/cli-shared-utils > request > har-validator@5.1.5: this library is no longer supported
#44 15.31 warning workspace-aggregator-bcbb0ed0-8e08-49a2-819c-f87228dbd83f > widgets_src > @vue/cli-plugin-babel > @vue/cli-shared-utils > 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.
#44 15.31 warning workspace-aggregator-bcbb0ed0-8e08-49a2-819c-f87228dbd83f > widgets_src > @vue/cli-service > copy-webpack-plugin > webpack-log > 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.
#44 15.76 warning workspace-aggregator-bcbb0ed0-8e08-49a2-819c-f87228dbd83f > widgets_src > @vue/cli-plugin-babel > @vue/cli-shared-utils > @hapi/joi > @hapi/hoek@8.5.1: This version has been deprecated and is no longer supported or maintained
#44 15.83 warning workspace-aggregator-bcbb0ed0-8e08-49a2-819c-f87228dbd83f > widgets_src > @vue/cli-plugin-babel > @vue/cli-shared-utils > @hapi/joi > @hapi/topo@3.1.6: This version has been deprecated and is no longer supported or maintained
#44 15.83 warning workspace-aggregator-bcbb0ed0-8e08-49a2-819c-f87228dbd83f > widgets_src > @vue/cli-plugin-babel > @vue/cli-shared-utils > @hapi/joi > @hapi/topo > @hapi/hoek@8.5.1: This version has been deprecated and is no longer supported or maintained
#44 15.84 warning workspace-aggregator-bcbb0ed0-8e08-49a2-819c-f87228dbd83f > widgets_src > @vue/cli-plugin-babel > @vue/cli-shared-utils > @hapi/joi > @hapi/address@2.1.4: Moved to 'npm install @sideway/address'
#44 15.89 warning workspace-aggregator-bcbb0ed0-8e08-49a2-819c-f87228dbd83f > widgets_src > @vue/cli-plugin-babel > @vue/cli-shared-utils > @hapi/joi > @hapi/bourne@1.3.2: This version has been deprecated and is no longer supported or maintained
#44 16.49 warning workspace-aggregator-bcbb0ed0-8e08-49a2-819c-f87228dbd83f > widgets_src > @vue/cli > @vue/cli-ui > apollo-server-express > subscriptions-transport-ws@0.9.19: The `subscriptions-transport-ws` package is no longer maintained. We recommend you use `graphql-ws` instead. For help migrating Apollo software to `graphql-ws`, see https://www.apollographql.com/docs/apollo-server/data/subscriptions/#switching-from-subscriptions-transport-ws    For general help using `graphql-ws`, see https://github.com/enisdenjo/graphql-ws/blob/master/README.md
#44 16.49 warning workspace-aggregator-bcbb0ed0-8e08-49a2-819c-f87228dbd83f > widgets_src > @vue/cli > @vue/cli-ui > apollo-server-express > apollo-server-core > subscriptions-transport-ws@0.9.19: The `subscriptions-transport-ws` package is no longer maintained. We recommend you use `graphql-ws` instead. For help migrating Apollo software to `graphql-ws`, see https://www.apollographql.com/docs/apollo-server/data/subscriptions/#switching-from-subscriptions-transport-ws    For general help using `graphql-ws`, see https://github.com/enisdenjo/graphql-ws/blob/master/README.md
#44 18.47 warning workspace-aggregator-bcbb0ed0-8e08-49a2-819c-f87228dbd83f > widgets_src > @vue/cli > @vue/cli-ui > apollo-server-express > graphql-tools@4.0.8: This package has been deprecated and now it only exports makeExecutableSchema.\nAnd it will no longer receive updates.\nWe recommend you to migrate to scoped packages such as @graphql-tools/schema, @graphql-tools/utils and etc.\nCheck out https://www.graphql-tools.com to learn what package you should use instead
#44 18.47 warning workspace-aggregator-bcbb0ed0-8e08-49a2-819c-f87228dbd83f > widgets_src > @vue/cli > @vue/cli-ui > apollo-server-express > apollo-server-core > graphql-tools@4.0.8: This package has been deprecated and now it only exports makeExecutableSchema.\nAnd it will no longer receive updates.\nWe recommend you to migrate to scoped packages such as @graphql-tools/schema, @graphql-tools/utils and etc.\nCheck out https://www.graphql-tools.com to learn what package you should use instead
#44 18.47 warning workspace-aggregator-bcbb0ed0-8e08-49a2-819c-f87228dbd83f > widgets_src > @vue/cli > @vue/cli-ui > apollo-server-express > graphql-tools > 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.
#44 19.09 warning workspace-aggregator-bcbb0ed0-8e08-49a2-819c-f87228dbd83f > widgets_src > @vue/cli-service > webpack-dev-server > url > querystring@0.2.0: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
#44 19.65 warning workspace-aggregator-bcbb0ed0-8e08-49a2-819c-f87228dbd83f > widgets_src > webpack > micromatch > snapdragon > source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated
#44 20.54 warning workspace-aggregator-bcbb0ed0-8e08-49a2-819c-f87228dbd83f > @cosmosc2/tool-calendar > @vue/cli-plugin-unit-jest > babel-jest > @jest/transform > jest-haste-map > fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
#44 20.87 warning workspace-aggregator-bcbb0ed0-8e08-49a2-819c-f87228dbd83f > @cosmosc2/tool-calendar > @vue/cli-plugin-unit-jest > jest-environment-jsdom-fifteen > 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
#44 20.87 warning workspace-aggregator-bcbb0ed0-8e08-49a2-819c-f87228dbd83f > @cosmosc2/tool-calendar > @vue/cli-plugin-unit-jest > vue-jest > extract-from-css > css > source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated
#44 21.78 warning workspace-aggregator-bcbb0ed0-8e08-49a2-819c-f87228dbd83f > widgets_src > @vue/cli > @vue/cli-ui > apollo-server-express > apollo-server-core > apollo-cache-control@0.14.0: The functionality provided by the `apollo-cache-control` package is built in to `apollo-server-core` starting with Apollo Server 3. See https://www.apollographql.com/docs/apollo-server/migration/#cachecontrol for details.
#44 21.99 warning workspace-aggregator-bcbb0ed0-8e08-49a2-819c-f87228dbd83f > widgets_src > @vue/cli > @vue/cli-ui > apollo-server-express > apollo-server-core > apollo-tracing@0.15.0: The `apollo-tracing` package is no longer part of Apollo Server 3. See https://www.apollographql.com/docs/apollo-server/migration/#tracing for details
#44 22.01 warning workspace-aggregator-bcbb0ed0-8e08-49a2-819c-f87228dbd83f > widgets_src > @vue/cli > @vue/cli-ui > apollo-server-express > apollo-server-core > graphql-extensions@0.15.0: The `graphql-extensions` API has been removed from Apollo Server 3. Use the plugin API instead: https://www.apollographql.com/docs/apollo-server/integrations/plugins/
#44 23.02 warning workspace-aggregator-bcbb0ed0-8e08-49a2-819c-f87228dbd83f > widgets_src > @vue/cli-service > @intervolga/optimize-cssnano-plugin > cssnano-preset-default > postcss-svgo > svgo@1.3.2: This SVGO version is no longer supported. Upgrade to v2.x.x.
#44 23.70 warning workspace-aggregator-bcbb0ed0-8e08-49a2-819c-f87228dbd83f > widgets_src > webpack > micromatch > snapdragon > source-map-resolve > resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
#44 23.72 warning workspace-aggregator-bcbb0ed0-8e08-49a2-819c-f87228dbd83f > widgets_src > webpack > micromatch > snapdragon > source-map-resolve > urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
#44 23.72 warning workspace-aggregator-bcbb0ed0-8e08-49a2-819c-f87228dbd83f > @cosmosc2/tool-calendar > @vue/cli-plugin-unit-jest > vue-jest > extract-from-css > css > urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
#44 23.73 warning workspace-aggregator-bcbb0ed0-8e08-49a2-819c-f87228dbd83f > widgets_src > webpack > micromatch > snapdragon > source-map-resolve > source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated
#44 24.26 warning workspace-aggregator-bcbb0ed0-8e08-49a2-819c-f87228dbd83f > @cosmosc2/tool-calendar > @vue/cli-plugin-unit-jest > jest > jest-cli > jest-config > jest-environment-jsdom > jsdom > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
#44 24.26 warning workspace-aggregator-bcbb0ed0-8e08-49a2-819c-f87228dbd83f > @cosmosc2/tool-calendar > @vue/cli-plugin-unit-jest > jest > jest-cli > jest-config > 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
#44 24.46 warning workspace-aggregator-bcbb0ed0-8e08-49a2-819c-f87228dbd83f > @cosmosc2/tool-calendar > @vue/cli-plugin-unit-jest > babel-jest > @jest/transform > jest-haste-map > sane@4.1.0: some dependency vulnerabilities fixed, support for node < 10 dropped, and newer ECMAScript syntax/features added
#44 27.61 warning workspace-aggregator-bcbb0ed0-8e08-49a2-819c-f87228dbd83f > @cosmosc2/tool-calendar > @vue/cli-plugin-unit-jest > jest > jest-cli > jest-config > jest-environment-jsdom > jsdom > left-pad@1.3.0: use String.prototype.padStart()
#44 30.20 [2/4] Fetching packages...
#44 65.80 [3/4] Linking dependencies...
#44 65.80 warning "workspace-aggregator-bcbb0ed0-8e08-49a2-819c-f87228dbd83f > widgets_src > @vue/babel-preset-app@4.5.15" has unmet peer dependency "@babel/core@*".
#44 65.80 warning "workspace-aggregator-bcbb0ed0-8e08-49a2-819c-f87228dbd83f > widgets_src > @vue/eslint-config-prettier@6.0.0" has incorrect peer dependency "eslint-plugin-prettier@^3.1.0".
#44 65.80 warning "workspace-aggregator-bcbb0ed0-8e08-49a2-819c-f87228dbd83f > widgets_src > babel-loader@8.2.3" has unmet peer dependency "@babel/core@^7.0.0".
#44 65.80 warning "workspace-aggregator-bcbb0ed0-8e08-49a2-819c-f87228dbd83f > widgets_src > @vue/cli-plugin-eslint@4.5.15" has incorrect peer dependency "eslint@>= 1.6.0 < 7.0.0".
#44 65.81 warning "workspace-aggregator-bcbb0ed0-8e08-49a2-819c-f87228dbd83f > widgets_src > @vue/cli-plugin-eslint > eslint-loader@2.2.1" has incorrect peer dependency "eslint@>=1.6.0 <7.0.0".
#44 65.81 warning "workspace-aggregator-bcbb0ed0-8e08-49a2-819c-f87228dbd83f > @cosmosc2/tool-admin > vue-cli-plugin-single-spa > standalone-single-spa-webpack-plugin@3.0.0" has unmet peer dependency "html-webpack-plugin@*".
#44 78.95 [4/4] Building fresh packages...
#44 81.63 info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
#44 81.63 error /cosmos/plugins/node_modules/deasync: Command failed.
#44 81.63 Exit code: 1
#44 81.63 Command: node ./build.js
#44 81.63 Arguments: 
#44 81.63 Directory: /cosmos/plugins/node_modules/deasync
#44 81.63 Output:
#44 81.63 node:events:498
#44 81.63       throw er; // Unhandled 'error' event
#44 81.63       ^
#44 81.63 
#44 81.63 Error: spawn node-gyp ENOENT
#44 81.63     at Process.ChildProcess._handle.onexit (node:internal/child_process:283:19)
#44 81.63     at onErrorNT (node:internal/child_process:478:16)
#44 81.63     at processTicksAndRejections (node:internal/process/task_queues:83:21)
#44 81.63 Emitted 'error' event on ChildProcess instance at:
#44 81.63     at Process.ChildProcess._handle.onexit (node:internal/child_process:289:12)
#44 81.63     at onErrorNT (node:internal/child_process:478:16)
#44 81.63     at processTicksAndRejections (node:internal/process/task_queues:83:21) {
#44 81.63   errno: -2,
#44 81.63   code: 'ENOENT',
#44 81.63   syscall: 'spawn node-gyp',
#44 81.63   path: 'node-gyp',
#44 81.63   spawnargs: [ 'rebuild' ]
#44 81.63 }
------
failed to solve: rpc error: code = Unknown desc = executor failed running [/bin/sh -c yarn config set registry $NPM_URL && yarn]: exit code: 1

Thanks so much for being so supportive.

ghost commented 2 years ago

I'm sorry this keeps breaking. The problem is caused by requiring jest in a package.json file. I think I have all those removed again, please try again on the current master.