Skip to content

yarn build" did not complete successfully: exit code: 1 #227

@hishanxp

Description

@hishanxp

OS:veriosn
PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
NAME="Debian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
ID=debian

Linux CasaOS 5.10.0-33-amd64 #1 SMP Debian 5.10.226-1 (2024-10-03) x86_64 GNU/Linux

Error:

#####@Casaos:~/app-data/Uncoder_IO-main$ sudo docker compose up -d
[sudo] password for ######:
WARN[0000] /home/######/app-data/Uncoder_IO-main/docker-compose.yml: the attribute version is obsolete, it will be ignored, please remove it to avoid potential confusion
[+] Running 0/0
[+] Running 0/2der-os Building 0.1s
⠹ Service uncoder-os Building 0.3s
[+] Building 151.4s (21/21) FINISHED docker:default
=> [uncoder-os internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 260B 0.0s
=> [translator internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 447B 0.0s
=> [translator internal] load metadata for docker.io/library/python:3.9-alpine 1.8s
=> [uncoder-os internal] load metadata for docker.io/library/node:21-alpine3.20 1.8s
=> [uncoder-os internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> [translator internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> [uncoder-os 1/6] FROM docker.io/library/node:21-alpine3.20@sha256:78c45726ea205bbe2f23889470f03b46ac988d14b6d813d095e2e9909f586f93 0.0s
=> [uncoder-os internal] load build context 0.3s
=> => transferring context: 887.11kB 0.3s
=> [translator 1/5] FROM docker.io/library/python:3.9-alpine@sha256:f2f6a5627a879693b8c23e04df0b1a6aae3e09c165fa2a08f5c64b2b54c58d3c 0.0s
=> [translator internal] load build context 0.5s
=> => transferring context: 1.61MB 0.5s
=> CACHED [uncoder-os 2/6] WORKDIR /app 0.0s
=> CACHED [uncoder-os 3/6] COPY package.json tsconfig.json webpack.config.js .env ./ 0.0s
=> CACHED [uncoder-os 4/6] RUN yarn 0.0s
=> CACHED [uncoder-os 5/6] COPY . ./ 0.0s
=> ERROR [uncoder-os 6/6] RUN yarn build 149.1s
=> CACHED [translator 2/5] RUN apk add --update --no-cache linux-headers build-base python3-dev libffi-dev 0.0s
=> CACHED [translator 3/5] WORKDIR /siem_converter 0.0s
=> CACHED [translator 4/5] COPY . . 0.0s
=> CACHED [translator 5/5] RUN pip install --upgrade pip && python -m pip install --upgrade setuptools && pip install --trusted-host=pypi 0.0s
=> [translator] exporting to image 0.0s
=> => exporting layers 0.0s
=> => writing image sha256:6cf4b1aad87ac922528aadd9cbf31eadabdd3be0b2b4817af67f9def88f9fc14 0.0s
=> => naming to docker.io/library/uncoder_io-main-translator 0.0s
=> [translator] resolving provenance for metadata file 0.0s

[uncoder-os 6/6] RUN yarn build:
1.065 yarn run v1.22.19
1.211 $ cross-env NODE_ENV=production webpack
148.8 assets by status 10.9 MiB [cached] 476 assets
148.8 Entrypoint main = style.css main.bundle.js 472 auxiliary assets
148.8 orphan modules 2.31 MiB (javascript) 38.5 KiB (runtime) [orphan] 512 modules
148.8 runtime modules 1.44 KiB 8 modules
148.8 cacheable modules 1.94 MiB (javascript) 1.04 MiB (css/mini-extract) 567 modules
148.8 ./src/index.tsx + 227 modules 469 KiB [not cacheable] [built] [code generated]
148.8
148.8 ERROR in /app/src/components/TextEditor/InputTextEditor/useInputEditor.ts
148.8 ./src/components/TextEditor/InputTextEditor/useInputEditor.ts 37:26-33
148.8 [tsl] ERROR in /app/src/components/TextEditor/InputTextEditor/useInputEditor.ts(37,27)
148.8 TS2339: Property 'require' does not exist on type 'typeof import("ace-builds")'.
148.8 ts-loader-default_04bb2ec108ef140d
148.8 @ ./src/components/TextEditor/InputTextEditor/InputTextEditor.tsx 3:0-50 13:6-20
148.8 @ ./src/components/TextEditor/InputTextEditor/index.ts 1:0-34 1:0-34
148.8 @ ./src/components/TextEditor/index.ts 2:0-52 2:0-52
148.8 @ ./src/pages/UncoderEditor/UncoderEditor.tsx 5:0-119 22:26-42 22:54-73 26:30-45 29:29-45
148.8 @ ./src/pages/UncoderEditor/index.ts 1:0-48 1:0-48
148.8 @ ./src/pages/MainPage/MainPage.tsx 3:0-49 10:20-33
148.8 @ ./src/pages/MainPage/index.ts 1:0-38 1:0-38
148.8 @ ./src/App.tsx 3:0-44 7:17-25
148.8 @ ./src/index.tsx 2:0-24 14:17-20
148.8
148.8 ERROR in /app/src/components/IocsStatistic/useIocsStatistic.ts
148.8 ./src/components/IocsStatistic/useIocsStatistic.ts 1:25-33
148.8 [tsl] ERROR in /app/src/components/IocsStatistic/useIocsStatistic.ts(1,26)
148.8 TS7016: Could not find a declaration file for module 'lodash'. '/app/node_modules/lodash/lodash.js' implicitly has an 'any' type.
148.8 Try npm i --save-dev @types/lodash if it exists or add a new declaration (.d.ts) file containing declare module 'lodash';
148.8 ts-loader-default_04bb2ec108ef140d
148.8 @ ./src/components/IocsStatistic/IocOneElement/IocOneElement.tsx 3:0-55 12:6-22
148.8 @ ./src/components/IocsStatistic/IocOneElement/index.ts 1:0-48 1:0-48
148.8 @ ./src/components/IocsStatistic/IocsStatistic.tsx 3:0-48 12:20-33 15:13-26 18:13-26 21:13-26
148.8 @ ./src/components/IocsStatistic/IocStatisticWrapper.tsx 4:0-48 17:14-27
148.8 @ ./src/components/IocsStatistic/index.ts 1:0-77 1:0-77
148.8 @ ./src/pages/UncoderEditor/UncoderEditor.tsx 8:0-63 26:57-70
148.8 @ ./src/pages/UncoderEditor/index.ts 1:0-48 1:0-48
148.8 @ ./src/pages/MainPage/MainPage.tsx 3:0-49 10:20-33
148.8 @ ./src/pages/MainPage/index.ts 1:0-38 1:0-38
148.8 @ ./src/App.tsx 3:0-44 7:17-25
148.8 @ ./src/index.tsx 2:0-24 14:17-20
148.8
148.8 webpack 5.96.1 compiled with 2 errors in 144277 ms
[+] Running 1/2mand failed with exit code 1.
⠦ Service uncoder-os Building 151.6s
✔ Service translator Built 2.8s
failed to solve: process "/bin/sh -c yarn build" did not complete successfully: exit code: 1
#####@Casaos:~/app-data/Uncoder_IO-main$

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    pFad - Phonifier reborn

    Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

    Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


    Alternative Proxies:

    Alternative Proxy

    pFad Proxy

    pFad v3 Proxy

    pFad v4 Proxy