-
-
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: yup__WEBPACK_IMPORTED_MODULE_0__.string(...).phone is not a function #553
Comments
I have the same issue with 1.2.19 and the solution in #333 does not work for me. |
Also. having this problem, and also on 1.2.19. Going to attempt to rollback and see the latest working version. |
I also have the same issue |
Kindly, reach out to me in any of the platforms given below to volunteer for maintaining this repository. |
This is still a problem. Decided to use |
I am having the same issue. No one else working on the same project is getting the error however. |
@vancampd I've updated the project. Kindly, check. It's working in codesandbox. |
I've done it in my project with the same way as in sandbox, also, my lib version is the same too, but anyway it doesn't work in real project |
@Vadko |
same as here it is not working |
It doesn't work @abhisekp |
For anyone googling an error related to yup_WEBPACK_IMPORTED_MODULE_ and are using babel, just rebuild. |
import * as Yup from "yup";
import "yup-phone";
declare module "yup" {
export interface StringSchema {
phone(countryCode?: string, strict?: boolean): StringSchema;
}
}
After using above code still getting that error.
Versions:
"yup": "^0.32.8",
"yup-phone": "^1.2.19"
The text was updated successfully, but these errors were encountered: