Skip to content

Write a troubleshooting guide for local development #38

Open

Description

@imshashank

There is no docs/troubleshooting.md. A short page covering the failures people actually hit would save new contributors time. Known ones:

  • bun run db:migrate or bun run db:seed fails while bun run dev is running, because PGlite supports one process. Stop the dev server first.
  • Port 3014 is already in use: run bunx next dev --hostname 127.0.0.1 --port 3015.
  • Wrong Node version: Gravity needs Node 22.12+ (.nvmrc).
  • Resetting the demo: stop the server and delete .data/.
  • tests/outreach-postgres.test.ts is skipped unless GRAVITY_POSTGRES_TEST_URL points at a local PostgreSQL superuser URL.

Done when

  • docs/troubleshooting.md lists each problem with its symptom, cause and fix.
  • It is linked from CONTRIBUTING.md and docs/README.md.
  • Add anything else you hit while setting up; that is exactly what this page is for.

Activity

  1. added
    documentation
    good first issue
    on Oct 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationgood first issue

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions