ipfs-examples/helia-examples

bug(helia-parcel): cannot find module 'fs'

SgtPooki opened this issue · 0 comments

When upgrading to latest helia and @helia/unixfs in helia-parcel, the test fails.

Uncaught Error: Cannot find module 'fs'
    at newRequire (index.44e46d94.js:61:19)
    at newRequire (index.44e46d94.js:45:18)
    at localRequire (index.44e46d94.js:84:35)
    at 7zyRM.147587d49733537e (glob-source.ts:1:1)
    at newRequire (index.44e46d94.js:71:24)
    at localRequire (index.44e46d94.js:84:35)
    at anw51../commands/add.js (index.ts:623:1)
    at newRequire (index.44e46d94.js:71:24)
    at localRequire (index.44e46d94.js:84:35)
    at 8T4UN.@helia/unixfs (index.js:1:1)

It fails due to Please configure Helia with a libp2p instance without upgrading the deps.