-
-
Notifications
You must be signed in to change notification settings - Fork 2
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
SessionMiddleware not available on Vercel #13
Comments
Was it working with |
I didn't try since I was using next-rosetta. Once I added the blitz.config.ts change with next-translate it started showing this error on production. |
I think there's a bug related to wrapping the config — I noticed the same issue locally with a different library. In your case, does it also happen locally? |
With next-translate I can't reproduce it locally |
I can confirm it's only happening on Vercel in my case. On Render it is working fine. |
I confirm I have the same issue on Vercel, but not on render (I just give it a try)
I'm getting this after upgrading from 0.39.0 to 0.45.3. |
I'm also confirming issue is still happening with version |
Sorry, but was is the status of this issue? This is not clear to me since this one is closed: #385 Is there anything I could do to help on this topic? |
same problem 🥲 Is it have any solution? |
Running into this problem today. Any fixes? |
@ericmil87 no way if u use 0.x version, blitz team they dont wanna fix this in 0.x version Have to use 2.x if u still wanna use blitz on vercel. |
What is the problem?
Using Vercel on production, on latest version of Blitz (0.42.4), I get an authentication error: "Sorry, we had an unexpected error. Please try again. - TypeError: Cannot read property '$create' of undefined".
Paste all your error logs here:
Paste all relevant code snippets here:
This is my blitz.config.ts (without next-translate worked fine):
What are detailed steps to reproduce this?
Run
blitz -v
and paste the output here:Please include below any other applicable logs and screenshots that show your problem:
No response
The text was updated successfully, but these errors were encountered: