Closed jjranalli closed 3 years ago
Reproduction repo (created by @max-andrew): https://github.com/max-andrew/web3-storage-test
Closing this as the error seems to be related to the js-ipfs-unixfs
dependency which introduced the issue in v9.0.5.
As a temporary fix, manually install js-ipfs-unixfs
v9.0.4 latest version (^9.0.6) now that it's been fixed.
I have encountered this error in my Nextjs app while creating a client instance of Web3Storage, using the constructor specified in the docs.
(Next v11.1.0, Node v14.16.1)
The following issue might be related https://github.com/ipfs/js-ipfs/issues/3838 however reinstalling dependencies as suggested by the author of the issue doesn't fix it in my case.