blitz
blitz copied to clipboard
`blitz new` generating wrong form package
What is the problem?
When generating a new Blitz application I chose React Hook Form for my form package. However, it still went ahead and gave me Formik.
I'm assuming it's not a create-T3-app JavaScript-type joke where I have to use Formik against my will.
Paste all your error logs here:
Paste all relevant code snippets here:
What are detailed steps to reproduce this?
- Create a new Blitz app
- Choose App Router template
- Use pnpm to install dependencies
- Choose React Hook Form for form library
Run blitz -v
and paste the output here:
Blitz version: 2.0.10 (global)
Blitz version: 2.0.10 (local)
macOS Sonoma | darwin-x64 | Node: v20.13.0
Package manager: pnpm
System:
OS: macOS 14.5
CPU: (12) x64 Intel(R) Core(TM) i9-8950HK CPU @ 2.90GHz
Memory: 5.04 GB / 32.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 20.13.0 - ~/.nvm/versions/node/v20.13.0/bin/node
Yarn: 1.22.22 - /usr/local/bin/yarn
npm: 10.5.2 - ~/.nvm/versions/node/v20.13.0/bin/npm
npmPackages:
@blitzjs/auth: 2.0.10 => 2.0.10
@blitzjs/next: 2.0.10 => 2.0.10
@blitzjs/rpc: 2.0.10 => 2.0.10
@prisma/client: 5.4.2 => 5.4.2
blitz: 2.0.10 => 2.0.10
next: 14.1.4 => 14.1.4
prisma: 5.4.2 => 5.4.2
react: 18.2.0 => 18.2.0
react-dom: 18.2.0 => 18.2.0
typescript: ^4.8.4 => 4.9.5
Please include below any other applicable logs and screenshots that show your problem:
pnpm version: 9.1.0 Node.js version: 20.13.0 npm version: 10.5.2