Report: Not working
Hugging Face Forums [Unofficial]
April 8, 2026
Job failed with exit code: 1. Reason: cache miss: [builder 4/4] RUN if [ -f yarn.lock ]; then yarn run build; elif [ -f package-lock.json ]; then npm run build; elif [ -f pnpm-lock.yaml ]; then corepack enable pnpm && pnpm run build; else echo “Lockfile not found.” && exit 1; fi cache miss: [builder 3/4] COPY . . cache miss: [runner 5/6] COPY --from=builder --chown=nextjs:nodejs /app/.next/standalone ./ cache miss: [runner 3/6] RUN adduser --system --uid 1001 nextjs cache miss: [runner 6/6] COPY --from=builder --chown=nextjs:nodejs /app/.next/static ./.next/static cache miss: resolve image config for docker-image://docker.io/docker/dockerfile:1 cache miss: [runner 2/6] RUN addgroup --system --gid 1001 nodejs cache miss: [runner 4/6] COPY --from=builder /app/public ./public cache miss: docker-image://docker.io/docker/dockerfile:1@sha256:2780b5c3bab67f1f76c781860de469442999ed1a0d7992a5efdf2cffc0e3d769 {“total”:21,“completed”:16,“user_total”:16,“user_cached”:6,“user_completed”:11,“user_cacheable”:15,“from”:1,“miss”:9,“client_duration_ms”:12643}
Build logs:
===== Build Queued at 2026-04-08 00:22:07 / Commit SHA: e48e56a =====
--> FROM docker.io/library/node:22-alpine@sha256:4d64b49e6c891c8fc821007cb1cdc6c0db7773110ac2c34bf2e6960adef62ed3
DONE 0.0s
--> COPY package.json yarn.lock* package-lock.json* pnpm-lock.yaml* .npmrc* ./
CACHED
--> RUN if [ -f yarn.lock ]; then yarn --frozen-lockfile; elif [ -f package-lock.json ]; then npm ci; elif [ -f pnpm-lock.yaml ]; then corepack enable pnpm && pnpm i --frozen-lockfile; else echo "Lockfile not found." && exit 1; fi
CACHED
--> WORKDIR /app
CACHED
--> RUN apk add --no-cache libc6-compat
CACHED
--> WORKDIR /app
CACHED
--> COPY --from=deps /app/node_modules ./node_modules
CACHED
--> Restoring cache
DONE 6.2s
--> COPY . .
DONE 0.0s
--> RUN if [ -f yarn.lock ]; then yarn run build; elif [ -f package-lock.json ]; then npm run build; elif [ -f pnpm-lock.yaml ]; then corepack enable pnpm && pnpm run build; else echo "Lockfile not found." && exit 1; fi
> nextjs-gemini-2-0-pdf-structured-data@0.1.0 build
> next build
Attention: Next.js now collects completely anonymous telemetry regarding usage.
This information is used to shape Next.js' roadmap and prioritize features.
You can learn more, including how to opt-out if you'd not like to participate in this anonymous program, by visiting the following URL:
https://nextjs.org/telemetry
▲ Next.js 15.1.0
- Experiments (use with caution):
· turbo
Creating an optimized production build ...
Failed to compile.
./app/api/image/route.ts
Module not found: Can't resolve '@google/genai'
https://nextjs.org/docs/messages/module-not-found
> Build failed because of webpack errors
npm notice
npm notice New major version of npm available! 10.9.7 -> 11.12.1
npm notice Changelog: https://github.com/npm/cli/releases/tag/v11.12.1
npm notice To update run: npm install -g npm@11.12.1
npm notice
--> ERROR: process "/bin/sh -c if [ -f yarn.lock ]; then yarn run build; elif [ -f package-lock.json ]; then npm run build; elif [ -f pnpm-lock.yaml ]; then corepack enable pnpm && pnpm run build; else echo \"Lockfile not found.\" && exit 1; fi" did not complete successfully: exit code: 1
Here: Image Generation & Editing - a Hugging Face Space by Gertie2013
@John6666
Discussion in the ATmosphere