-
Notifications
You must be signed in to change notification settings - Fork 151
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
Blitz.JS Deployment: TypeError: Cannot read property '$create' of undefined #239
Comments
In theory the module should work with Blitz.js.
|
I have successfully deployed BlitzJS to AWS. However, when I try to login or signup an account I get an Error:
I think this issue is related to blitz-js/legacy-framework#13
I don't wrap the config like in the issue in 2955, so I don't get why it's not working correctly. BlitzJS is supported with this module, right?
My blitz.config.ts looks like this:
Maybe it has something to do with the next-tf package. I found in "terraform-aws-next-js/packages/tf-next/src/utils/index.ts" that its parsing for next.config.js not blitz.config.js. Maybe because of that blitz can not wrap around next?
Has anybody an idea how I could fix it? Would really appreciate if somebody know a solution!
Note:
terrafrom destroy
, deleted .tf-next then build again withyarn tf-next
and deployed again withterraform apply
.The text was updated successfully, but these errors were encountered: