question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ReferenceError in JsonRpcProvider

See original GitHub issue

Getting this error

 Uncaught (in promise) ReferenceError: Must call super constructor in derived class before accessing 'this' or returning from derived constructor

in https://github.com/ethers-io/ethers.js/blob/7f0374c5a5ecb636d02f30fc9aa4f358e8fee7e9/packages/providers/src.ts/json-rpc-provider.ts#L238

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:16 (16 by maintainers)

github_iconTop GitHub Comments

2reactions
ricmoocommented, May 12, 2020

FYI. Looks like that issue has been marked to be fixed in TypeScript 4. 😃

1reaction
ricmoocommented, May 13, 2020

The FallbackProvider has also been updated and is available in 5.0.0-beta.187.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to connect ethers.js with metamask? - Stack Overflow
I am getting the error when setting up the provider -: Uncaught ReferenceError: web3 is not defined I want to connect my Decentralized ......
Read more >
ethers-io/Lobby - Gitter
Hi, I'm looking to connect to a private ENS contract on a JsonRpcProvider. ... Getting ReferenceError: window is not defined. Any ideas? Thanks....
Read more >
Following Learn step by step not clear for noob - General
toString() Uncaught ReferenceError: ethers is not defined at evalmachine. ... JsonRpcProvider(providerUrl); const balance = (await provider.
Read more >
API Providers - Ethers.js
JsonRpcProvider · API Providers. EtherscanProvider. InfuraProvider. AlchemyProvider. CloudflareProvider. PocketProvider. AnkrProvider. Other Providers.
Read more >
How to Build a Full Stack NFT Marketplace - V2 (2022)
We use the JsonRpcProvider to get the provider. That's the point. You must provide RPC url of ... ReferenceError: createItem is not defined....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found