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

Single Flight server actions - SolidStart (notes example) #12191

Open
birkskyum opened this issue Jun 27, 2024 · 0 comments
Open

Single Flight server actions - SolidStart (notes example) #12191

birkskyum opened this issue Jun 27, 2024 · 0 comments
Labels
bug Something isn't working needs triage

Comments

@birkskyum
Copy link
Collaborator

What version of Bun is running?

1.1.17+bb66bba1b

What platform is your computer?

Darwin 23.5.0 arm64 arm

What steps can reproduce the bug?

Create project:

  • bun create solid@latest
  • Is this a Solid-Start project? Yes
  • Which template would you like to use? Notes
  • Use Typescript? Yes

Run:

  • bun i
  • bun --bun run dev
  • Go to http://localhost:3000/
  • Click "New"
  • Fill in "Title" and "Description"
  • Click "Done"

What is the expected behavior?

New note is saved

What do you see instead?

Internal server error in browser console

Terminal shows:

bun --bun run dev
$ vinxi dev
vinxi v0.3.12
vinxi starting dev serverLocal:    http://localhost:3000/Network:  use --host to expose

8:48:05 AM [vite] ✨ new dependencies optimized: marked
8:48:05 AM [vite] ✨ optimized dependencies changed. reloading
[h3] [unhandled] 1 | export default "native";
    ^
error: Unexpected end of JSON input
      at json (native:1:1)

1 | export default "native";
    ^
SyntaxError: Unexpected end of JSON input
      at json (native:1:1)

Additional information

No response

@birkskyum birkskyum added bug Something isn't working needs triage labels Jun 27, 2024
@birkskyum birkskyum mentioned this issue Jun 27, 2024
2 tasks
@birkskyum birkskyum changed the title Single Flight server actions - SolidStart Single Flight server actions - SolidStart (notes example) Jun 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs triage
Projects
None yet
Development

No branches or pull requests

1 participant