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

Big integer literals are not available in the configured target environment #10

Closed
sardariuss opened this issue Aug 5, 2022 · 1 comment
Labels
help wanted Extra attention is needed

Comments

@sardariuss
Copy link
Owner

npm run build currently fails (though npm run dev works!) with the error "ERROR: Big integer literals are not available in the configured target environment ("chrome87", "edge88", "es2019", "firefox78", "safari13.1")" even if ES2020 is specified. Tested on wsl2 run in a windows 10 environment. Maybe it is linked to the bug reported here: vercel/next.js#37271.

@sardariuss sardariuss added wontfix This will not be worked on help wanted Extra attention is needed and removed wontfix This will not be worked on labels Aug 5, 2022
@sardariuss
Copy link
Owner Author

The workaround in commit 08f270a is to not use the big integer literals notation, but use the BigInt constructor instead...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant