Skip to content

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

@SgtPooki

Description

@SgtPooki

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions