Troubleshooting
Preview won't start
Working through a preview that stays on Installing, fails to start, or shows an error.
Updated 8 Nov 2026
The progress panel names the step that's stuck. Find it below.
Stuck on "Installing dependencies"
The template's packages are pre-installed, so a long install means you've added packages (or the model did). A large dependency can take a couple of minutes on the first start. If it exceeds the startup budget, the panel shows the install log — look for the failing package.
Common causes:
- A package that needs native build tools (
sharp,bcrypt,canvas) — ask the model for a pure-JS alternative (bcryptjs,jimp). - A typo in
package.jsonfrom a manual edit — check the JSON is valid.
"The app exited during startup"
The dev server crashed immediately. The panel shows the last lines of the log. Typical:
Module not found— a file imports something that doesn't exist. Paste the error into the chat; the model will fix the import or create the file.- A syntax error in a file you edited by hand — open it in the editor.
- Port already in use inside the container — Stop and Run again.
"Did not respond within 7 minutes"
The process is running but the first page never answered. Usually the first compile is hung on a bad file. Open the preview URL in a new tab: if Next shows an error overlay, that's the file. Otherwise Stop, Run again, and if it repeats, revert to the last version that worked.
Preview loads but shows an error page
That's your app's own error — the Next.js overlay shows the stack trace. The most common one on a fresh project is a database query failing because a table doesn't exist yet; the template creates tables on first use, but code the model wrote may not. Ask it to add the CREATE TABLE IF NOT EXISTS for the new table.
Preview loads but is blank
Check the browser console (F12 → Console). A client-side exception in a component leaves the page empty. Paste the message into the chat.
Preview link asks for sign-in
Previews are private: only signed-in members of the project can open one. If someone you sent the link to sees a sign-in page, invite them with Share in the builder (they need a SpinBuild account), or publish the project to give them a public URL. If it asks you to sign in on your own project, sign in to SpinBuild in the same browser first. If it still refuses you, contact support with the URL and the message shown.
Still stuck
Stop preview → Run preview restarts the whole container. If a restart doesn't help and the last change is suspect, revert to the previous version. If neither works, contact support with the project name and the text from the progress panel.