-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Modify ethers imports #3
Comments
I am having this issue importing circomlibjs into .tsx/ .jsx files. Off the bat I was having multiple issues with webpack building, which I was able to resolve adding the following to my package.json:
There is this repeating error left. For all files that import ethers using
Based on @connorbode 's juggestion I have set up the following
This results in a "successful" complilation, however webpack serves a blank page. Any input would be greatly appreciated Edit: here is the offending repository of code: https://github.com/Ian-Bright/battlezip-frontend/tree/zk |
Having the same issue myself |
There are a number of ethersjs imports in the library as follows:
import ethers from 'ethers'
In my build process, this causes an error as ethersjs does not have a default export. The correct way of importing seems to be
import { ethers } from 'ethers'
The text was updated successfully, but these errors were encountered: