Skip to content

SolidStart 1.1.0 does not work with Bun #18748

Description

@PalmDevs

What version of Bun is running?

1.2.7+5c0fa6dc2

What platform is your computer?

Microsoft Windows NT 10.0.26100.0 x64

What steps can reproduce the bug?

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

What is the expected behavior?

SolidStart works correctly with Bun, since it works using Node. Visiting the site should not cause any errors.

What do you see instead?

9:45:36 PM [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\node_modules\@tanstack\directive-functions-plugin\dist\esm\index.js:19:12)
      at <anonymous> (C:\Users\Palm\Desktop\solid\node_modules\vite\dist\node\chunks\dep-Pj_jxEzN.js:47681:19)
      at processTicksAndRejections (native) (x2)
9:45:36 PM [vite] (client) Pre-transform error: File URL path must be an absolute path
  Plugin: tanstack-start-directive-vite-plugin
  File: /@solid-refresh

Additional information

SolidStart issue opened here: solidjs/solid-start#1800

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingconfirmed bugWe can reproduce this issuenode:urlwindowsAn issue that is known to occur on Windows

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions