I'm getting this error when trying to validate phoneUS:

I'm guessing it's due to not having additional-methods.js included in my app. I have 'jquery-validation' installed via npm and have this line in my code:
import 'jquery-validation'
I expected the solution to be something like:
import 'jquery-validation'
import 'jquery-validation/additional-methods'
but that didn't work.
jquery-validate: 1.16.0As a quick workaround you can directly import the file.
import '/node-modules/jquery-validation/dist/additional-methods'
Just make sure to have the right path. For me it was like that.
require('../../../node_modules/jquery-validation/dist/additional-methods.js');
It should be:
// Using ESM
import "jquery-validation/dist/additional-methods.js"
// Using commonjs
require("jquery-validation/dist/additional-methods.js")
Most helpful comment
It should be: