Hi,
I tried using a package that is supposed to be working in the browser, however, I get the following error:
Uncaught TypeError: Cannot read property 'native' of undefined
which is happening in this piece of code:
if (typeof fs.realpath.native === 'function') {
...
}
I presume fs.realpath
should be mocked somehow by meteor-node-stubs
(?)
METEOR@1.12
I’ve created an issue in meteor-node-stubs
, but maybe I just don’t understand something.
The package I’m trying to use: https://www.npmjs.com/package/ipfs-http-client
Thank you!