Skip to content

[Bug?]: SolidStart 1.1.0 does not work with Bun#1800

Description

@PalmDevs

Duplicates

  • I have searched the existing issues

Latest version

  • I have tested the latest version

Current behavior 馃槸

Using the bare template, the dev server starts, but going to the site causes server errors:

[vite] Internal server error: File URL path must be an absolute path
  Plugin: tanstack-start-directive-vite-plugin
  File: /@solid-refresh
      at fileURLToPath (native)
      at transform (C:\Users\Palm\Desktop\solid-project\node_modules\@tanstack\directive-functions-plugin\dist\esm\index.js:19:12)
      at <anonymous> (C:\Users\Palm\Desktop\solid-project\node_modules\vite\dist\node\chunks\dep-CfG9u7Cn.js:47598:19)
      at processTicksAndRejections (native) (x4)

Expected behavior 馃

Visiting the site should not cause any server errors.

Steps to reproduce 馃暪

Steps:

  1. Create a new SolidStart project (I used the bare template with TypeScript)
  2. cd into the directory and install dependencies
  3. bun --bun dev (why --bun?)
  4. Once the server starts, visit the site (eg. localhost:3000)
  5. Notice the errors

Context 馃敠

I am trying to use SolidStart with Bun. It has worked great previously, but updating to 1.1.0 causes this issue.

Your environment 馃寧

System:
  OS: Microsoft Windows [Version 10.0.26100.3037]
  CPU: x86_64 (6 cores, 12 processors)
Binaries:
  Bun: 1.2.2
npmPackages:
  @solidjs/start@1.1.0
  solid-js@1.9.4
  vinxi@0.5.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions