-
-
Notifications
You must be signed in to change notification settings - Fork 26
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
TypeError: (0 , _yup.string)(...).phone is not a function #416
Comments
I'm having the same issue. |
I was also running into this problem. Downgrading to yup-phone 1.2.12 (or even 1.2.8) didn't solve my issue. I believe the root cause here is the way npm handles caret version rules for pre-1.x packages. My project's package.json specified yup |
Same error here, |
@diego06884 as noted in my previous comment, you need to use the same yup minor version as the minor version specified in yup-phone. In your example of yup-phone |
We were able to resolve this by uninstalling yup and yup-phone. then installing yup-phone@1.12.2 first
|
Thanks for reporting. Can any one file a PR for the fix? |
this repo doesnt'work |
@jamesjara @leonel-os I've updated the project. Kindly, check. It's working in codesandbox. |
I was also facing this issue, but resolved this by having the version of |
I was also facing this issue |
Hi,
Today I updated yup-phone to last version. Then one of my validators stops working and I got the following error:
I went back to version 1.2.12 and the issue went away.
Hope you can help me. Regards!
Leonel
The text was updated successfully, but these errors were encountered: