Skip to content
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

Error.captureStackTrace can't be used in all browser builds #2167

Closed
bradleat opened this issue Oct 4, 2019 · 2 comments
Closed

Error.captureStackTrace can't be used in all browser builds #2167

bradleat opened this issue Oct 4, 2019 · 2 comments
Assignees
Labels
bug Bug or defect
Milestone

Comments

@bradleat
Copy link

bradleat commented Oct 4, 2019

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.

@hueniverse hueniverse self-assigned this Oct 5, 2019
@hueniverse hueniverse added the bug Bug or defect label Oct 5, 2019
@hueniverse hueniverse added this to the 16.1.6 milestone Oct 5, 2019
@hueniverse
Copy link
Contributor

Fixed via hapijs/hoek@980cc9c

@lock
Copy link

lock bot commented Jan 9, 2020

This thread has been automatically locked due to inactivity. Please open a new issue for related bugs or questions following the new issue template instructions.

@lock lock bot locked as resolved and limited conversation to collaborators Jan 9, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Bug or defect
Projects
None yet
Development

No branches or pull requests

2 participants