Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After upgrading to solid-start 1.1 local dev builds with bun broke #3499

Open
chris-kruining opened this issue Feb 21, 2025 · 3 comments
Open

Comments

@chris-kruining
Copy link

chris-kruining commented Feb 21, 2025

Which project does this relate to?

Start

Describe the bug

the bug/error seems to be in directive-functions-plugin

when I start with bun --bun dev I get the folling errors ~10 times.

14:34:09 [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 (F:\Github\calque\node_modules\@tanstack\directive-functions-plugin\dist\esm\index.js:23:12)
      at <anonymous> (F:\Github\calque\node_modules\.deno\[email protected]\node_modules\vite\dist\node\chunks\dep-CfG9u7Cn.js:47598:19)
      at processTicksAndRejections (native)

What is kind of weird, and I don't quite understand is that when I modify the id from /@____ to @/____ then everything works just fine. So my suspicion is that this either is a misconfiguration in vite's path resolvers or perhaps the path ought to be /solid-refresh instead (/@solid-refresh is not the only problem case. when I originally dug around I only modified solid-refresh's id, but I then immediately got the same error for /@manifest instead, this is why I think this is a more general error not specific to just solid-refresh).

Your Example Website or App

No response

Steps to Reproduce the Bug or Issue

  1. git clone https://github.com/chris-kruining/calque.git
  2. cd to project
  3. bun --bun dev
  4. open localhost:3000 in browser
  5. observe error

Expected behavior

No response

Screenshots or Videos

No response

Platform

  • OS: Windows 11
  • Browser: Microsoft Edge for Business
  • Version: 133.0.3065.69 (Official build) (64-bit)

Additional context

No response

@schiller-manuel
Copy link
Contributor

cc @birkskyum @brenelz

@brenelz
Copy link
Contributor

brenelz commented Feb 21, 2025

Yeah I think this is on our end but not 100% sure

@brenelz
Copy link
Contributor

brenelz commented Feb 21, 2025

I think this is a duplicate of this?
solidjs/solid-start#1800

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants