Your latest push did not put a working site online yet. Here is exactly how our system decides to build your site — and how you control it by your files.
build script in package.json (or no package.json), we put your files online exactly as they are, so your index.html shows up.package.json has a build script for a static tool (React/Vite/Astro, or Next.js with output:'export'), we run the build and publish the built folder (dist/build/out).build but no output:'export', it needs a live server, so we run it for you in a container (you may need to give us the API keys it needs).Right now your repo is in: 🔵 Server app. To switch: delete the build script → 🟢 Plain website · add output:'export' → 🟡 Built app · keep it + send us the API keys → 🔵 Server app.
The build command failed — the exact error is below. Fix it (or switch build mode above), then push to main again — the site rebuilds automatically.
npm warn deprecated node-domexception@1.0.0: Use your platform's native DOMException instead
added 384 packages, and audited 385 packages in 11s
147 packages are looking for funding
run `npm fund` for details
2 moderate severity vulnerabilities
To address all issues (including breaking changes), run:
npm audit fix --force
Run `npm audit` for details.
npm notice
npm notice New major version of npm available! 10.8.2 -> 12.0.1
npm notice Changelog: https://github.com/npm/cli/releases/tag/v12.0.1
npm notice To update run: npm install -g npm@12.0.1
npm notice
> app-promo-kit@0.1.0 build
> next build
⚠ No build cache found. Please configure build caching for faster rebuilds. Read more: https://nextjs.org/docs/messages/no-cache
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 16.2.10 (Turbopack)
Creating an optimized production build ...
✓ Compiled successfully in 3.8s
Running TypeScript ...
Finished TypeScript in 3.2s ...
Collecting page data using 3 workers ...
Error: The OPENAI_API_KEY environment variable is missing or empty; either provide it, or instantiate the OpenAI client with an apiKey option, like new OpenAI({ apiKey: 'My API Key' }).
at new t7 (.next/server/chunks/[root-of-the-server]__1_drphj._.js:5:30675)
at module evaluation (.next/server/chunks/[root-of-the-server]__1_drphj._.js:9:80)
at instantiateModule (.next/server/chunks/[turbopack]_runtime.js:853:9)
at instantiateRuntimeModule (.next/server/chunks/[turbopack]_runtime.js:882:12)
at getOrInstantiateRuntimeModule (.next/server/chunks/[turbopack]_runtime.js:895:12)
at Object.m (.next/server/chunks/[turbopack]_runtime.js:898:18)
at Object.<anonymous> (.next/server/app/api/generate/route.js:7:3)
> Build error occurred
Error: Failed to collect page data for /api/generate
at ignore-listed frames {
type: 'Error'
}
::error::сборка упала и фолбэка нетHackOnVibe CI — this page auto-replaces a broken deploy so you can see exactly what went wrong.