-
Notifications
You must be signed in to change notification settings - Fork 430
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
Module not found: Can't resolve 'fs' #533
Comments
I encountered this issue too, and I had to move the routing logic into the next API. |
On our end we want to keep it on the front-end... |
It looks like the issue was introduced with 293b21e (which introduces brotli as a dep) |
@jsy1218 do you think you would accep a PR that replaces |
Or maybe @mikeki ? |
@julien51 will take a look. sorry for the trouble. |
@jsy1218 Thanks! Happy to help in any way I can! Thank you so much! |
Experiencing the same issue. NextJs app, error occurs when calling this:
Issue occurs whether I try to render client or server side. Please fix, going to rollback to an earlier version and see if that resolves it. |
@jsy1218 Is there anything we can do to help here? |
This is a real problem, it is just not compatible with modern tech stack, it is either a problem with ethers v6 or with this brotli issue, how we supposed to use this on the frontend... |
try to use this
|
define this function in the server side, |
I'm submitting a ...
[X] bug report
[ ] feature request
[ ] question about the decisions made in the repository
[ ] question about how to use this project
Summary
We used
3.17.4
without any issue. Recently we tried to upgrade to3.27.2
in a nextjs application but we're now seeing the following error:The text was updated successfully, but these errors were encountered: