-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to resolve path to module '@hookform/error-message' #11
Comments
that shouldn't be the case, can you reproduce this in codesandbox? |
While the statement |
I ran into this myself. I don't have a codesandbox but I did create a barebones CRA reproduction this morning. https://github.com/phil-scott-78/error-message-repo. I've only done some brief troubleshooting, but looking at the files eslint is trying to resolve it looks like it isn't looking in the |
Well that was easy enough once I had a reproduction. Looks like a dist was missing in |
patched thanks @phil-scott-78 very much. |
When I update react hook form version from
5.0.3
to6.0.4
, I faced this errorErrorMessage component not exported from 'react-hook-form'
after installing
npm install @hookform/error-message
and edit the imports to
import { ErrorMessage } from '@hookform/error-message';
I faced this error
Unable to resolve path to module '@hookform/error-message'
The text was updated successfully, but these errors were encountered: