-
Notifications
You must be signed in to change notification settings - Fork 31
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
🐛 [BUG]: Module not found: Error: Can't resolve 'fs' #52
Comments
Update to 2.0.2. It was fixed. |
@EvanZhouDev are you sure? I just tested it and I still get the error. |
Are you on 2.0.2? It should be fixed in #51 |
I am on 2.0.2, building still gives the same error.
|
Very strange... I'll have a look at this in a little bit |
May I see your code? It seems to be that you're trying to use a NodeJS-only feature in the browser. Importing |
@ThatXliner sorry for the late response, was a bit busy. This is the code that uses the |
same issue here, creating basic code put in github page also is causing error |
Also facing same issue |
same issue face in use in next js |
same problem angular 17 |
Prerequisites
bard-ai
Bug Description
This happens when I try to build my chrome extension that uses this package.
Reproduction Steps
fs
cannot be imported because it is a server-side module, so it'll throw some kind of error.Other information
No response
Occurance Rate
I can reproduce this bug 100% of the time.
The text was updated successfully, but these errors were encountered: