v1.0.0Version 1.0: 122 business website templates in Tailwind HTML, Tailwind + Vite, Next.js, React, Astro, Vue, Nuxt, SvelteKit and Laravel.

Docs/07 Help

Troubleshooting

Fix common problems with a Briks template: Node version, port 3000 in use, forms that cannot send, missing emails, admin sign-in, database URL.

Updated 23 November 2026

You can find the fix for the most common problems here, each under the question you would ask.

The install fails or the build shows a version error

Check your Node version with node --version. Templates need Node.js 24 or newer. Node 26 LTS is recommended. Install a newer version, then run npm install again.

Port 3000 is already in use

The dev server and npm start both use port 3000 by default. Another program is using it. Stop that program, or use another port:

  • npm run dev -- -p 4000 for the dev server.
  • npm start -- -p 4000 for a feature template. PORT=4000 npm start does the same.

My form says it cannot send

No form endpoint is set. Set forms: { endpoint } in content/owner.ts to your WebForms.to address, https://send.webforms.to/<key>. A template with a database does not need one. See Forms.

If the endpoint is set and the form still fails, check that the endpoint answers with { "ok": true }. Give your AI agent prompts/06-connect-forms-webforms.md so components/form.tsx matches the WebForms.to request and response.

Emails are not arriving

  1. Check MAIL_PROVIDER in .env. With console, emails are printed in the terminal and never sent.
  2. With smtp, check that SMTP_URL matches your provider, for example smtp://user:pass@mail.example.com:587.
  3. With resend, check RESEND_API_KEY.
  4. Check that MAIL_FROM is an address your provider allows.
  5. Restart the site after you change .env.

See Email.

I cannot sign in as the first admin

  1. Check that ADMIN_EMAIL and ADMIN_PASSWORD are set in .env. The password needs at least 10 characters.
  2. Restart the site.
  3. Go to /admin/sign-in and sign in with those two values. The admin account does not exist until this first sign-in, and the sign-in creates it.
  4. Change the password.

Visitors sign up at /account/sign-up and sign in at /account/sign-in.

The database URL is rejected

Use one of these forms in DATABASE_URL:

  • file:./data/site.db for SQLite
  • libsql://… with DATABASE_TOKEN for Turso
  • postgres://user:password@host:5432/name for PostgreSQL

Run npm run db:migrate after you change it. See Accounts and database.

Pages show 404 on Cloudflare Workers

The settings in wrangler.jsonc are wrong or the build is out of date.

  1. Set assets.directory to ./out.
  2. Set assets.html_handling to auto-trailing-slash, so folder pages such as about/index.html open at /about/.
  3. Run SITE_URL=https://your-domain.com npm run build again.
  4. Run npx wrangler deploy.

See Deploy a static site.

The sitemap lists example.com addresses

The sitemap uses SITE_URL for its addresses. Without it, the addresses point at https://example.com. Build again with SITE_URL=https://your-domain.com npm run build. This applies to static sites too.

The site does not start after I change db/schema.ts

Run npm run db:generate, then npm run db:migrate.

Your next client site is mostly built.

122 websites, $79 once, for every site you build. New templates and updates are free for life.

Works with any AI agent

  • Claude
  • Claude Code
  • OpenAI
  • Codex
  • Grok
  • Grok Bot
  • OpenClaw
  • Hermes Agent
  • Gemini
  • Antigravity
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Cline
  • Kiro
  • Junie
  • Replit
  • v0
  • Ollama

+ any agent that reads AGENTS.md