zarkones / XENA

XENA is Corss-Platform Software for Cyber-Security Automation, Adversary Simulations, and Red Team Operations. XENA strives to be fully integrated security penetration testing framework. It is equipped with a post-exploitation agent, C2 server, and a dark-themed elegant user interface.
https://xena.network
Other
254 stars 43 forks source link

Another issue on run setup.sh #41

Closed carabistouflette closed 2 years ago

carabistouflette commented 2 years ago

So i basically have always the same error when i run setup.sh

Error response from daemon: network with name xena already exists
docker: Error response from daemon: Conflict. The container name "/xena-atila-postgres" is already in use by container "67908ed3281df4f70d154e3d9df4e4cce1e13783145174b85ae67044476168dc". You have to remove (or rename) that container to be able to reuse that name.
See 'docker run --help'.
Sending build context to Docker daemon  159.7kB
Step 1/30 : FROM node:16-alpine as builder
 ---> 0e1547c0f4a4
Step 2/30 : RUN apk add --no-cache git
 ---> Using cache
 ---> 5cd8b54fc8f8
Step 3/30 : WORKDIR /home/node
 ---> Using cache
 ---> 9f00ea9f2e4a
Step 4/30 : COPY package.json ./
 ---> Using cache
 ---> 8861082d9b21
Step 5/30 : RUN yarn install
 ---> Using cache
 ---> 4423052dfd0c
Step 6/30 : COPY . .
 ---> Using cache
 ---> 19d05a6b15f6
Step 7/30 : RUN yarn build
 ---> Using cache
 ---> cb1820e26d5a
Step 8/30 : FROM node:16-alpine as installer
 ---> 0e1547c0f4a4
Step 9/30 : RUN apk add --no-cache git
 ---> Using cache
 ---> 5cd8b54fc8f8
Step 10/30 : WORKDIR /home/node
 ---> Using cache
 ---> 9f00ea9f2e4a
Step 11/30 : COPY package.json ./
 ---> Using cache
 ---> 8861082d9b21
Step 12/30 : RUN yarn install --prod=true --frozen-lockfile
 ---> Using cache
 ---> aed4ecf97d12
Step 13/30 : FROM node:16-alpine
 ---> 0e1547c0f4a4
Step 14/30 : ENV NODE_ENV production
 ---> Using cache
 ---> 261d510d8d88
Step 15/30 : ENV DB_CONNECTION pg
 ---> Using cache
 ---> a788c30f5395
Step 16/30 : ENV PG_PORT 5432
 ---> Using cache
 ---> d5fa82d0abdf
Step 17/30 : ENV PG_USER postgres
 ---> Using cache
 ---> cedcfff2337e
Step 18/30 : ENV PG_DB_NAME xena-atila
 ---> Using cache
 ---> a5684157b4f7
Step 19/30 : ENV DRIVE_DISK local
 ---> Using cache
 ---> 8bafee146e5b
Step 20/30 : ENV ENV_SILENT true
 ---> Using cache
 ---> 3b020dc8255d
Step 21/30 : ENV HOST 0.0.0.0
 ---> Using cache
 ---> e98071004af0
Step 22/30 : ENV PORT 60666
 ---> Using cache
 ---> d86ced70f8f4
Step 23/30 : USER node
 ---> Using cache
 ---> d4ffb91cf824
Step 24/30 : RUN mkdir -p /home/node/app/
 ---> Using cache
 ---> 0bbb1c35ba8e
Step 25/30 : WORKDIR /home/node/app
 ---> Using cache
 ---> 5fbf1fd9dc8d
Step 26/30 : COPY --from=builder /home/node/build ./build
 ---> Using cache
 ---> 12c18d69aef8
Step 27/30 : COPY --from=installer /home/node/node_modules ./node_modules
 ---> Using cache
 ---> 92bbd8609980
Step 28/30 : COPY package.json ./
 ---> Using cache
 ---> 3db0f1f9e068
Step 29/30 : EXPOSE 60666
 ---> Using cache
 ---> 7cf51b339fac
Step 30/30 : CMD [ "node", "./build/server.js" ]
 ---> Using cache
 ---> 0694cd47738c
Successfully built 0694cd47738c
Successfully tagged xena-service-atila:latest
docker: Error response from daemon: Conflict. The container name "/xena-atila" is already in use by container "67c5a0c407a43c7c32801a6ecb4da82c57147ceba1d51f388e9adb6f9e0f6ee6". You have to remove (or rename) that container to be able to reuse that name.
See 'docker run --help'.
Error response from daemon: Container 67c5a0c407a43c7c32801a6ecb4da82c57147ceba1d51f388e9adb6f9e0f6ee6 is not running
docker: Error response from daemon: Conflict. The container name "/xena-pyramid-postgres" is already in use by container "bfba86fd7664c8f0a5139f6a6ba3e48ec1a1a2723ac83abd49de22e7155a96aa". You have to remove (or rename) that container to be able to reuse that name.
See 'docker run --help'.
Sending build context to Docker daemon  141.8kB
Step 1/32 : FROM node:16-alpine as builder
 ---> 0e1547c0f4a4
Step 2/32 : RUN apk add --no-cache git
 ---> Using cache
 ---> 5cd8b54fc8f8
Step 3/32 : WORKDIR /home/node
 ---> Using cache
 ---> 9f00ea9f2e4a
Step 4/32 : COPY package*.json ./
 ---> Using cache
 ---> 816861e48509
Step 5/32 : RUN yarn install
 ---> Using cache
 ---> 9b8c304f04c0
Step 6/32 : COPY . .
 ---> Using cache
 ---> 9d5e5c95cbb8
Step 7/32 : RUN yarn build
 ---> Using cache
 ---> e9de3d1d8149
Step 8/32 : FROM node:16-alpine as installer
 ---> 0e1547c0f4a4
Step 9/32 : RUN apk add --no-cache git
 ---> Using cache
 ---> 5cd8b54fc8f8
Step 10/32 : WORKDIR /home/node
 ---> Using cache
 ---> 9f00ea9f2e4a
Step 11/32 : COPY package*.json ./
 ---> Using cache
 ---> 816861e48509
Step 12/32 : RUN yarn install --prod=true --frozen-lockfile
 ---> Using cache
 ---> ae922616f5a3
Step 13/32 : FROM node:16-alpine
 ---> 0e1547c0f4a4
Step 14/32 : ENV NODE_ENV production
 ---> Using cache
 ---> 261d510d8d88
Step 15/32 : ENV DB_CONNECTION pg
 ---> Using cache
 ---> a788c30f5395
Step 16/32 : ENV PG_PORT 5432
 ---> Using cache
 ---> d5fa82d0abdf
Step 17/32 : ENV PG_USER postgres
 ---> Using cache
 ---> cedcfff2337e
Step 18/32 : ENV PG_DB_NAME xena-pyramid
 ---> Using cache
 ---> e7e3c5e2d9c7
Step 19/32 : ENV DRIVE_DISK local
 ---> Using cache
 ---> 671da805b541
Step 20/32 : ENV ENV_SILENT true
 ---> Using cache
 ---> 62b7846cd111
Step 21/32 : ENV HOST 0.0.0.0
 ---> Using cache
 ---> c7da01b7f4c0
Step 22/32 : ENV PORT 60667
 ---> Using cache
 ---> 3d9b5062dd9c
Step 23/32 : ENV BUILD_DESTINATION ./xena-pyramid-software-builds/
 ---> Using cache
 ---> 58bb336ed80e
Step 24/32 : RUN apk update && apk add git go
 ---> Using cache
 ---> b98147e557f1
Step 25/32 : USER node
 ---> Using cache
 ---> 02472e95e7fc
Step 26/32 : RUN mkdir -p /home/node/app/
 ---> Using cache
 ---> a17b03649c7d
Step 27/32 : WORKDIR /home/node/app
 ---> Using cache
 ---> 3636779b9c9e
Step 28/32 : COPY --from=builder /home/node/build ./build
 ---> Using cache
 ---> 7fa4b0cdc475
Step 29/32 : COPY --from=installer /home/node/node_modules ./build/node_modules
 ---> Using cache
 ---> 2384c4c987e4
Step 30/32 : COPY package*.json ./build
 ---> Using cache
 ---> b5a4edeeebb3
Step 31/32 : EXPOSE 60667
 ---> Using cache
 ---> d5a0e79f03e3
Step 32/32 : CMD [ "node", "./build/server.js" ]
 ---> Using cache
 ---> cfade54bb23c
Successfully built cfade54bb23c
Successfully tagged xena-service-pyramid:latest
docker: Error response from daemon: Conflict. The container name "/xena-pyramid" is already in use by container "d7e7cbcad553a76206ae4dd851ce4c5fcec33b04b512373afa4674c80ce4c1a2". You have to remove (or rename) that container to be able to reuse that name.
See 'docker run --help'.
Error response from daemon: Container d7e7cbcad553a76206ae4dd851ce4c5fcec33b04b512373afa4674c80ce4c1a2 is not running
docker: Error response from daemon: Conflict. The container name "/xena-domena-postgres" is already in use by container "dcdc0f18e5d9adbeadb00dc967eec173ea53410f9997acf89cbeadc8946a5e83". You have to remove (or rename) that container to be able to reuse that name.
See 'docker run --help'.
Sending build context to Docker daemon  100.9kB
Step 1/30 : FROM node:16-alpine as builder
 ---> 0e1547c0f4a4
Step 2/30 : RUN apk add --no-cache git
 ---> Using cache
 ---> 5cd8b54fc8f8
Step 3/30 : WORKDIR /home/node
 ---> Using cache
 ---> 9f00ea9f2e4a
Step 4/30 : COPY package.json ./
 ---> Using cache
 ---> b4f136614af6
Step 5/30 : RUN yarn install
 ---> Using cache
 ---> e0b5fcac9f5f
Step 6/30 : COPY . .
 ---> Using cache
 ---> 81588ff71d16
Step 7/30 : RUN yarn build
 ---> Using cache
 ---> 2a650d3048c9
Step 8/30 : FROM node:16-alpine as installer
 ---> 0e1547c0f4a4
Step 9/30 : RUN apk add --no-cache git
 ---> Using cache
 ---> 5cd8b54fc8f8
Step 10/30 : WORKDIR /home/node
 ---> Using cache
 ---> 9f00ea9f2e4a
Step 11/30 : COPY package.json ./
 ---> Using cache
 ---> b4f136614af6
Step 12/30 : RUN yarn install --prod=true --frozen-lockfile
 ---> Using cache
 ---> 74eba5492edf
Step 13/30 : FROM node:16-alpine
 ---> 0e1547c0f4a4
Step 14/30 : ENV NODE_ENV production
 ---> Using cache
 ---> 261d510d8d88
Step 15/30 : ENV DB_CONNECTION pg
 ---> Using cache
 ---> a788c30f5395
Step 16/30 : ENV PG_PORT 5432
 ---> Using cache
 ---> d5fa82d0abdf
Step 17/30 : ENV PG_USER postgres
 ---> Using cache
 ---> cedcfff2337e
Step 18/30 : ENV PG_DB_NAME xena-domena
 ---> Using cache
 ---> c781a9e5a68d
Step 19/30 : ENV DRIVE_DISK local
 ---> Using cache
 ---> c5d2aa57b89c
Step 20/30 : ENV ENV_SILENT true
 ---> Using cache
 ---> 3a86185cab35
Step 21/30 : ENV HOST 0.0.0.0
 ---> Using cache
 ---> eb7be060a991
Step 22/30 : ENV PORT 60798
 ---> Using cache
 ---> 80adda3c8ba4
Step 23/30 : USER node
 ---> Using cache
 ---> af2c4f12a223
Step 24/30 : RUN mkdir -p /home/node/app/
 ---> Using cache
 ---> 610e9221f003
Step 25/30 : WORKDIR /home/node/app
 ---> Using cache
 ---> 2d8a8af2ce43
Step 26/30 : COPY --from=builder /home/node/build ./build
 ---> Using cache
 ---> 22d452151995
Step 27/30 : COPY --from=installer /home/node/node_modules ./node_modules
 ---> Using cache
 ---> 6c7ed1529629
Step 28/30 : COPY package.json ./
 ---> Using cache
 ---> 9b1e22c80baf
Step 29/30 : EXPOSE 60798
 ---> Using cache
 ---> ab63f0e50397
Step 30/30 : CMD [ "node", "./build/server.js" ]
 ---> Using cache
 ---> 65b3aba44aa5
Successfully built 65b3aba44aa5
Successfully tagged xena-service-domena:latest
docker: Error response from daemon: Conflict. The container name "/xena-domena" is already in use by container "75b5232377fa26a7a276ecc2c595ead7d4ca2a6e1aa71fbb55744d2d3a9a7d74". You have to remove (or rename) that container to be able to reuse that name.
See 'docker run --help'.
Error response from daemon: Container 75b5232377fa26a7a276ecc2c595ead7d4ca2a6e1aa71fbb55744d2d3a9a7d74 is not running
Sending build context to Docker daemon  18.94kB
Step 1/6 : FROM golang:1.17.0-alpine
 ---> 5a6ac0d9a8df
Step 2/6 : RUN mkdir /app
 ---> Using cache
 ---> 6f080fe538d3
Step 3/6 : ADD . /app
 ---> Using cache
 ---> 0e835f317b4d
Step 4/6 : WORKDIR /app
 ---> Using cache
 ---> c276d64b3906
Step 5/6 : RUN go build -ldflags="-w -s" -o main .
 ---> Running in 444cb1988e0f
# main
./atila.go:18:42: undefined: atilaHost
./atila.go:64:41: undefined: atilaHost
./atila.go:109:42: undefined: atilaHost
./atila.go:155:42: undefined: atilaHost
./domena.go:18:42: undefined: domenaHost
./main.go:12:33: undefined: port
The command '/bin/sh -c go build -ldflags="-w -s" -o main .' returned a non-zero code: 2
Sending build context to Docker daemon  6.976MB
Step 1/12 : FROM node:16-alpine
 ---> 0e1547c0f4a4
Step 2/12 : RUN mkdir -p /usr/src/xena-service-face
 ---> Using cache
 ---> 99d288115112
Step 3/12 : WORKDIR /usr/src/xena-service-face
 ---> Using cache
 ---> 436a44f5c70b
Step 4/12 : RUN apk update && apk upgrade
 ---> Using cache
 ---> 3eaa8087fe18
Step 5/12 : RUN apk add git
 ---> Using cache
 ---> 8bd91be42345
Step 6/12 : COPY . /usr/src/xena-service-face/
 ---> Using cache
 ---> 50aaa88a7d91
Step 7/12 : RUN npm install
 ---> Using cache
 ---> 0748ce2b6fa9
Step 8/12 : RUN npm run build
 ---> Running in dbe3833ef67f

> xena-face@1.0.0 build
> nuxt build

 WARN  webpack@5.69.1 is installed but ^4.46.0 is expected

 WARN  No .env file found in /usr/src/xena-service-face.

ℹ Production build
ℹ Bundling only for client side
ℹ Target: static
ℹ Using components loader to optimize imports
ℹ Discovered Components: .nuxt/components/readme.md
✔ Builder initialized
✔ Nuxt files generated

 FATAL  Rule can only have one resource source (provided resource and test + include + exclude) in {
  "use": [
    {
      "loader": "/usr/src/xena-service-face/node_modules/babel-loader/lib/index.js",
      "options": {
        "configFile": false,
        "babelrc": false,
        "cacheDirectory": false,
        "envName": "client",
        "presets": [
          [
            "/usr/src/xena-service-face/node_modules/@nuxt/babel-preset-app/src/index.js",
            {
              "corejs": {
                "version": 3
              }
            }
          ]
        ]
      },
      "ident": "clonedRuleSet-4[0].rules[0].use[0]"
    }
  ]
}

  "use": [
  {
  "loader": "node_modules/babel-loader/lib/index.js",
  "options": {
  "configFile": false,
  "babelrc": false,
  "cacheDirectory": false,
  "envName": "client",
  "presets": [
  [
  "node_modules/@nuxt/babel-preset-app/src/index.js",
  {
  "corejs": {
  "version": 3
  }
  }
  ]
  ]
  },
  "ident": "clonedRuleSet-4[0].rules[0].use[0]"
  }
  ]
  }
  at checkResourceSource (node_modules/@nuxt/webpack/node_modules/webpack/lib/RuleSet.js:167:11)
  at Function.normalizeRule (node_modules/@nuxt/webpack/node_modules/webpack/lib/RuleSet.js:198:4)
  at node_modules/@nuxt/webpack/node_modules/webpack/lib/RuleSet.js:110:20
  at Array.map (<anonymous>)
  at Function.normalizeRules (node_modules/@nuxt/webpack/node_modules/webpack/lib/RuleSet.js:109:17)
  at new RuleSet (node_modules/@nuxt/webpack/node_modules/webpack/lib/RuleSet.js:104:24)
  at new NormalModuleFactory (node_modules/@nuxt/webpack/node_modules/webpack/lib/NormalModuleFactory.js:115:18)
  at Compiler.createNormalModuleFactory (node_modules/@nuxt/webpack/node_modules/webpack/lib/Compiler.js:636:31)
  at Compiler.newCompilationParams (node_modules/@nuxt/webpack/node_modules/webpack/lib/Compiler.js:653:30)
  at Compiler.compile (node_modules/@nuxt/webpack/node_modules/webpack/lib/Compiler.js:661:23)
  at node_modules/@nuxt/webpack/node_modules/webpack/lib/Compiler.js:321:11
  at Compiler.readRecords (node_modules/@nuxt/webpack/node_modules/webpack/lib/Compiler.js:529:11)
  at node_modules/@nuxt/webpack/node_modules/webpack/lib/Compiler.js:318:10
  at AsyncSeriesHook.eval [as callAsync] (eval at create (node_modules/@nuxt/webpack/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:15:1)
  at AsyncSeriesHook.lazyCompileHook (node_modules/@nuxt/webpack/node_modules/tapable/lib/Hook.js:154:20)
  at node_modules/@nuxt/webpack/node_modules/webpack/lib/Compiler.js:315:19

╭──────────────────────────────────────────────────────────────────────────────╮│                                                                              ││   ✖ Nuxt Fatal Error                                                         ││                                                                              ││   Error: Rule can only have one resource source (provided resource and       ││   test +                                                                     ││   include + exclude) in {                                                    ││   "use": [                                                                   ││   {                                                                          ││   "loader":                                                                  ││   "/usr/src/xena-service-face/node_modules/babel-loader/lib/index.js",       ││   "options": {                                                               ││   "configFile": false,                                                       ││   "babelrc": false,                                                          ││   "cacheDirectory": false,                                                   ││   "envName": "client",                                                       ││   "presets": [                                                               ││   [                                                                          ││   "/usr/src/xena-service-face/node_modules/@nuxt/babel-preset-app/src/inde   ││   x.js",                                                                     ││   {                                                                          ││   "corejs": {                                                                ││   "version": 3                                                               ││   }                                                                          ││   }                                                                          ││   ]                                                                          ││   ]                                                                          ││   },                                                                         ││   "ident": "clonedRuleSet-4[0].rules[0].use[0]"                              ││   }                                                                          ││   ]                                                                          ││   }                                                                          ││                                                                              │╰──────────────────────────────────────────────────────────────────────────────╯

The command '/bin/sh -c npm run build' returned a non-zero code: 1
carabistouflette commented 2 years ago

probably pebcak but i don't understand why it's happening

carabistouflette commented 2 years ago
zarkones commented 2 years ago

The conflicts are happening because the containers with the same names already exist. You need to delete them, then run the script again. Afterwards, please provide any additional errors and logs if the issue persist.

carabistouflette commented 2 years ago

so the issue persists unfortunately with the same error (without the docker error)

carabistouflette commented 2 years ago

i don't see any log file so i can't really send you more information (i found one in .git but apparently not related to the installation process)

carabistouflette commented 2 years ago
warning mssql > tedious > adal-node > 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 @adonisjs/assembler > cpy > globby > fast-glob > micromatch > snapdragon > source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated
warning @adonisjs/assembler > cpy > globby > fast-glob > micromatch > snapdragon > source-map-resolve > urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
warning @adonisjs/assembler > cpy > globby > fast-glob > micromatch > snapdragon > source-map-resolve > resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
warning @adonisjs/assembler > cpy > globby > fast-glob > micromatch > snapdragon > source-map-resolve > source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated

this error maybe

carabistouflette commented 2 years ago
[ error ]  typescript compiler errors
app/Validators/Conversation/GetMultiple.ts:1:18 - error TS6133: 'rules' is declared but its value is never read.

1 import { schema, rules } from '@ioc:Adonis/Core/Validator'
                   ~~~~~
config/database.ts:14:47 - error TS2350: Only a void function can be called with the 'new' keyword.

14 const databaseUrl = Env.get('DATABASE_URL') ? new Url(Env.get('DATABASE_URL')) : null
                                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
config/database.ts:14:55 - error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
  Type 'undefined' is not assignable to type 'string'.

14 const databaseUrl = Env.get('DATABASE_URL') ? new Url(Env.get('DATABASE_URL')) : null
                                                         ~~~~~~~~~~~~~~~~~~~~~~~
test/integration/messages.spec.ts:32:11 - error TS6133: 'message' is declared but its value is never read.

32     const { body: message } = await supertest(BASE_URL)
             ~~~~~~~~~~~~~~~~~

which repeats many time

carabistouflette commented 2 years ago

and the whole logs

Unable to find image 'postgres:latest' locally
latest: Pulling from library/postgres
5eb5b503b376: Pull complete 
daa0467a6c48: Pull complete 
7cf625de49ef: Pull complete 
bb8afcc973b2: Pull complete 
c74bf40d29ee: Pull complete 
2ceaf201bb22: Pull complete 
1255f255c0eb: Pull complete 
12a9879c7aa1: Pull complete 
4e80271c8de8: Pull complete 
04d0275af286: Pull complete 
3d4fe3f39342: Pull complete 
60f2aefbd6d9: Pull complete 
98ace1022c39: Pull complete 
Digest: sha256:156c50d4b6fe6ea4e4645ccdeabf54fedc59a561bfece047cdf4c26a42deab72
Status: Downloaded newer image for postgres:latest
2f61b507317d96bde216b8aaf17af91b0950e9084edb09a3f4e7905ef9a597e8
Sending build context to Docker daemon  159.7kB
Step 1/30 : FROM node:16-alpine as builder
16-alpine: Pulling from library/node
59bf1c3509f3: Pull complete 
683dd8c3cc08: Pull complete 
ae5b2724f19b: Pull complete 
39190df3f477: Pull complete 
Digest: sha256:2c6c59cf4d34d4f937ddfcf33bab9d8bbad8658d1b9de7b97622566a52167f2b
Status: Downloaded newer image for node:16-alpine
 ---> 0e1547c0f4a4
Step 2/30 : RUN apk add --no-cache git
 ---> Running in 4b27e34f57b6
fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz
fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz
(1/7) Installing ca-certificates (20211220-r0)
(2/7) Installing brotli-libs (1.0.9-r5)
(3/7) Installing nghttp2-libs (1.46.0-r0)
(4/7) Installing libcurl (7.80.0-r0)
(5/7) Installing expat (2.4.5-r0)
(6/7) Installing pcre2 (10.39-r0)
(7/7) Installing git (2.34.1-r0)
Executing busybox-1.34.1-r3.trigger
Executing ca-certificates-20211220-r0.trigger
OK: 21 MiB in 23 packages
Removing intermediate container 4b27e34f57b6
 ---> 343eae45cc67
Step 3/30 : WORKDIR /home/node
 ---> Running in 884ff11e2ed3
Removing intermediate container 884ff11e2ed3
 ---> 61c24a8ff851
Step 4/30 : COPY package.json ./
 ---> 334c46148bfe
Step 5/30 : RUN yarn install
 ---> Running in 469d40ad81e2
yarn install v1.22.17
info No lockfile found.
[1/4] Resolving packages...
warning @adonisjs/assembler > cpy > globby > fast-glob > micromatch > snapdragon > source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated
warning @adonisjs/assembler > cpy > globby > fast-glob > micromatch > snapdragon > source-map-resolve > resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
warning @adonisjs/assembler > cpy > globby > fast-glob > micromatch > snapdragon > source-map-resolve > source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated
warning @adonisjs/assembler > cpy > globby > fast-glob > micromatch > snapdragon > source-map-resolve > urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
success Saved lockfile.
Done in 49.58s.
Removing intermediate container 469d40ad81e2
 ---> b32c63539600
Step 6/30 : COPY . .
 ---> 3d21b012d0a4
Step 7/30 : RUN yarn build
 ---> Running in 87d0c5c781e3
yarn run v1.22.17
$ node ace build --production --ignore-ts-errors
[ info ]  cleaning up "./build" directory
[ info ]  compiling typescript source files
[ error ]  typescript compiler errors
app/Validators/Conversation/GetMultiple.ts:1:18 - error TS6133: 'rules' is declared but its value is never read.

1 import { schema, rules } from '@ioc:Adonis/Core/Validator'
                   ~~~~~
config/database.ts:14:47 - error TS2350: Only a void function can be called with the 'new' keyword.

14 const databaseUrl = Env.get('DATABASE_URL') ? new Url(Env.get('DATABASE_URL')) : null
                                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
config/database.ts:14:55 - error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
  Type 'undefined' is not assignable to type 'string'.

14 const databaseUrl = Env.get('DATABASE_URL') ? new Url(Env.get('DATABASE_URL')) : null
                                                         ~~~~~~~~~~~~~~~~~~~~~~~
test/integration/messages.spec.ts:32:11 - error TS6133: 'message' is declared but its value is never read.

32     const { body: message } = await supertest(BASE_URL)
             ~~~~~~~~~~~~~~~~~

[ info ]  copy { ace,package.json,yarn.lock => build }
[ info ]  copy { .adonisrc.json => build }
CREATE: ace-manifest.json file
[ success ]  built successfully

╭────────────────────────────────────────────────────────────────────────╮
│    Run the following commands to start the server in production        │
│────────────────────────────────────────────────────────────────────────│
│                                                                        │
│    ❯ cd build                                                          │
│    ❯ yarn install --production                                         │
│    ❯ node server.js                                                    │
│                                                                        │
╰────────────────────────────────────────────────────────────────────────╯
Done in 8.16s.
Removing intermediate container 87d0c5c781e3
 ---> 842b62363fe1
Step 8/30 : FROM node:16-alpine as installer
 ---> 0e1547c0f4a4
Step 9/30 : RUN apk add --no-cache git
 ---> Using cache
 ---> 343eae45cc67
Step 10/30 : WORKDIR /home/node
 ---> Using cache
 ---> 61c24a8ff851
Step 11/30 : COPY package.json ./
 ---> Using cache
 ---> 334c46148bfe
Step 12/30 : RUN yarn install --prod=true --frozen-lockfile
 ---> Running in 6c686cf785b7
yarn install v1.22.17
info No lockfile found.
[1/4] Resolving packages...
warning @adonisjs/assembler > cpy > globby > fast-glob > micromatch > snapdragon > source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated
warning @adonisjs/assembler > cpy > globby > fast-glob > micromatch > snapdragon > source-map-resolve > resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
warning @adonisjs/assembler > cpy > globby > fast-glob > micromatch > snapdragon > source-map-resolve > urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
warning @adonisjs/assembler > cpy > globby > fast-glob > micromatch > snapdragon > source-map-resolve > source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
Done in 24.68s.
Removing intermediate container 6c686cf785b7
 ---> ea0b179d7581
Step 13/30 : FROM node:16-alpine
 ---> 0e1547c0f4a4
Step 14/30 : ENV NODE_ENV production
 ---> Running in d27b31ab0155
Removing intermediate container d27b31ab0155
 ---> 4f8778f49a2d
Step 15/30 : ENV DB_CONNECTION pg
 ---> Running in 9b50575225e7
Removing intermediate container 9b50575225e7
 ---> 1db2d37452ab
Step 16/30 : ENV PG_PORT 5432
 ---> Running in f3618796988b
Removing intermediate container f3618796988b
 ---> 8f3831f7c9c7
Step 17/30 : ENV PG_USER postgres
 ---> Running in 141ab869a5fb
Removing intermediate container 141ab869a5fb
 ---> 0922bfa80c98
Step 18/30 : ENV PG_DB_NAME xena-atila
 ---> Running in 534f81d050c8
Removing intermediate container 534f81d050c8
 ---> a25b0a4b3556
Step 19/30 : ENV DRIVE_DISK local
 ---> Running in 86b669196d78
Removing intermediate container 86b669196d78
 ---> 6f4b5a56024f
Step 20/30 : ENV ENV_SILENT true
 ---> Running in 1b9ecd9d89ac
Removing intermediate container 1b9ecd9d89ac
 ---> 2114bb3c3325
Step 21/30 : ENV HOST 0.0.0.0
 ---> Running in 62d431530b4d
Removing intermediate container 62d431530b4d
 ---> 58e4f911b0ff
Step 22/30 : ENV PORT 60666
 ---> Running in 10b2cc783b0d
Removing intermediate container 10b2cc783b0d
 ---> f79dc866d4b9
Step 23/30 : USER node
 ---> Running in d8d2eb5aa50c
Removing intermediate container d8d2eb5aa50c
 ---> 6cad1bd5b62f
Step 24/30 : RUN mkdir -p /home/node/app/
 ---> Running in f8645dfe2ae5
Removing intermediate container f8645dfe2ae5
 ---> 5cda42bf392a
Step 25/30 : WORKDIR /home/node/app
 ---> Running in a300d314109e
Removing intermediate container a300d314109e
 ---> 1c1d7b23e711
Step 26/30 : COPY --from=builder /home/node/build ./build
 ---> 1aba6dc49881
Step 27/30 : COPY --from=installer /home/node/node_modules ./node_modules
 ---> 6d8b27ebb7db
Step 28/30 : COPY package.json ./
 ---> d51bbc5f39f4
Step 29/30 : EXPOSE 60666
 ---> Running in 3e1c78b63373
Removing intermediate container 3e1c78b63373
 ---> c43678961f58
Step 30/30 : CMD [ "node", "./build/server.js" ]
 ---> Running in 091202d70b02
Removing intermediate container 091202d70b02
 ---> 2a925478d8f4
Successfully built 2a925478d8f4
Successfully tagged xena-service-atila:latest
0039c9f14637d3cccf85b2d34aea86629525fe7dc15ff4deeedefbe726dc2bf0
❯ migrated database/migrations/1621882071021_clients
❯ migrated database/migrations/1621882081214_messages
❯ migrated database/migrations/1642790074523_systems

Migrated in 282 ms
bb50725b8dfb9ad7fc1e5adf05a8d9ed14bbd2552213e708abe72153fa64a007
Sending build context to Docker daemon  141.8kB
Step 1/32 : FROM node:16-alpine as builder
 ---> 0e1547c0f4a4
Step 2/32 : RUN apk add --no-cache git
 ---> Using cache
 ---> 343eae45cc67
Step 3/32 : WORKDIR /home/node
 ---> Using cache
 ---> 61c24a8ff851
Step 4/32 : COPY package*.json ./
 ---> 889cb4b88b66
Step 5/32 : RUN yarn install
 ---> Running in 7b3c7aa4976c
yarn install v1.22.17
info No lockfile found.
[1/4] Resolving packages...
warning @adonisjs/assembler > cpy > globby > fast-glob > micromatch > snapdragon > source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated
warning @adonisjs/assembler > cpy > globby > fast-glob > micromatch > snapdragon > source-map-resolve > resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
warning @adonisjs/assembler > cpy > globby > fast-glob > micromatch > snapdragon > source-map-resolve > source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated
warning @adonisjs/assembler > cpy > globby > fast-glob > micromatch > snapdragon > source-map-resolve > urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
success Saved lockfile.
Done in 26.47s.
Removing intermediate container 7b3c7aa4976c
 ---> 224f405ecbbe
Step 6/32 : COPY . .
 ---> f79125023cd7
Step 7/32 : RUN yarn build
 ---> Running in 8b2d9b81df33
yarn run v1.22.17
$ node ace build --production --ignore-ts-errors
[ info ]  cleaning up "./build" directory
[ info ]  compiling typescript source files
[ error ]  typescript compiler errors
config/database.ts:14:48 - error TS2350: Only a void function can be called with the 'new' keyword.

14  const databaseUrl = Env.get('DATABASE_URL') ? new Url(Env.get('DATABASE_URL')) : null
                                                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
config/database.ts:14:56 - error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
  Type 'undefined' is not assignable to type 'string'.

14  const databaseUrl = Env.get('DATABASE_URL') ? new Url(Env.get('DATABASE_URL')) : null
                                                          ~~~~~~~~~~~~~~~~~~~~~~~
start/orm.ts:1:28 - error TS2307: Cannot find module '@ioc:Adonis/Lucid/Model' or its corresponding type declarations.

1 import { LucidModel } from '@ioc:Adonis/Lucid/Model'
                             ~~~~~~~~~~~~~~~~~~~~~~~~~

[ info ]  copy { ace,package.json,yarn.lock => build }
[ info ]  copy { .adonisrc.json => build }
CREATE: ace-manifest.json file
[ success ]  built successfully

╭────────────────────────────────────────────────────────────────────────╮
│    Run the following commands to start the server in production        │
│────────────────────────────────────────────────────────────────────────│
│                                                                        │
│    ❯ cd build                                                          │
│    ❯ yarn install --production                                         │
│    ❯ node server.js                                                    │
│                                                                        │
╰────────────────────────────────────────────────────────────────────────╯
Done in 7.50s.
Removing intermediate container 8b2d9b81df33
 ---> 14b5b1a32491
Step 8/32 : FROM node:16-alpine as installer
 ---> 0e1547c0f4a4
Step 9/32 : RUN apk add --no-cache git
 ---> Using cache
 ---> 343eae45cc67
Step 10/32 : WORKDIR /home/node
 ---> Using cache
 ---> 61c24a8ff851
Step 11/32 : COPY package*.json ./
 ---> Using cache
 ---> 889cb4b88b66
Step 12/32 : RUN yarn install --prod=true --frozen-lockfile
 ---> Running in d3d1f0f3c8bb
yarn install v1.22.17
info No lockfile found.
[1/4] Resolving packages...
warning @adonisjs/assembler > cpy > globby > fast-glob > micromatch > snapdragon > source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated
warning @adonisjs/assembler > cpy > globby > fast-glob > micromatch > snapdragon > source-map-resolve > resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
warning @adonisjs/assembler > cpy > globby > fast-glob > micromatch > snapdragon > source-map-resolve > source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated
warning @adonisjs/assembler > cpy > globby > fast-glob > micromatch > snapdragon > source-map-resolve > urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
Done in 24.10s.
Removing intermediate container d3d1f0f3c8bb
 ---> 4b16aa85b72c
Step 13/32 : FROM node:16-alpine
 ---> 0e1547c0f4a4
Step 14/32 : ENV NODE_ENV production
 ---> Using cache
 ---> 4f8778f49a2d
Step 15/32 : ENV DB_CONNECTION pg
 ---> Using cache
 ---> 1db2d37452ab
Step 16/32 : ENV PG_PORT 5432
 ---> Using cache
 ---> 8f3831f7c9c7
Step 17/32 : ENV PG_USER postgres
 ---> Using cache
 ---> 0922bfa80c98
Step 18/32 : ENV PG_DB_NAME xena-pyramid
 ---> Running in 65c5acd19da1
Removing intermediate container 65c5acd19da1
 ---> 03e70bc3320f
Step 19/32 : ENV DRIVE_DISK local
 ---> Running in 9242bd785e05
Removing intermediate container 9242bd785e05
 ---> 05f2981c940d
Step 20/32 : ENV ENV_SILENT true
 ---> Running in 4e1e26922cd2
Removing intermediate container 4e1e26922cd2
 ---> 0c9364151f1b
Step 21/32 : ENV HOST 0.0.0.0
 ---> Running in 202b1c850831
Removing intermediate container 202b1c850831
 ---> 780f198da430
Step 22/32 : ENV PORT 60667
 ---> Running in 3fb56033fb6a
Removing intermediate container 3fb56033fb6a
 ---> 0ec4509132ec
Step 23/32 : ENV BUILD_DESTINATION ./xena-pyramid-software-builds/
 ---> Running in 305516f1b653
Removing intermediate container 305516f1b653
 ---> 7c0ba6133e87
Step 24/32 : RUN apk update && apk add git go
 ---> Running in 5fa95eb03e50
fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz
fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz
v3.15.0-311-g0a14a1ab9a [https://dl-cdn.alpinelinux.org/alpine/v3.15/main]
v3.15.0-317-g9e5746dcc2 [https://dl-cdn.alpinelinux.org/alpine/v3.15/community]
OK: 15859 distinct packages available
(1/18) Installing ca-certificates (20211220-r0)
(2/18) Installing brotli-libs (1.0.9-r5)
(3/18) Installing nghttp2-libs (1.46.0-r0)
(4/18) Installing libcurl (7.80.0-r0)
(5/18) Installing expat (2.4.5-r0)
(6/18) Installing pcre2 (10.39-r0)
(7/18) Installing git (2.34.1-r0)
(8/18) Installing binutils (2.37-r3)
(9/18) Installing libgomp (10.3.1_git20211027-r0)
(10/18) Installing libatomic (10.3.1_git20211027-r0)
(11/18) Installing libgphobos (10.3.1_git20211027-r0)
(12/18) Installing gmp (6.2.1-r1)
(13/18) Installing isl22 (0.22-r0)
(14/18) Installing mpfr4 (4.1.0-r0)
(15/18) Installing mpc1 (1.2.1-r0)
(16/18) Installing gcc (10.3.1_git20211027-r0)
(17/18) Installing musl-dev (1.2.2-r7)
(18/18) Installing go (1.17.4-r0)
Executing busybox-1.34.1-r3.trigger
Executing ca-certificates-20211220-r0.trigger
OK: 509 MiB in 34 packages
Removing intermediate container 5fa95eb03e50
 ---> 48e922c05685
Step 25/32 : USER node
 ---> Running in 32391ae2cf8c
Removing intermediate container 32391ae2cf8c
 ---> 4ddf2d184dae
Step 26/32 : RUN mkdir -p /home/node/app/
 ---> Running in 578f0bfbbb76
Removing intermediate container 578f0bfbbb76
 ---> af96670df7ed
Step 27/32 : WORKDIR /home/node/app
 ---> Running in 38392b4ee4ae
Removing intermediate container 38392b4ee4ae
 ---> e603037c25fc
Step 28/32 : COPY --from=builder /home/node/build ./build
 ---> 558bee7a4fd9
Step 29/32 : COPY --from=installer /home/node/node_modules ./build/node_modules
 ---> bf3554d23c12
Step 30/32 : COPY package*.json ./build
 ---> df6ad6fcffe3
Step 31/32 : EXPOSE 60667
 ---> Running in 656f334ac2c5
Removing intermediate container 656f334ac2c5
 ---> 796cb9766b54
Step 32/32 : CMD [ "node", "./build/server.js" ]
 ---> Running in eafb4bfd7432
Removing intermediate container eafb4bfd7432
 ---> cfa23ceb1354
Successfully built cfa23ceb1354
Successfully tagged xena-service-pyramid:latest
5050cd34cc3bf7579dc2cab96c858a6e99429f0e1c83bd8c63f0c2386787df6f
❯ migrated database/migrations/1623433365454_build_profiles
❯ migrated database/migrations/1623535254288_builds

Migrated in 266 ms
e2cf1bd9fd3601af4ed605f1935419608c1c7c8755fd402d4b1ee131ebcb1cff
Sending build context to Docker daemon  100.9kB
Step 1/30 : FROM node:16-alpine as builder
 ---> 0e1547c0f4a4
Step 2/30 : RUN apk add --no-cache git
 ---> Using cache
 ---> 343eae45cc67
Step 3/30 : WORKDIR /home/node
 ---> Using cache
 ---> 61c24a8ff851
Step 4/30 : COPY package.json ./
 ---> adc9aab49034
Step 5/30 : RUN yarn install
 ---> Running in a3fa77e24c8f
yarn install v1.22.17
info No lockfile found.
[1/4] Resolving packages...
warning mssql > tedious > adal-node > 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 @adonisjs/assembler > cpy > globby > fast-glob > micromatch > snapdragon > source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated
warning @adonisjs/assembler > cpy > globby > fast-glob > micromatch > snapdragon > source-map-resolve > urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
warning @adonisjs/assembler > cpy > globby > fast-glob > micromatch > snapdragon > source-map-resolve > resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
warning @adonisjs/assembler > cpy > globby > fast-glob > micromatch > snapdragon > source-map-resolve > source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
success Saved lockfile.
Done in 34.44s.
Removing intermediate container a3fa77e24c8f
 ---> 65a71f573a98
Step 6/30 : COPY . .
 ---> ac4e6d22cb86
Step 7/30 : RUN yarn build
 ---> Running in d5794ae8339a
yarn run v1.22.17
$ node ace build --production --ignore-ts-errors
[ info ]  cleaning up "./build" directory
[ info ]  compiling typescript source files
[ info ]  copy { ace,package.json,yarn.lock => build }
[ info ]  copy { .adonisrc.json => build }
CREATE: ace-manifest.json file
[ success ]  built successfully

╭────────────────────────────────────────────────────────────────────────╮
│    Run the following commands to start the server in production        │
│────────────────────────────────────────────────────────────────────────│
│                                                                        │
│    ❯ cd build                                                          │
│    ❯ yarn install --production                                         │
│    ❯ node server.js                                                    │
│                                                                        │
╰────────────────────────────────────────────────────────────────────────╯
Done in 7.01s.
Removing intermediate container d5794ae8339a
 ---> b09f3e05240c
Step 8/30 : FROM node:16-alpine as installer
 ---> 0e1547c0f4a4
Step 9/30 : RUN apk add --no-cache git
 ---> Using cache
 ---> 343eae45cc67
Step 10/30 : WORKDIR /home/node
 ---> Using cache
 ---> 61c24a8ff851
Step 11/30 : COPY package.json ./
 ---> Using cache
 ---> adc9aab49034
Step 12/30 : RUN yarn install --prod=true --frozen-lockfile
 ---> Running in c7d1b83cf7f5
yarn install v1.22.17
info No lockfile found.
[1/4] Resolving packages...
warning mssql > tedious > adal-node > 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 @adonisjs/assembler > cpy > globby > fast-glob > micromatch > snapdragon > source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated
warning @adonisjs/assembler > cpy > globby > fast-glob > micromatch > snapdragon > source-map-resolve > resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
warning @adonisjs/assembler > cpy > globby > fast-glob > micromatch > snapdragon > source-map-resolve > urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
warning @adonisjs/assembler > cpy > globby > fast-glob > micromatch > snapdragon > source-map-resolve > source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
Done in 51.21s.
Removing intermediate container c7d1b83cf7f5
 ---> 4cd9343d5b06
Step 13/30 : FROM node:16-alpine
 ---> 0e1547c0f4a4
Step 14/30 : ENV NODE_ENV production
 ---> Using cache
 ---> 4f8778f49a2d
Step 15/30 : ENV DB_CONNECTION pg
 ---> Using cache
 ---> 1db2d37452ab
Step 16/30 : ENV PG_PORT 5432
 ---> Using cache
 ---> 8f3831f7c9c7
Step 17/30 : ENV PG_USER postgres
 ---> Using cache
 ---> 0922bfa80c98
Step 18/30 : ENV PG_DB_NAME xena-domena
 ---> Running in 99f0f33fd873
Removing intermediate container 99f0f33fd873
 ---> d2e92f38bdfe
Step 19/30 : ENV DRIVE_DISK local
 ---> Running in 5b2861def87a
Removing intermediate container 5b2861def87a
 ---> 1c36be30efb9
Step 20/30 : ENV ENV_SILENT true
 ---> Running in b4fe690d720f
Removing intermediate container b4fe690d720f
 ---> 151546cea715
Step 21/30 : ENV HOST 0.0.0.0
 ---> Running in 88feebdeef48
Removing intermediate container 88feebdeef48
 ---> de1bee03acbb
Step 22/30 : ENV PORT 60798
 ---> Running in 6a9cf90f1657
Removing intermediate container 6a9cf90f1657
 ---> ef79b9b8ee24
Step 23/30 : USER node
 ---> Running in 968d9076b6e8
Removing intermediate container 968d9076b6e8
 ---> f740bb0db88e
Step 24/30 : RUN mkdir -p /home/node/app/
 ---> Running in d1ff5e17639c
Removing intermediate container d1ff5e17639c
 ---> e109946ec630
Step 25/30 : WORKDIR /home/node/app
 ---> Running in 20d4875949c2
Removing intermediate container 20d4875949c2
 ---> 9b3fac4b07da
Step 26/30 : COPY --from=builder /home/node/build ./build
 ---> 1bef63606f05
Step 27/30 : COPY --from=installer /home/node/node_modules ./node_modules
 ---> 212741bca84b
Step 28/30 : COPY package.json ./
 ---> 6406c9cd10db
Step 29/30 : EXPOSE 60798
 ---> Running in e15593f7909a
Removing intermediate container e15593f7909a
 ---> c7bf4c4cf865
Step 30/30 : CMD [ "node", "./build/server.js" ]
 ---> Running in 91d038a1760e
Removing intermediate container 91d038a1760e
 ---> f72aac031eaf
Successfully built f72aac031eaf
Successfully tagged xena-service-domena:latest
0443c8a3d9e003f3eef8b1ab643610f3c0953e75bde03eef8083267b9be78f11
❯ migrated database/migrations/1638801196537_services

Migrated in 276 ms
Sending build context to Docker daemon  18.94kB
Step 1/6 : FROM golang:1.17.0-alpine
1.17.0-alpine: Pulling from library/golang
a0d0a0d46f8b: Pull complete 
31adcdaf11c8: Pull complete 
b8b176561691: Pull complete 
5ea3a45ba3ce: Pull complete 
19d3675075e9: Pull complete 
Digest: sha256:c03a922dfb0d6d3a94d46cc5be69002011763595ac2786068fde63ee174d797b
Status: Downloaded newer image for golang:1.17.0-alpine
 ---> 5a6ac0d9a8df
Step 2/6 : RUN mkdir /app
 ---> Running in b1621c4f6384
Removing intermediate container b1621c4f6384
 ---> 4f3fa7b36cc9
Step 3/6 : ADD . /app
 ---> 1fb31dd07626
Step 4/6 : WORKDIR /app
 ---> Running in f395d24cb890
Removing intermediate container f395d24cb890
 ---> acc5529d0611
Step 5/6 : RUN go build -ldflags="-w -s" -o main .
 ---> Running in 14e67fba2272
# main
./atila.go:18:42: undefined: atilaHost
./atila.go:64:41: undefined: atilaHost
./atila.go:109:42: undefined: atilaHost
./atila.go:155:42: undefined: atilaHost
./domena.go:18:42: undefined: domenaHost
./main.go:12:33: undefined: port
The command '/bin/sh -c go build -ldflags="-w -s" -o main .' returned a non-zero code: 2
Sending build context to Docker daemon  6.976MB
Step 1/12 : FROM node:16-alpine
 ---> 0e1547c0f4a4
Step 2/12 : RUN mkdir -p /usr/src/xena-service-face
 ---> Running in 5d7af02138e0
Removing intermediate container 5d7af02138e0
 ---> a2dd0229c639
Step 3/12 : WORKDIR /usr/src/xena-service-face
 ---> Running in cb5aaecfd7fb
Removing intermediate container cb5aaecfd7fb
 ---> b24228c01ae4
Step 4/12 : RUN apk update && apk upgrade
 ---> Running in 83b504e325b1
fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz
fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz
v3.15.0-311-g0a14a1ab9a [https://dl-cdn.alpinelinux.org/alpine/v3.15/main]
v3.15.0-317-g9e5746dcc2 [https://dl-cdn.alpinelinux.org/alpine/v3.15/community]
OK: 15859 distinct packages available
(1/5) Upgrading busybox (1.34.1-r3 -> 1.34.1-r4)
Executing busybox-1.34.1-r4.post-upgrade
(2/5) Upgrading ca-certificates-bundle (20191127-r7 -> 20211220-r0)
(3/5) Upgrading libcrypto1.1 (1.1.1l-r7 -> 1.1.1l-r8)
(4/5) Upgrading libssl1.1 (1.1.1l-r7 -> 1.1.1l-r8)
(5/5) Upgrading ssl_client (1.34.1-r3 -> 1.34.1-r4)
Executing busybox-1.34.1-r4.trigger
OK: 7 MiB in 16 packages
Removing intermediate container 83b504e325b1
 ---> 2f73bb3b7bd0
Step 5/12 : RUN apk add git
 ---> Running in f57e28a8f216
(1/7) Installing ca-certificates (20211220-r0)
(2/7) Installing brotli-libs (1.0.9-r5)
(3/7) Installing nghttp2-libs (1.46.0-r0)
(4/7) Installing libcurl (7.80.0-r0)
(5/7) Installing expat (2.4.5-r0)
(6/7) Installing pcre2 (10.39-r0)
(7/7) Installing git (2.34.1-r0)
Executing busybox-1.34.1-r4.trigger
Executing ca-certificates-20211220-r0.trigger
OK: 21 MiB in 23 packages
Removing intermediate container f57e28a8f216
 ---> 7003a5a87a10
Step 6/12 : COPY . /usr/src/xena-service-face/
 ---> 280940030ea7
Step 7/12 : RUN npm install
 ---> Running in 48cdfa317ed6
npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated
npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated querystring@0.2.1: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
npm WARN deprecated source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated
npm WARN deprecated flatten@1.0.3: flatten is deprecated in favor of utility frameworks such as lodash.
npm WARN deprecated @types/browserslist@4.15.0: This is a stub types definition. browserslist provides its own type definitions, so you do not need this installed.
npm WARN deprecated vuex-persistedstate@4.1.0: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
npm WARN deprecated querystring@0.2.0: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
npm WARN deprecated chokidar@2.1.8: Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies
npm WARN deprecated svgo@1.3.2: This SVGO version is no longer supported. Upgrade to v2.x.x.
npm WARN deprecated 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.

added 1421 packages, and audited 1422 packages in 2m

114 packages are looking for funding
  run `npm fund` for details

15 vulnerabilities (7 moderate, 8 high)

To address issues that do not require attention, run:
  npm audit fix

To address all issues (including breaking changes), run:
  npm audit fix --force

Run `npm audit` for details.
npm notice 
npm notice New minor version of npm available! 8.3.1 -> 8.5.2
npm notice Changelog: <https://github.com/npm/cli/releases/tag/v8.5.2>
npm notice Run `npm install -g npm@8.5.2` to update!
npm notice 
Removing intermediate container 48cdfa317ed6
 ---> 06daa2d6d9de
Step 8/12 : RUN npm run build
 ---> Running in 90abc6c93e11

> xena-face@1.0.0 build
> nuxt build

 WARN  webpack@5.69.1 is installed but ^4.46.0 is expected

 WARN  No .env file found in /usr/src/xena-service-face.

ℹ Production build
ℹ Bundling only for client side
ℹ Target: static
ℹ Using components loader to optimize imports
ℹ Discovered Components: .nuxt/components/readme.md
✔ Builder initialized
✔ Nuxt files generated

 FATAL  Rule can only have one resource source (provided resource and test + include + exclude) in {
  "use": [
    {
      "loader": "/usr/src/xena-service-face/node_modules/babel-loader/lib/index.js",
      "options": {
        "configFile": false,
        "babelrc": false,
        "cacheDirectory": false,
        "envName": "client",
        "presets": [
          [
            "/usr/src/xena-service-face/node_modules/@nuxt/babel-preset-app/src/index.js",
            {
              "corejs": {
                "version": 3
              }
            }
          ]
        ]
      },
      "ident": "clonedRuleSet-4[0].rules[0].use[0]"
    }
  ]
}

  "use": [
  {
  "loader": "node_modules/babel-loader/lib/index.js",
  "options": {
  "configFile": false,
  "babelrc": false,
  "cacheDirectory": false,
  "envName": "client",
  "presets": [
  [
  "node_modules/@nuxt/babel-preset-app/src/index.js",
  {
  "corejs": {
  "version": 3
  }
  }
  ]
  ]
  },
  "ident": "clonedRuleSet-4[0].rules[0].use[0]"
  }
  ]
  }
  at checkResourceSource (node_modules/@nuxt/webpack/node_modules/webpack/lib/RuleSet.js:167:11)
  at Function.normalizeRule (node_modules/@nuxt/webpack/node_modules/webpack/lib/RuleSet.js:198:4)
  at node_modules/@nuxt/webpack/node_modules/webpack/lib/RuleSet.js:110:20
  at Array.map (<anonymous>)
  at Function.normalizeRules (node_modules/@nuxt/webpack/node_modules/webpack/lib/RuleSet.js:109:17)
  at new RuleSet (node_modules/@nuxt/webpack/node_modules/webpack/lib/RuleSet.js:104:24)
  at new NormalModuleFactory (node_modules/@nuxt/webpack/node_modules/webpack/lib/NormalModuleFactory.js:115:18)
  at Compiler.createNormalModuleFactory (node_modules/@nuxt/webpack/node_modules/webpack/lib/Compiler.js:636:31)
  at Compiler.newCompilationParams (node_modules/@nuxt/webpack/node_modules/webpack/lib/Compiler.js:653:30)
  at Compiler.compile (node_modules/@nuxt/webpack/node_modules/webpack/lib/Compiler.js:661:23)
  at node_modules/@nuxt/webpack/node_modules/webpack/lib/Compiler.js:321:11
  at Compiler.readRecords (node_modules/@nuxt/webpack/node_modules/webpack/lib/Compiler.js:529:11)
  at node_modules/@nuxt/webpack/node_modules/webpack/lib/Compiler.js:318:10
  at AsyncSeriesHook.eval [as callAsync] (eval at create (node_modules/@nuxt/webpack/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:15:1)
  at AsyncSeriesHook.lazyCompileHook (node_modules/@nuxt/webpack/node_modules/tapable/lib/Hook.js:154:20)
  at node_modules/@nuxt/webpack/node_modules/webpack/lib/Compiler.js:315:19

╭──────────────────────────────────────────────────────────────────────────────╮│                                                                              ││   ✖ Nuxt Fatal Error                                                         ││                                                                              ││   Error: Rule can only have one resource source (provided resource and       ││   test +                                                                     ││   include + exclude) in {                                                    ││   "use": [                                                                   ││   {                                                                          ││   "loader":                                                                  ││   "/usr/src/xena-service-face/node_modules/babel-loader/lib/index.js",       ││   "options": {                                                               ││   "configFile": false,                                                       ││   "babelrc": false,                                                          ││   "cacheDirectory": false,                                                   ││   "envName": "client",                                                       ││   "presets": [                                                               ││   [                                                                          ││   "/usr/src/xena-service-face/node_modules/@nuxt/babel-preset-app/src/inde   ││   x.js",                                                                     ││   {                                                                          ││   "corejs": {                                                                ││   "version": 3                                                               ││   }                                                                          ││   }                                                                          ││   ]                                                                          ││   ]                                                                          ││   },                                                                         ││   "ident": "clonedRuleSet-4[0].rules[0].use[0]"                              ││   }                                                                          ││   ]                                                                          ││   }                                                                          ││                                                                              │╰──────────────────────────────────────────────────────────────────────────────╯

The command '/bin/sh -c npm run build' returned a non-zero code: 1
zarkones commented 2 years ago

@not-NEKO I've pushed a fix to the production branch. This should fix some of the issues you encountered. Could you, please:

I understand that this might be frustrating, but issues will take more to triage since I refuse to implement telemetry. Thanks for using XENA.

carabistouflette commented 2 years ago

thanks

carabistouflette commented 2 years ago
Unable to find image 'postgres:latest' locally
latest: Pulling from library/postgres
5eb5b503b376: Pull complete 
daa0467a6c48: Pull complete 
7cf625de49ef: Pull complete 
bb8afcc973b2: Pull complete 
c74bf40d29ee: Pull complete 
2ceaf201bb22: Pull complete 
1255f255c0eb: Pull complete 
12a9879c7aa1: Pull complete 
4e80271c8de8: Pull complete 
04d0275af286: Pull complete 
3d4fe3f39342: Pull complete 
60f2aefbd6d9: Pull complete 
98ace1022c39: Pull complete 
Digest: sha256:156c50d4b6fe6ea4e4645ccdeabf54fedc59a561bfece047cdf4c26a42deab72
Status: Downloaded newer image for postgres:latest
76eee985c7d385175cce4ae6567ac510a286b11e50baaa2098f63d347cd26b85
Sending build context to Docker daemon  159.7kB
Step 1/30 : FROM node:16-alpine as builder
16-alpine: Pulling from library/node
59bf1c3509f3: Pull complete 
683dd8c3cc08: Pull complete 
ae5b2724f19b: Pull complete 
39190df3f477: Pull complete 
Digest: sha256:2c6c59cf4d34d4f937ddfcf33bab9d8bbad8658d1b9de7b97622566a52167f2b
Status: Downloaded newer image for node:16-alpine
 ---> 0e1547c0f4a4
Step 2/30 : RUN apk add --no-cache git
 ---> Running in ba3a5d527e64
fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz
fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz
(1/7) Installing ca-certificates (20211220-r0)
(2/7) Installing brotli-libs (1.0.9-r5)
(3/7) Installing nghttp2-libs (1.46.0-r0)
(4/7) Installing libcurl (7.80.0-r0)
(5/7) Installing expat (2.4.5-r0)
(6/7) Installing pcre2 (10.39-r0)
(7/7) Installing git (2.34.1-r0)
Executing busybox-1.34.1-r3.trigger
Executing ca-certificates-20211220-r0.trigger
OK: 21 MiB in 23 packages
Removing intermediate container ba3a5d527e64
 ---> ab1052d1a514
Step 3/30 : WORKDIR /home/node
 ---> Running in 98f5ddfc2465
Removing intermediate container 98f5ddfc2465
 ---> b401de56d894
Step 4/30 : COPY package.json ./
 ---> b9fe77d484b4
Step 5/30 : RUN yarn install
 ---> Running in bd9d7e32c43a
yarn install v1.22.17
info No lockfile found.
[1/4] Resolving packages...
warning @adonisjs/assembler > cpy > globby > fast-glob > micromatch > snapdragon > source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated
warning @adonisjs/assembler > cpy > globby > fast-glob > micromatch > snapdragon > source-map-resolve > resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
warning @adonisjs/assembler > cpy > globby > fast-glob > micromatch > snapdragon > source-map-resolve > source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated
warning @adonisjs/assembler > cpy > globby > fast-glob > micromatch > snapdragon > source-map-resolve > urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
success Saved lockfile.
Done in 33.03s.
Removing intermediate container bd9d7e32c43a
 ---> db4f2cb81004
Step 6/30 : COPY . .
 ---> a3dc8788f95b
Step 7/30 : RUN yarn build
 ---> Running in 2d1ce08fdeaf
yarn run v1.22.17
$ node ace build --production --ignore-ts-errors
[ info ]  cleaning up "./build" directory
[ info ]  compiling typescript source files
[ error ]  typescript compiler errors
app/Validators/Conversation/GetMultiple.ts:1:18 - error TS6133: 'rules' is declared but its value is never read.

1 import { schema, rules } from '@ioc:Adonis/Core/Validator'
                   ~~~~~
config/database.ts:14:47 - error TS2350: Only a void function can be called with the 'new' keyword.

14 const databaseUrl = Env.get('DATABASE_URL') ? new Url(Env.get('DATABASE_URL')) : null
                                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
config/database.ts:14:55 - error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
  Type 'undefined' is not assignable to type 'string'.

14 const databaseUrl = Env.get('DATABASE_URL') ? new Url(Env.get('DATABASE_URL')) : null
                                                         ~~~~~~~~~~~~~~~~~~~~~~~
test/integration/messages.spec.ts:32:11 - error TS6133: 'message' is declared but its value is never read.

32     const { body: message } = await supertest(BASE_URL)
             ~~~~~~~~~~~~~~~~~

[ info ]  copy { ace,package.json,yarn.lock => build }
[ info ]  copy { .adonisrc.json => build }
CREATE: ace-manifest.json file
[ success ]  built successfully

╭────────────────────────────────────────────────────────────────────────╮
│    Run the following commands to start the server in production        │
│────────────────────────────────────────────────────────────────────────│
│                                                                        │
│    ❯ cd build                                                          │
│    ❯ yarn install --production                                         │
│    ❯ node server.js                                                    │
│                                                                        │
╰────────────────────────────────────────────────────────────────────────╯
Done in 8.03s.
Removing intermediate container 2d1ce08fdeaf
 ---> ac897e226279
Step 8/30 : FROM node:16-alpine as installer
 ---> 0e1547c0f4a4
Step 9/30 : RUN apk add --no-cache git
 ---> Using cache
 ---> ab1052d1a514
Step 10/30 : WORKDIR /home/node
 ---> Using cache
 ---> b401de56d894
Step 11/30 : COPY package.json ./
 ---> Using cache
 ---> b9fe77d484b4
Step 12/30 : RUN yarn install --prod=true --frozen-lockfile
 ---> Running in 3d1d366091c3
yarn install v1.22.17
info No lockfile found.
[1/4] Resolving packages...
warning @adonisjs/assembler > cpy > globby > fast-glob > micromatch > snapdragon > source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated
warning @adonisjs/assembler > cpy > globby > fast-glob > micromatch > snapdragon > source-map-resolve > resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
warning @adonisjs/assembler > cpy > globby > fast-glob > micromatch > snapdragon > source-map-resolve > urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
warning @adonisjs/assembler > cpy > globby > fast-glob > micromatch > snapdragon > source-map-resolve > source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
Done in 24.92s.
Removing intermediate container 3d1d366091c3
 ---> 4cdd0c5b71bb
Step 13/30 : FROM node:16-alpine
 ---> 0e1547c0f4a4
Step 14/30 : ENV NODE_ENV production
 ---> Running in dc1cac4c656c
Removing intermediate container dc1cac4c656c
 ---> 1b979e4de677
Step 15/30 : ENV DB_CONNECTION pg
 ---> Running in 32de1f7d3004
Removing intermediate container 32de1f7d3004
 ---> cc6ac0563d52
Step 16/30 : ENV PG_PORT 5432
 ---> Running in 134ccbaa63fc
Removing intermediate container 134ccbaa63fc
 ---> 2bfe6533adfc
Step 17/30 : ENV PG_USER postgres
 ---> Running in 5ccb7e6c0dca
Removing intermediate container 5ccb7e6c0dca
 ---> f76500ad60a4
Step 18/30 : ENV PG_DB_NAME xena-atila
 ---> Running in ca3f46d954a8
Removing intermediate container ca3f46d954a8
 ---> 77e730c7154b
Step 19/30 : ENV DRIVE_DISK local
 ---> Running in f42419dab56b
Removing intermediate container f42419dab56b
 ---> 3bc408f4f8ae
Step 20/30 : ENV ENV_SILENT true
 ---> Running in 1aa8fc8a84dd
Removing intermediate container 1aa8fc8a84dd
 ---> a337b997b7f0
Step 21/30 : ENV HOST 0.0.0.0
 ---> Running in dc0b40469113
Removing intermediate container dc0b40469113
 ---> c8e6884a70da
Step 22/30 : ENV PORT 60666
 ---> Running in 15b27cd9eda2
Removing intermediate container 15b27cd9eda2
 ---> dc3437bd62c6
Step 23/30 : USER node
 ---> Running in 500a1c23f767
Removing intermediate container 500a1c23f767
 ---> ac819fa76265
Step 24/30 : RUN mkdir -p /home/node/app/
 ---> Running in f5de3cd28f13
Removing intermediate container f5de3cd28f13
 ---> 549731d68c48
Step 25/30 : WORKDIR /home/node/app
 ---> Running in 514aab6cff8e
Removing intermediate container 514aab6cff8e
 ---> 82db96f55a54
Step 26/30 : COPY --from=builder /home/node/build ./build
 ---> 573ff4648288
Step 27/30 : COPY --from=installer /home/node/node_modules ./node_modules
 ---> 390c12243e2e
Step 28/30 : COPY package.json ./
 ---> c969bd253ced
Step 29/30 : EXPOSE 60666
 ---> Running in 0156fc970c27
Removing intermediate container 0156fc970c27
 ---> 3daa71d37e00
Step 30/30 : CMD [ "node", "./build/server.js" ]
 ---> Running in 87406b50d4a0
Removing intermediate container 87406b50d4a0
 ---> 18ce196a2c96
Successfully built 18ce196a2c96
Successfully tagged xena-service-atila:latest
8de9c9b6c00ac297b0d116c0e4f7aae340457dcc198987031feee3e925f516a6
❯ migrated database/migrations/1621882071021_clients
❯ migrated database/migrations/1621882081214_messages
❯ migrated database/migrations/1642790074523_systems

Migrated in 313 ms
8b6368ecde0c4b2856ddf4cedf281f96b2d1f10d2f3c240192932a3b48d9daf1
Sending build context to Docker daemon  141.8kB
Step 1/32 : FROM node:16-alpine as builder
 ---> 0e1547c0f4a4
Step 2/32 : RUN apk add --no-cache git
 ---> Using cache
 ---> ab1052d1a514
Step 3/32 : WORKDIR /home/node
 ---> Using cache
 ---> b401de56d894
Step 4/32 : COPY package*.json ./
 ---> a735a676af0d
Step 5/32 : RUN yarn install
 ---> Running in a59eba5a5fee
yarn install v1.22.17
info No lockfile found.
[1/4] Resolving packages...
warning @adonisjs/assembler > cpy > globby > fast-glob > micromatch > snapdragon > source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated
warning @adonisjs/assembler > cpy > globby > fast-glob > micromatch > snapdragon > source-map-resolve > resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
warning @adonisjs/assembler > cpy > globby > fast-glob > micromatch > snapdragon > source-map-resolve > source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated
warning @adonisjs/assembler > cpy > globby > fast-glob > micromatch > snapdragon > source-map-resolve > urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
success Saved lockfile.
Done in 32.98s.
Removing intermediate container a59eba5a5fee
 ---> d6e971e87658
Step 6/32 : COPY . .
 ---> fc5683963755
Step 7/32 : RUN yarn build
 ---> Running in dccc3499689d
yarn run v1.22.17
$ node ace build --production --ignore-ts-errors
[ info ]  cleaning up "./build" directory
[ info ]  compiling typescript source files
[ error ]  typescript compiler errors
config/database.ts:14:48 - error TS2350: Only a void function can be called with the 'new' keyword.

14  const databaseUrl = Env.get('DATABASE_URL') ? new Url(Env.get('DATABASE_URL')) : null
                                                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
config/database.ts:14:56 - error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
  Type 'undefined' is not assignable to type 'string'.

14  const databaseUrl = Env.get('DATABASE_URL') ? new Url(Env.get('DATABASE_URL')) : null
                                                          ~~~~~~~~~~~~~~~~~~~~~~~
start/orm.ts:1:28 - error TS2307: Cannot find module '@ioc:Adonis/Lucid/Model' or its corresponding type declarations.

1 import { LucidModel } from '@ioc:Adonis/Lucid/Model'
                             ~~~~~~~~~~~~~~~~~~~~~~~~~

[ info ]  copy { ace,package.json,yarn.lock => build }
[ info ]  copy { .adonisrc.json => build }
CREATE: ace-manifest.json file
[ success ]  built successfully

╭────────────────────────────────────────────────────────────────────────╮
│    Run the following commands to start the server in production        │
│────────────────────────────────────────────────────────────────────────│
│                                                                        │
│    ❯ cd build                                                          │
│    ❯ yarn install --production                                         │
│    ❯ node server.js                                                    │
│                                                                        │
╰────────────────────────────────────────────────────────────────────────╯
Done in 7.35s.
Removing intermediate container dccc3499689d
 ---> db34041dcf73
Step 8/32 : FROM node:16-alpine as installer
 ---> 0e1547c0f4a4
Step 9/32 : RUN apk add --no-cache git
 ---> Using cache
 ---> ab1052d1a514
Step 10/32 : WORKDIR /home/node
 ---> Using cache
 ---> b401de56d894
Step 11/32 : COPY package*.json ./
 ---> Using cache
 ---> a735a676af0d
Step 12/32 : RUN yarn install --prod=true --frozen-lockfile
 ---> Running in f273176f36cf
yarn install v1.22.17
info No lockfile found.
[1/4] Resolving packages...
warning @adonisjs/assembler > cpy > globby > fast-glob > micromatch > snapdragon > source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated
warning @adonisjs/assembler > cpy > globby > fast-glob > micromatch > snapdragon > source-map-resolve > resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
warning @adonisjs/assembler > cpy > globby > fast-glob > micromatch > snapdragon > source-map-resolve > source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated
warning @adonisjs/assembler > cpy > globby > fast-glob > micromatch > snapdragon > source-map-resolve > urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
Done in 26.62s.
Removing intermediate container f273176f36cf
 ---> b2aaee4936c8
Step 13/32 : FROM node:16-alpine
 ---> 0e1547c0f4a4
Step 14/32 : ENV NODE_ENV production
 ---> Using cache
 ---> 1b979e4de677
Step 15/32 : ENV DB_CONNECTION pg
 ---> Using cache
 ---> cc6ac0563d52
Step 16/32 : ENV PG_PORT 5432
 ---> Using cache
 ---> 2bfe6533adfc
Step 17/32 : ENV PG_USER postgres
 ---> Using cache
 ---> f76500ad60a4
Step 18/32 : ENV PG_DB_NAME xena-pyramid
 ---> Running in 82fc3d5e5f95
Removing intermediate container 82fc3d5e5f95
 ---> 9eba9e1def1d
Step 19/32 : ENV DRIVE_DISK local
 ---> Running in 6f4b072a20b5
Removing intermediate container 6f4b072a20b5
 ---> 9975173d82f7
Step 20/32 : ENV ENV_SILENT true
 ---> Running in d8a9456072c6
Removing intermediate container d8a9456072c6
 ---> 851bb038aef8
Step 21/32 : ENV HOST 0.0.0.0
 ---> Running in 2a2332517b2e
Removing intermediate container 2a2332517b2e
 ---> 8182d10378f5
Step 22/32 : ENV PORT 60667
 ---> Running in eba683d5a574
Removing intermediate container eba683d5a574
 ---> 8fb479690f56
Step 23/32 : ENV BUILD_DESTINATION ./xena-pyramid-software-builds/
 ---> Running in b7048600468d
Removing intermediate container b7048600468d
 ---> 990e6d9b030b
Step 24/32 : RUN apk update && apk add git go
 ---> Running in 46604bf542d3
fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz
fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz
v3.15.0-311-g0a14a1ab9a [https://dl-cdn.alpinelinux.org/alpine/v3.15/main]
v3.15.0-317-g9e5746dcc2 [https://dl-cdn.alpinelinux.org/alpine/v3.15/community]
OK: 15859 distinct packages available
(1/18) Installing ca-certificates (20211220-r0)
(2/18) Installing brotli-libs (1.0.9-r5)
(3/18) Installing nghttp2-libs (1.46.0-r0)
(4/18) Installing libcurl (7.80.0-r0)
(5/18) Installing expat (2.4.5-r0)
(6/18) Installing pcre2 (10.39-r0)
(7/18) Installing git (2.34.1-r0)
(8/18) Installing binutils (2.37-r3)
(9/18) Installing libgomp (10.3.1_git20211027-r0)
(10/18) Installing libatomic (10.3.1_git20211027-r0)
(11/18) Installing libgphobos (10.3.1_git20211027-r0)
(12/18) Installing gmp (6.2.1-r1)
(13/18) Installing isl22 (0.22-r0)
(14/18) Installing mpfr4 (4.1.0-r0)
(15/18) Installing mpc1 (1.2.1-r0)
(16/18) Installing gcc (10.3.1_git20211027-r0)
(17/18) Installing musl-dev (1.2.2-r7)
(18/18) Installing go (1.17.4-r0)
Executing busybox-1.34.1-r3.trigger
Executing ca-certificates-20211220-r0.trigger
OK: 509 MiB in 34 packages
Removing intermediate container 46604bf542d3
 ---> e86449b23ef7
Step 25/32 : USER node
 ---> Running in 5c4e65e8bcae
Removing intermediate container 5c4e65e8bcae
 ---> 2bef91144b2b
Step 26/32 : RUN mkdir -p /home/node/app/
 ---> Running in fdc32615ff4f
Removing intermediate container fdc32615ff4f
 ---> 96f3b789f3c8
Step 27/32 : WORKDIR /home/node/app
 ---> Running in 8e62e3d5a1bb
Removing intermediate container 8e62e3d5a1bb
 ---> eb38916103ee
Step 28/32 : COPY --from=builder /home/node/build ./build
 ---> 0fafb1e955db
Step 29/32 : COPY --from=installer /home/node/node_modules ./build/node_modules
 ---> 30b858162dd9
Step 30/32 : COPY package*.json ./build
 ---> bb70a6e61cb1
Step 31/32 : EXPOSE 60667
 ---> Running in 8f8bd355a815
Removing intermediate container 8f8bd355a815
 ---> 4cc5c67b9d27
Step 32/32 : CMD [ "node", "./build/server.js" ]
 ---> Running in 2f674e9cbb03
Removing intermediate container 2f674e9cbb03
 ---> 908dbd053db0
Successfully built 908dbd053db0
Successfully tagged xena-service-pyramid:latest
ef8de31ffd4bd77c1ab97aa996f61f2109893358060aedb9b0ddc27a17593664
❯ migrated database/migrations/1623433365454_build_profiles
❯ migrated database/migrations/1623535254288_builds

Migrated in 290 ms
5b455409237cf190de99d5a1af87ad27f29f4b2c08f4ed845a3d6491a360ef59
Sending build context to Docker daemon  100.9kB
Step 1/30 : FROM node:16-alpine as builder
 ---> 0e1547c0f4a4
Step 2/30 : RUN apk add --no-cache git
 ---> Using cache
 ---> ab1052d1a514
Step 3/30 : WORKDIR /home/node
 ---> Using cache
 ---> b401de56d894
Step 4/30 : COPY package.json ./
 ---> c67efa3bf0fb
Step 5/30 : RUN yarn install
 ---> Running in df7fc8b0389e
yarn install v1.22.17
info No lockfile found.
[1/4] Resolving packages...
warning mssql > tedious > adal-node > 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 @adonisjs/assembler > cpy > globby > fast-glob > micromatch > snapdragon > source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated
warning @adonisjs/assembler > cpy > globby > fast-glob > micromatch > snapdragon > source-map-resolve > resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
warning @adonisjs/assembler > cpy > globby > fast-glob > micromatch > snapdragon > source-map-resolve > urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
warning @adonisjs/assembler > cpy > globby > fast-glob > micromatch > snapdragon > source-map-resolve > source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
success Saved lockfile.
Done in 38.08s.
Removing intermediate container df7fc8b0389e
 ---> 95d7794fee0a
Step 6/30 : COPY . .
 ---> 913d9e7b54fb
Step 7/30 : RUN yarn build
 ---> Running in 7cdf2677f716
yarn run v1.22.17
$ node ace build --production --ignore-ts-errors
[ info ]  cleaning up "./build" directory
[ info ]  compiling typescript source files
[ info ]  copy { ace,package.json,yarn.lock => build }
[ info ]  copy { .adonisrc.json => build }
CREATE: ace-manifest.json file
[ success ]  built successfully

╭────────────────────────────────────────────────────────────────────────╮
│    Run the following commands to start the server in production        │
│────────────────────────────────────────────────────────────────────────│
│                                                                        │
│    ❯ cd build                                                          │
│    ❯ yarn install --production                                         │
│    ❯ node server.js                                                    │
│                                                                        │
╰────────────────────────────────────────────────────────────────────────╯
Done in 7.32s.
Removing intermediate container 7cdf2677f716
 ---> 99738dcee5a6
Step 8/30 : FROM node:16-alpine as installer
 ---> 0e1547c0f4a4
Step 9/30 : RUN apk add --no-cache git
 ---> Using cache
 ---> ab1052d1a514
Step 10/30 : WORKDIR /home/node
 ---> Using cache
 ---> b401de56d894
Step 11/30 : COPY package.json ./
 ---> Using cache
 ---> c67efa3bf0fb
Step 12/30 : RUN yarn install --prod=true --frozen-lockfile
 ---> Running in b9ba27e2c456
yarn install v1.22.17
info No lockfile found.
[1/4] Resolving packages...
warning mssql > tedious > adal-node > 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 @adonisjs/assembler > cpy > globby > fast-glob > micromatch > snapdragon > source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated
warning @adonisjs/assembler > cpy > globby > fast-glob > micromatch > snapdragon > source-map-resolve > resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
warning @adonisjs/assembler > cpy > globby > fast-glob > micromatch > snapdragon > source-map-resolve > urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
warning @adonisjs/assembler > cpy > globby > fast-glob > micromatch > snapdragon > source-map-resolve > source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
Done in 34.60s.
Removing intermediate container b9ba27e2c456
 ---> 5f86dc5b1049
Step 13/30 : FROM node:16-alpine
 ---> 0e1547c0f4a4
Step 14/30 : ENV NODE_ENV production
 ---> Using cache
 ---> 1b979e4de677
Step 15/30 : ENV DB_CONNECTION pg
 ---> Using cache
 ---> cc6ac0563d52
Step 16/30 : ENV PG_PORT 5432
 ---> Using cache
 ---> 2bfe6533adfc
Step 17/30 : ENV PG_USER postgres
 ---> Using cache
 ---> f76500ad60a4
Step 18/30 : ENV PG_DB_NAME xena-domena
 ---> Running in 425ff028549d
Removing intermediate container 425ff028549d
 ---> 7b6eced0e158
Step 19/30 : ENV DRIVE_DISK local
 ---> Running in 4a86d5313fea
Removing intermediate container 4a86d5313fea
 ---> 61b6547eb83a
Step 20/30 : ENV ENV_SILENT true
 ---> Running in be6d48994de8
Removing intermediate container be6d48994de8
 ---> f2affdfcb7de
Step 21/30 : ENV HOST 0.0.0.0
 ---> Running in 126d638eda03
Removing intermediate container 126d638eda03
 ---> 5c4eb22a6604
Step 22/30 : ENV PORT 60798
 ---> Running in 995669e4c7fc
Removing intermediate container 995669e4c7fc
 ---> 60cfb3b48398
Step 23/30 : USER node
 ---> Running in a89735019b39
Removing intermediate container a89735019b39
 ---> 80ae8f458492
Step 24/30 : RUN mkdir -p /home/node/app/
 ---> Running in d256197d8954
Removing intermediate container d256197d8954
 ---> 3ffebf2b628c
Step 25/30 : WORKDIR /home/node/app
 ---> Running in 1499f402fe37
Removing intermediate container 1499f402fe37
 ---> 0ae4c5d112d5
Step 26/30 : COPY --from=builder /home/node/build ./build
 ---> 62afe18a68e0
Step 27/30 : COPY --from=installer /home/node/node_modules ./node_modules
 ---> bf07e1b86bac
Step 28/30 : COPY package.json ./
 ---> ae4a7dcc7e01
Step 29/30 : EXPOSE 60798
 ---> Running in 61409da6a6ee
Removing intermediate container 61409da6a6ee
 ---> 3fc0385841a3
Step 30/30 : CMD [ "node", "./build/server.js" ]
 ---> Running in 139ba9020afa
Removing intermediate container 139ba9020afa
 ---> 0e3e27748723
Successfully built 0e3e27748723
Successfully tagged xena-service-domena:latest
005d2b6db4215e8f050fd5983367b37ea622f242425e1736e77689847e598b07
❯ migrated database/migrations/1638801196537_services

Migrated in 231 ms
Sending build context to Docker daemon  18.43kB
Step 1/6 : FROM golang:1.17.0-alpine
1.17.0-alpine: Pulling from library/golang
a0d0a0d46f8b: Pull complete 
31adcdaf11c8: Pull complete 
b8b176561691: Pull complete 
5ea3a45ba3ce: Pull complete 
19d3675075e9: Pull complete 
Digest: sha256:c03a922dfb0d6d3a94d46cc5be69002011763595ac2786068fde63ee174d797b
Status: Downloaded newer image for golang:1.17.0-alpine
 ---> 5a6ac0d9a8df
Step 2/6 : RUN mkdir /app
 ---> Running in 1f2dd4eb72a8
Removing intermediate container 1f2dd4eb72a8
 ---> 7b9a9fe80af3
Step 3/6 : ADD . /app
 ---> 5d08ca64bf1f
Step 4/6 : WORKDIR /app
 ---> Running in 86d3a5e94797
Removing intermediate container 86d3a5e94797
 ---> d43bb83f9f30
Step 5/6 : RUN go build -ldflags="-w -s" -o main .
 ---> Running in 3f6e93b82d76
Removing intermediate container 3f6e93b82d76
 ---> 8d988067bf7a
Step 6/6 : CMD ["/app/main"]
 ---> Running in a01ad10d8e98
Removing intermediate container a01ad10d8e98
 ---> 3a32376f4ab8
Successfully built 3a32376f4ab8
Successfully tagged xena-service-gateway:latest
5d700b689f28974222d6ad7cf6192c0c650cc3991e08ff3dfe661587f6d2fd3a
Sending build context to Docker daemon  6.976MB
Step 1/12 : FROM node:16-alpine
 ---> 0e1547c0f4a4
Step 2/12 : RUN mkdir -p /usr/src/xena-service-face
 ---> Running in 18764a4108c7
Removing intermediate container 18764a4108c7
 ---> f9696c7decb6
Step 3/12 : WORKDIR /usr/src/xena-service-face
 ---> Running in 7ca7222dda37
Removing intermediate container 7ca7222dda37
 ---> d2883fea6279
Step 4/12 : RUN apk update && apk upgrade
 ---> Running in c5a305b22354
fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz
fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz
v3.15.0-311-g0a14a1ab9a [https://dl-cdn.alpinelinux.org/alpine/v3.15/main]
v3.15.0-317-g9e5746dcc2 [https://dl-cdn.alpinelinux.org/alpine/v3.15/community]
OK: 15859 distinct packages available
(1/5) Upgrading busybox (1.34.1-r3 -> 1.34.1-r4)
Executing busybox-1.34.1-r4.post-upgrade
(2/5) Upgrading ca-certificates-bundle (20191127-r7 -> 20211220-r0)
(3/5) Upgrading libcrypto1.1 (1.1.1l-r7 -> 1.1.1l-r8)
(4/5) Upgrading libssl1.1 (1.1.1l-r7 -> 1.1.1l-r8)
(5/5) Upgrading ssl_client (1.34.1-r3 -> 1.34.1-r4)
Executing busybox-1.34.1-r4.trigger
OK: 7 MiB in 16 packages
Removing intermediate container c5a305b22354
 ---> f6a0dbc23731
Step 5/12 : RUN apk add git
 ---> Running in fa9f2a8e40fa
(1/7) Installing ca-certificates (20211220-r0)
(2/7) Installing brotli-libs (1.0.9-r5)
(3/7) Installing nghttp2-libs (1.46.0-r0)
(4/7) Installing libcurl (7.80.0-r0)
(5/7) Installing expat (2.4.5-r0)
(6/7) Installing pcre2 (10.39-r0)
(7/7) Installing git (2.34.1-r0)
Executing busybox-1.34.1-r4.trigger
Executing ca-certificates-20211220-r0.trigger
OK: 21 MiB in 23 packages
Removing intermediate container fa9f2a8e40fa
 ---> 601f5e534500
Step 6/12 : COPY . /usr/src/xena-service-face/
 ---> 8dd267d49990
Step 7/12 : RUN npm install
 ---> Running in c24281ecf18a
npm WARN deprecated source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated
npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated querystring@0.2.1: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
npm WARN deprecated source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated
npm WARN deprecated flatten@1.0.3: flatten is deprecated in favor of utility frameworks such as lodash.
npm WARN deprecated @types/browserslist@4.15.0: This is a stub types definition. browserslist provides its own type definitions, so you do not need this installed.
npm WARN deprecated vuex-persistedstate@4.1.0: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
npm WARN deprecated querystring@0.2.0: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
npm WARN deprecated chokidar@2.1.8: Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies
npm WARN deprecated svgo@1.3.2: This SVGO version is no longer supported. Upgrade to v2.x.x.
npm WARN deprecated 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.

added 1421 packages, and audited 1422 packages in 2m

114 packages are looking for funding
  run `npm fund` for details

15 vulnerabilities (7 moderate, 8 high)

To address issues that do not require attention, run:
  npm audit fix

To address all issues (including breaking changes), run:
  npm audit fix --force

Run `npm audit` for details.
npm notice 
npm notice New minor version of npm available! 8.3.1 -> 8.5.2
npm notice Changelog: <https://github.com/npm/cli/releases/tag/v8.5.2>
npm notice Run `npm install -g npm@8.5.2` to update!
npm notice 
Removing intermediate container c24281ecf18a
 ---> e05aee2629ab
Step 8/12 : RUN npm run build
 ---> Running in 9ada5dc0f568

> xena-face@1.0.0 build
> nuxt build

 WARN  webpack@5.69.1 is installed but ^4.46.0 is expected

 WARN  No .env file found in /usr/src/xena-service-face.

ℹ Production build
ℹ Bundling only for client side
ℹ Target: static
ℹ Using components loader to optimize imports
ℹ Discovered Components: .nuxt/components/readme.md
✔ Builder initialized
✔ Nuxt files generated

 FATAL  Rule can only have one resource source (provided resource and test + include + exclude) in {
  "use": [
    {
      "loader": "/usr/src/xena-service-face/node_modules/babel-loader/lib/index.js",
      "options": {
        "configFile": false,
        "babelrc": false,
        "cacheDirectory": false,
        "envName": "client",
        "presets": [
          [
            "/usr/src/xena-service-face/node_modules/@nuxt/babel-preset-app/src/index.js",
            {
              "corejs": {
                "version": 3
              }
            }
          ]
        ]
      },
      "ident": "clonedRuleSet-4[0].rules[0].use[0]"
    }
  ]
}

  "use": [
  {
  "loader": "node_modules/babel-loader/lib/index.js",
  "options": {
  "configFile": false,
  "babelrc": false,
  "cacheDirectory": false,
  "envName": "client",
  "presets": [
  [
  "node_modules/@nuxt/babel-preset-app/src/index.js",
  {
  "corejs": {
  "version": 3
  }
  }
  ]
  ]
  },
  "ident": "clonedRuleSet-4[0].rules[0].use[0]"
  }
  ]
  }
  at checkResourceSource (node_modules/@nuxt/webpack/node_modules/webpack/lib/RuleSet.js:167:11)
  at Function.normalizeRule (node_modules/@nuxt/webpack/node_modules/webpack/lib/RuleSet.js:198:4)
  at node_modules/@nuxt/webpack/node_modules/webpack/lib/RuleSet.js:110:20
  at Array.map (<anonymous>)
  at Function.normalizeRules (node_modules/@nuxt/webpack/node_modules/webpack/lib/RuleSet.js:109:17)
  at new RuleSet (node_modules/@nuxt/webpack/node_modules/webpack/lib/RuleSet.js:104:24)
  at new NormalModuleFactory (node_modules/@nuxt/webpack/node_modules/webpack/lib/NormalModuleFactory.js:115:18)
  at Compiler.createNormalModuleFactory (node_modules/@nuxt/webpack/node_modules/webpack/lib/Compiler.js:636:31)
  at Compiler.newCompilationParams (node_modules/@nuxt/webpack/node_modules/webpack/lib/Compiler.js:653:30)
  at Compiler.compile (node_modules/@nuxt/webpack/node_modules/webpack/lib/Compiler.js:661:23)
  at node_modules/@nuxt/webpack/node_modules/webpack/lib/Compiler.js:321:11
  at Compiler.readRecords (node_modules/@nuxt/webpack/node_modules/webpack/lib/Compiler.js:529:11)
  at node_modules/@nuxt/webpack/node_modules/webpack/lib/Compiler.js:318:10
  at AsyncSeriesHook.eval [as callAsync] (eval at create (node_modules/@nuxt/webpack/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:15:1)
  at AsyncSeriesHook.lazyCompileHook (node_modules/@nuxt/webpack/node_modules/tapable/lib/Hook.js:154:20)
  at node_modules/@nuxt/webpack/node_modules/webpack/lib/Compiler.js:315:19

╭──────────────────────────────────────────────────────────────────────────────╮│                                                                              ││   ✖ Nuxt Fatal Error                                                         ││                                                                              ││   Error: Rule can only have one resource source (provided resource and       ││   test +                                                                     ││   include + exclude) in {                                                    ││   "use": [                                                                   ││   {                                                                          ││   "loader":                                                                  ││   "/usr/src/xena-service-face/node_modules/babel-loader/lib/index.js",       ││   "options": {                                                               ││   "configFile": false,                                                       ││   "babelrc": false,                                                          ││   "cacheDirectory": false,                                                   ││   "envName": "client",                                                       ││   "presets": [                                                               ││   [                                                                          ││   "/usr/src/xena-service-face/node_modules/@nuxt/babel-preset-app/src/inde   ││   x.js",                                                                     ││   {                                                                          ││   "corejs": {                                                                ││   "version": 3                                                               ││   }                                                                          ││   }                                                                          ││   ]                                                                          ││   ]                                                                          ││   },                                                                         ││   "ident": "clonedRuleSet-4[0].rules[0].use[0]"                              ││   }                                                                          ││   ]                                                                          ││   }                                                                          ││                                                                              │╰──────────────────────────────────────────────────────────────────────────────╯

The command '/bin/sh -c npm run build' returned a non-zero code: 1

i pulled latest changes from production branch

zarkones commented 2 years ago

@not-NEKO Interesting. If you go to user-interfaces/xena-service-face and install the node packages, then the setup script works. Will update you once I find more details about this.

zarkones commented 2 years ago

Seems fixed. Please:

zarkones commented 2 years ago

Fixed.

  1. Pull from production branch.
  2. Delete existing containers with the prefix "xena".
  3. Run setup process again.