Skip to content

Cannot read properties of undefined (reading 'JsonRpcProvider') #2706

Answered by othaime-en
shrutikanwal asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @shrutikanwal for starters, change ether to ethers in the line const ethers = require("ether");
It should be const ethers = require("ethers");

Replies: 10 comments 33 replies

Comment options

You must be logged in to vote
8 replies
@Ozoano
Comment options

@Zeshan214
Comment options

@bjwealthy
Comment options

@devHk0Matsu4zkrei
Comment options

@devHk0Matsu4zkrei
Comment options

Comment options

You must be logged in to vote
2 replies
@othaime-en
Comment options

@Ikramullah89
Comment options

Answer selected by shrutikanwal
Comment options

You must be logged in to vote
3 replies
@paulcoffee85
Comment options

@Zeshan214
Comment options

@Zeshan214
Comment options

Comment options

You must be logged in to vote
2 replies
@Ozoano
Comment options

@MoriahYen
Comment options

Comment options

You must be logged in to vote
5 replies
@Ozoano
Comment options

@Ozoano
Comment options

@MrAbuz
Comment options

@TReuschling
Comment options

@Chizitere01
Comment options

Comment options

You must be logged in to vote
8 replies
@MrAbuz
Comment options

@harshpailkar
Comment options

@pratokko
Comment options

@SaiKathiroli
Comment options

@ervand7
Comment options

Comment options

You must be logged in to vote
5 replies
@ezomonglory
Comment options

@0xSardius
Comment options

@P3N5IVE-CH3PE
Comment options

@LoanCardoso13
Comment options

@writesky
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet