Context
What are you trying to achieve or the steps to reproduce ?
Joi.string().email().lowercase()
Which result you had ?
Error.captureStackTrace is not a function
What did you expect ?
The schema to build successfully or an error to be thrown explaining why. In this case apparently Joi is not shipping the tld list with browsers anymore. So the schema build fails.