useDApp icon indicating copy to clipboard operation
useDApp copied to clipboard

elliptic.js max callstack exceeded

Open exception opened this issue 3 years ago • 2 comments

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"
  }

exception avatar Feb 16 '22 16:02 exception

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

dmaretskyi avatar Apr 07 '22 14:04 dmaretskyi

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

rzadp avatar Aug 10 '22 10:08 rzadp