Uncaught (in promise) Error: Unsupported in this environment
Closed this issue · 1 comments
huuuda-aus commented
Hi,
I've followed several tutorials and they all failed on getFilesFromPath
, logging the above error message.
I'm running a local React app on Windows.
Any help will be appreciated!
vasco-santos commented
Hi @huuuda-aus
This library is to be used on Node.js environment. You can't access FS from browser, so not possible to use this module there.
Feel free to ask questions on web3.storage discord channel and let us know your use case in React to use this module. Closing this issue