Hi all,
I'm trying the Blitz tutorial. However, blitz g didn't work for me. Any idea what's going on?
> blitz new first-blitz-app
(all default setting, TypeScript, Full, npm, React Final Form)
> cd first-blitz-app
> blitz dev
> blitz generate all question text:string
Loaded env from /Users/yllan/Projects/lab/first-blitz-app/.env.local
Loaded env from /Users/yllan/Projects/lab/first-blitz-app/.env
TypeError: blitzServer.at is not a function
at /Users/yllan/.nvm/versions/node/v16.4.0/lib/node_modules/blitz/node_modules/@blitzjs/generator/dist/index.cjs:309:75
at Generator.next (<anonymous>)
at fulfilled (/Users/yllan/.nvm/versions/node/v16.4.0/lib/node_modules/blitz/node_modules/@blitzjs/generator/dist/index.cjs:273:24)
Here is my blitz -v information:
Blitz version: 2.0.0-beta.19 (global)
macOS Monterey | darwin-x64 | Node: v16.4.0
Package manager: npm
System:
OS: macOS 12.6
CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
Memory: 833.39 MB / 16.00 GB
Shell: 5.8.1 - /bin/zsh
Binaries:
Node: 16.4.0 - ~/.nvm/versions/node/v16.4.0/bin/node
Yarn: 1.22.17 - ~/.yarn/bin/yarn
npm: 8.4.1 - ~/.nvm/versions/node/v16.4.0/bin/npm
npmPackages:
@blitzjs/auth: Not Found
@blitzjs/next: Not Found
@blitzjs/rpc: Not Found
@prisma/client: Not Found
blitz: Not Found
next: Not Found
prisma: Not Found
react: Not Found
react-dom: Not Found
typescript: Not Found