-
Notifications
You must be signed in to change notification settings - Fork 314
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
App with react-script throws TypeError: can't convert BigInt to number #1119
Comments
Hey i was trying to solve this exact thing. The thing is, you are going to lose the create-react-app support in both ways. if you eject and add the pollyfills or using react-app-rewired. i've doing some test and using a fresh New crapp, with a connect button to login , haves the same error. But under dev branch used react-app-rewired and the pollyfills so serve -s build whould work correctly Before trying this in your proyect read this aditional content See: |
Yeah i got exactly this problem and took a while to find it in the minified code. So we can't build any production stacks apps since a month or so? uhhh... seriously?
|
for anyone else still here, here's a current fix |
Describe the bug
When running my app "pool registry" (https://github.com/friedger/stacks-pool-registry) with the 2.0.1 in production, I get the error:
TypeError: can't convert BigInt to number
. The app is build usingreact-script
What version of stack.js are you using?
2.0.1
To Reproduce
Steps to reproduce the behavior:
Expected behavior
localhost:5000/hodl should show
Screenshots
If applicable, add screenshots to help explain your problem.
Maybe related to #1096
Additional Context
facebook/create-react-app#6907
The text was updated successfully, but these errors were encountered: