diegohaz / diegohaz/list-react-files

Not working for react project.

Open
#18 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
26
Forks
4
PR merge metrics
No merged PRs in 30d

Description

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.
```bash
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.
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.