-
-
Notifications
You must be signed in to change notification settings - Fork 80
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: Error: Can't resolve 'fs' in xxx #79
Comments
Hi, I had the same problem and used browser compatible deps as placeholders for the fs, path, and crypto packages. Hopes this can help you.
|
Wonder if there's a better way around this ... I'd prefer to stay away from introducing new dependencies to solve this issue. @antelle would you have any solutions for this? - I'm running a Next.js application and need to use Edit: The example provided in this repo worked perfectly for nextjs |
Did you try to disable those in the
@dangtony98 the example you linked is doing exactly this in the configuration file
|
Could not find any of the solutions above to get them to work on NextJS 14. I'm using it with skiff-crypto |
Argon2 needs to run on a Node.js server. Therefore, if you want to get rid of this error in Next.js, specifically with the new App Router, you need to add |
Got this failure in recent upgrade. I've tried some solutions, such as webpack-contrib/css-loader#447, but unlucky so far. Can you help?
The text was updated successfully, but these errors were encountered: