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

excludeEmptyString #802

Closed
easypaymentsfr opened this issue Mar 6, 2020 · 2 comments
Closed

excludeEmptyString #802

easypaymentsfr opened this issue Mar 6, 2020 · 2 comments

Comments

@easypaymentsfr
Copy link

I have following error when i want to build my NextJs App

Sans titre

When i replace

if (options.message || 'excludeEmptyString' in options || options.name) {

by

yup/src/string.js

Lines 79 to 83 in 053e95f

if (
options.message ||
options.hasOwnProperty('excludeEmptyString') ||
options.name
) {

I do not have any problems..

@jreyes33
Copy link

jreyes33 commented Mar 6, 2020

Duplicate of #798. Rolling back to v0.28.1 is a solution for now.

@jquense jquense closed this as completed in 493cc61 Mar 6, 2020
@JClackett
Copy link

@jquense This error seems to be popping up again for a lot of people using the new Next.js 12.x release when using their new Swc minifier.

Here is an issue in the next.js repo.

Not sure if this is a Next.js issue or something with Yup combined with the new version of Next.js.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants