Attempt Details

Package: npm:vite 8.4.0

Artifact: vite-8.4.0.tgz

Status: Failed

Run ID: deps-dev

Started: 2026-11-26 11:08:15

Created: 2026-11-26 11:08:15

Finished: 2026-11-26 11:10:36

Duration: 2m21s

Logs: View in Cloud Storage

Strategy

{
  "npm_custom_build": {
    "repo": "https://github.com/vitejs/vite",
    "ref": "841132ea38d02036bf436375357779af51a68ce5",
    "dir": "packages/vite",
    "npm_version": "11.20.0",
    "node_version": "26.12.0",
    "command": "build",
    "registry_time": "2026-11-26T10:59:36.131Z",
    "prepack_remove_deps": true
  }
}

Full Message

executing rebuild: executing rebuild: build failed in container run phase; the failing command was `/usr/local/bin/npx '--package=npm@11.20.0' -c 'cd packages/vite && npm run build && rm -rf node_modules && npm pack'`

Dockerfile

#syntax=docker/dockerfile:1.10
FROM docker.io/library/alpine:3.21
RUN sed 's/^ //' <<'EOF' | sh
 set -eux
 apk add curl
 curl -f https://storage.googleapis.com/google-rebuild-bootstrap-tools/v0.0.0-20261118191906-6a97fe1f62ab/timewarp > timewarp
 chmod +x timewarp
 apk add git npm
EOF
RUN sed 's/^ //' <<'EOF' | sh
 set -eux
 mkdir /src && cd /src
 git clone https://github.com/vitejs/vite .
 git checkout --force '841132ea38d02036bf436375357779af51a68ce5'
EOF
RUN sed 's/^ //' <<'EOF' | sh
 set -eux
 ./timewarp -port 8080 &
 while ! nc -z localhost 8080;do sleep 1;done
 cd /src
 wget -O - https://unofficial-builds.nodejs.org/download/release/v26.12.0/node-v26.12.0-linux-x64-musl.tar.gz | tar xzf - --strip-components=1 -C /usr/local/
 /usr/local/bin/npx --package=npm@11.20.0 -c 'cd packages/vite && npm_config_registry=http://npm:2026-11-26T10:59:36Z@localhost:8080 npm install --force --no-audit --replace-registry-host=never --allow-remote=all'
EOF
RUN sed 's/^ //' <<'EOF' >/build
 set -eux
 /usr/local/bin/npx --package=npm@11.20.0 -c 'cd packages/vite && npm run build && rm -rf node_modules && npm pack'
 mkdir /out && cp /src/packages/vite/vite-8.4.0.tgz /out/
EOF
WORKDIR "/src"
ENTRYPOINT ["/bin/sh","/build"]