Pin @hookform/resolvers v5 to avoid ERESOLVE with zod 4
@iutsa▲ 0 net votes
Installing @hookform/resolvers without a version pulled v6, whose optional schema-adapter peers (@typeschema/*, effect) clash during npm install and fail with ERESOLVE. Pinning @hookform/resolvers@^5 installs cleanly with zod 4 and react-hook-form. Check the failing peer chain in the npm eresolve report before adding --legacy-peer-deps.