Open edmbn opened 2 years ago
Was it working with next-translate
with previous Blitz releases?
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)
Linux 5.13 | linux-x64 | Node: v14.18.3
blitz: 0.45.3 (global)
blitz: 0.45.3 (local)
Package manager: yarn
System:
OS: Linux 5.13 Ubuntu 20.04.3 LTS (Focal Fossa)
CPU: (8) x64 Intel(R) Core(TM) i7-10510U CPU @ 1.80GHz
Memory: 169.30 MB / 15.33 GB
Shell: 3.3.1 - /usr/bin/fish
Binaries:
Node: 14.18.3 - ~/.nvm/versions/node/v14.18.3/bin/node
Yarn: 3.1.1 - /usr/bin/yarn
npm: 6.14.16 - /usr/bin/npm
Watchman: Not Found
npmPackages:
@prisma/client: 3.9.2 => 3.9.2
blitz: 0.45.3 => 0.45.3
prisma: 3.9.2 => 3.9.2
react: 18.0.0-beta-149b420f6-20211119 => 18.0.0-beta-149b420f6-20211119
react-dom: 18.0.0-alpha-5ca4b0433-20211020 => 18.0.0-alpha-5ca4b0433-20211020
typescript: ~4.5.5 => 4.5.5
I'm getting this after upgrading from 0.39.0 to 0.45.3.
I'm also confirming issue is still happening with version 0.45.3
. Is there any workaround?
Sorry, but was is the status of this issue? This is not clear to me since this one is closed: https://github.com/blitz-js/legacy-framework/issues/385
Is there anything I could do to help on this topic?
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