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

Start - Server functions on stackblitz getting "Context is not available" error #2792

Open
IHIutch opened this issue Nov 17, 2024 · 2 comments
Labels
start Everything about TanStack Start

Comments

@IHIutch
Copy link
Contributor

IHIutch commented Nov 17, 2024

Which project does this relate to?

Start

Describe the bug

Using Start server functions on stackblitz trigger "Context is not available" error

(This example is just a fork of the current "Start Counter" example, as of 11/17/24)

Your Example Website or App

https://stackblitz.com/edit/github-kdyfk7

Steps to Reproduce the Bug or Issue

  1. Open example
  2. Click "add" button

Or

  1. Swap the commented/uncommented loaders

Expected behavior

Server functions run as if they were in a live or local environment

Screenshots or Videos

Image

Image

Platform

  • Stackblitz (not sure what else to put here, but happy to add more info)

Additional context

No response

@dotnize
Copy link

dotnize commented Nov 17, 2024

likely related to #2633

@SeanCassiere
Copy link
Member

The solution for #2633 is not applicable here, since this has to do with how Stackblitz handles its Node-like workers within the browser.

@SeanCassiere SeanCassiere added the start Everything about TanStack Start label Nov 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
start Everything about TanStack Start
Projects
None yet
Development

No branches or pull requests

3 participants