dat-ecosystem-archive / dat-js

A pure JavaScript browser-friendly api for using dat [ DEPRECATED - see https://github.com/datproject/sdk for similar functionality. More info on active projects and modules at https://dat-ecosystem.org/ ]

Home Page:https://datproject.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TypeError: fs.readFileSync is not a function

g-a-v-i-n opened this issue · comments

commented

I get this error when importing node-js like this: import Dat from 'dat-js'. I am using this in a React app.

commented

This is now up to date with the latest hyperdrive and works in the browser, feel free to open another issue if you're still having problems.