fhrl94 opened a new issue, #31714: URL: https://github.com/apache/superset/issues/31714
### Bug description `git clone --depth=1 https://github.com/apache/superset.git` `docker compose -f docker-compose-non-dev.yml up` docker Version: 27.4.1 npm 已经是最新版 (1.3.10~dfsg-1) Linux 5.15.0-130-generic #140-Ubuntu SMP Wed Dec 18 17:59:53 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux Distributor ID: Ubuntu Description: Ubuntu 22.04.5 LTS Release: 22.04 Codename: jammy 报错提示: ```(base) lxs@lxs:~/data/superset$ sudo docker compose -f docker-compose-non-dev.yml up [+] Building 0.0s (0/1) docker:default [+] Building 12.5s (35/162) docker:default => [superset-worker-beat internal] load build definition from Dockerfile 0.0s ⠴ Service superset-init Building 12.6s => => transferring dockerfile: 8.95kB 0.0s [+] Building 13.3s (40/162) docker:default => [superset-worker-beat internal] load build definition from Dockerfile 0.0s => => transferring dockerfile: 8.95kB 0.0s => [superset-worker internal] load build definition from Dockerfile 0.0s => => transferring dockerfile: 8.95kB 0.0s => [superset-init internal] load build definition from Dockerfile 0.0s => => transferring dockerfile: 8.95kB 0.0s => [superset internal] load build definition from Dockerfile 0.0s => => transferring dockerfile: 8.95kB 0.0s => [superset-worker-beat internal] load metadata for docker.io/library/python:3.10-slim-bookworm 1.4s => [superset-worker-beat internal] load metadata for docker.io/library/node:20-bullseye-slim 2.9s => [superset internal] load .dockerignore 0.0s => => transferring context: 1.30kB 0.0s => [superset-worker-beat internal] load .dockerignore 0.0s => => transferring context: 1.30kB 0.0s => [superset-worker internal] load .dockerignore 0.0s => => transferring context: 1.30kB 0.0s => [superset-init internal] load .dockerignore 0.0s => => transferring context: 1.30kB 0.0s => [superset-worker-beat] importing cache manifest from apache/superset-cache:3.10-slim-bookworm 9.0s => => inferred cache manifest type: application/vnd.oci.image.index.v1+json 0.0s => [superset internal] load build context 0.5s => => transferring context: 494.36kB 0.5s => [superset-worker-beat superset-node 1/11] FROM docker.io/library/node:20-bullseye-slim@sha256:65587343a439fe681ecd2e0446a9467df0165027f2b22337bbcc060b812fccda 0.0s => [superset-worker-beat python-base 1/6] FROM docker.io/library/python:3.10-slim-bookworm@sha256:bdc6c5b8f725df8b009b32da65cbf46bfd24d1c86dce2e6169452c193ad660b4 0.0s => [superset-init internal] load build context 0.5s => => transferring context: 494.36kB 0.5s => [superset-worker-beat internal] load build context 0.6s => => transferring context: 494.36kB 0.5s => [superset-worker internal] load build context 0.6s => => transferring context: 494.36kB 0.6s => CACHED [superset-worker python-translation-compiler 1/4] COPY requirements/translations.txt requirements/ 0.0s => CACHED [superset-init python-base 2/6] RUN useradd --user-group -d /app/superset_home -m --no-log-init --shell /bin/bash superset 0.0s => CACHED [superset-init python-base 3/6] COPY --chmod=755 docker/*.sh /app/docker/ 0.0s => CACHED [superset-init python-base 4/6] RUN pip install --no-cache-dir --upgrade uv 0.0s => CACHED [superset-init python-base 5/6] RUN uv venv /app/.venv 0.0s => CACHED [superset-init python-base 6/6] RUN --mount=type=cache,target=/root/.cache/uv if [ "true" = "true" ] || [ "false" = "true" ]; then uv pip install playwright && playwright install-deps && if [ 0.0s => CACHED [superset-init python-common 1/13] COPY --chmod=755 docker/entrypoints /app/docker/entrypoints 0.0s => CACHED [superset-init python-common 2/13] WORKDIR /app 0.0s => CACHED [superset-init python-common 3/13] RUN mkdir -p /app/superset_home /app/pythonpath superset/static requirements superset-frontend apache_superset.egg-info requirements && t 0.0s => CACHED [superset-init python-common 4/13] COPY pyproject.toml setup.py MANIFEST.in README.md ./ 0.0s => CACHED [superset-init python-common 5/13] COPY superset-frontend/package.json superset-frontend/ 0.0s => CACHED [superset-init python-common 6/13] COPY scripts/check-env.py scripts/ 0.0s => CACHED [superset-worker python-common 7/13] COPY --chmod=755 ./docker/entrypoints/run-server.sh /usr/bin/ 0.0s => CACHED [superset-worker superset-node 8/11] COPY superset-frontend /app/superset-frontend 0.0s => CANCELED [superset-init python-translation-compiler 2/4] RUN --mount=type=cache,target=/root/.cache/uv /app/docker/pip-install.sh --requires-build-essential -r requirements/translations.txt 1.3s => CACHED [superset superset-node 2/11] COPY docker/ /app/docker/ 0.0s => CACHED [superset superset-node 3/11] RUN /app/docker/apt-install.sh build-essential python3 zstd 0.0s => CACHED [superset superset-node 4/11] RUN /app/docker/frontend-mem-nag.sh 0.0s => CACHED [superset superset-node 5/11] WORKDIR /app/superset-frontend 0.0s => CACHED [superset superset-node 6/11] RUN mkdir -p /app/superset/static/assets /app/superset/translations 0.0s => CACHED [superset superset-node 7/11] RUN --mount=type=bind,source=./superset-frontend/package.json,target=./package.json --mount=type=bind,source=./superset-frontend/package-lock.json,target=./package-lock.json --moun 0.0s => CANCELED [superset-init python-common 8/13] RUN /app/docker/apt-install.sh curl libsasl2-dev libsasl2-modules-gssapi-mit libpq-dev libecpg-dev libldap2-dev 1.2s => ERROR [superset-init superset-node 9/11] RUN --mount=type=cache,target=/app/superset-frontend/.temp_cache --mount=type=cache,target=/root/.npm if [ "false" = "false" ]; then echo "Running 'npm run build'"; 1.0s ------ > [superset-init superset-node 9/11] RUN --mount=type=cache,target=/app/superset-frontend/.temp_cache --mount=type=cache,target=/root/.npm if [ "false" = "false" ]; then echo "Running 'npm run build'"; npm run build; else echo "Skipping 'npm run build' in dev mode"; fi;: 0.810 Running 'npm run build' 0.950 [+] Running 0/[email protected] build ⠸ Service superset-init Building 13.4s ⠸ Service superset Building 13.4s ⠸ Service superset-worker-beat Building 13.4s ⠸ Service superset-worker Building 13.4s failed to solve: process "/bin/sh -c if [ \"$DEV_MODE\" = \"false\" ]; then echo \"Running 'npm run ${BUILD_CMD}'\"; npm run ${BUILD_CMD}; else echo \"Skipping 'npm run ${BUILD_CMD}' in dev mode\"; fi;" did not complete successfully: exit code: 127 ``` ### Screenshots/recordings _No response_ ### Superset version master / latest-dev ### Python version 3.11 ### Node version I don't know ### Browser Chrome ### Additional context _No response_ ### Checklist - [X] I have searched Superset docs and Slack and didn't find a solution to my problem. - [X] I have searched the GitHub issue tracker and didn't find a similar bug report. - [X] I have checked Superset's logs for errors and if I found a relevant Python stacktrace, I included it here as text in the "additional context" section. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
