Skip to content

[Bug] SolidStart template's production server returns 404 #255

@SimonShiki

Description

@SimonShiki

Description

The create-solid's SolidStart v2 template created website cannot run properly on production server, since it always returns 404.

Step To Procedure

  1. pnpm create solid@latest
  2. Choose SolidStart V2 + Type Script + bare preset
  3. pnpm i, then pnpm build && pnpm start
  4. Open http://localhost:5173
  5. It returns 404 immediately

Additional Info

  1. Tested on npm and pnpm, bare preset and unocss preset, none of it worked.
  2. The pnpm review seems fine, though unocss stylesheets is lost on unocss preset
  3. Dev server works fine
  4. SolidStart V1 works fine

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions