Skip to content

TypeError: Cannot read properties of undefined (reading 'JsonRpcProvider') #4724

Discussion options

You must be logged in to vote

Hi - see package.json below:
Also - the JsonRpcProvider is the local ganache server address

{
"dependencies": {
"ethers": "5.7.2",
"fs-extra": "^11.1.0",
"solc": "0.8.7-fixed"
},
"scripts": {
"compile": "yarn solcjs --bin --abi --include-path node_modules/ --base-path . -o . SimpleStorage.sol"
}
}

Thanks!

Replies: 5 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@AmitKochar1
Comment options

Answer selected by LimbicAutomaton
Comment options

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

@Beavnvvv
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

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

@AmitKochar1
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants