Replies: 1 comment 2 replies
-
The |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Ethers Version
6.0.2
Search Terms
Attempted import error: 'ethers'.'providers' is not exported from 'ethers' (imported as 'ethers').
Describe the Problem
When trying to
import { ethers } from 'ethers
in my react app, and useethers.providers
I get the following error:Code Snippet
import { ethers } from 'ethers' // @ts-ignore console.log(ethers.providers) // gives error
Contract ABI
Errors
Environment
node.js (v12 or newer)
Environment (Other)
MacOS
Beta Was this translation helpful? Give feedback.
All reactions