fabian-hiller / valibot

The modular and type safe schema library for validating structural data 🤖
https://valibot.dev
MIT License
5.6k stars 169 forks source link

Attempted import error: 'getDotPath' is not exported fom 'validbot' (imported as 'o') #689

Open cosmemarins opened 1 week ago

cosmemarins commented 1 week ago

Error when running yarn dev

package.json:

"react-hook-form": "^7.51.3",
"@hookform/resolvers": "^3.3.4",
"valibot": "^0.30.0"

Login.tsx:

import type { SubmitHandler } from 'react-hook-form'
import { valibotResolver } from '@hookform/resolvers/valibot'
import * as v from 'valibot'

image

fabian-hiller commented 1 week ago

Please downgrade @hookform/resolvers or upgrade valibot