TrueFiEng / useDApp

Framework for rapid Dapp development. Simple. Robust. Extendable. Testable
https://usedapp.io
MIT License
1.59k stars 371 forks source link

elliptic.js max callstack exceeded #541

Open exception opened 2 years ago

exception commented 2 years ago

Hello,

For some reason, when using this project, which I've used before. We're getting a callstack exceeded error, as seen below: image

This happens when calling any of the functions from the @usedapp/core package or by including the DAppProvider element, as soon as we remove that, the issue is gone.

Here's our package.json dependencies in case any of them clash:

"dependencies": {
    "@types/node": "^16.11.25",
    "@types/react": "^17.0.39",
    "@types/react-dom": "^17.0.11",
    "@usedapp/core": "^0.11.0",
    "react": "^17.0.2",
    "react-dom": "^17.0.2",
    "react-router-dom": "^6.2.1",
    "react-scripts": "5.0.0",
    "typescript": "^4.5.5"
  },
  "scripts": {
    "start": "react-scripts start",
    "build": "react-scripts build",
    "test": "react-scripts test",
    "eject": "react-scripts eject"
  }
dmaretskyi commented 2 years ago

Hmm, I see a lot of @ampproject/remapping in the stack trace. Do you have any custom plugins setup for your bundler?

rzadp commented 2 years ago

Is this still an issue? Are there any more details?