I get blitzServer.at is not a function error when I try to generate anything (resource, all, queries, etc.) using blitz in a freshly created project.
Paste all your error logs here:
Loaded env from projectDir/.env.local
Loaded env from projectDir/.env
TypeError: blitzServer.at is not a function
at /usr/local/lib/node_modules/blitz/node_modules/@blitzjs/generator/dist/index.cjs:309:75
at Generator.next (<anonymous>)
at fulfilled (/usr/local/lib/node_modules/blitz/node_modules/@blitzjs/generator/dist/index.cjs:273:24)
What is the problem?
I get
blitzServer.at is not a function
error when I try to generate anything (resource, all, queries, etc.) using blitz in a freshly created project.Paste all your error logs here:
Paste all relevant code snippets here:
What are detailed steps to reproduce this?
blitz new test
blitz generate all test
Run
blitz -v
and paste the output here:Please include below any other applicable logs and screenshots that show your problem:
No response