Skip to content
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

Not working for react project. #18

Open
Akhilbisht798 opened this issue Jun 30, 2024 · 0 comments
Open

Not working for react project. #18

Akhilbisht798 opened this issue Jun 30, 2024 · 0 comments

Comments

@Akhilbisht798
Copy link

I have trying to get all the file name inside a directory in react but i could'nt directly use fs. So searched for this library instead.

Module "fs" has been externalized for browser compatibility. Cannot access "fs.realpath" in client code. See https://vitejs.dev/guide/troubleshooting.html#module-externalized-for-browser-compatibility for more details. [fs:9:14](browser-external:fs)
Module "fs" has been externalized for browser compatibility. Cannot access "fs.realpathSync" in client code. See https://vitejs.dev/guide/troubleshooting.html#module-externalized-for-browser-compatibility for more details.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant