-
Hi! Trying to add helia ( 🚨 Build failed.
@parcel/core: Failed to resolve 'helia' from './src/app.js'
/repros/parcel-helia/src/app.js:1:29
> 1 | import { createHelia } from 'helia'
> | ^^^^^^^
2 |
3 | console.log("Hello");
@parcel/resolver-default: Cannot load file './index' from module 'helia'
✨ Done in 8.46s. Am I missing something obvious? In works fine with e.g. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
That package has only an https://parceljs.org/blog/v2-9-0/#new-resolver:
|
Beta Was this translation helpful? Give feedback.
That package has only an
exports
field, nomain
or some other legacy field: https://github.com/ipfs/helia/blob/671ec874e90fbdcaf79d9d8253822fd85cee8bc5/packages/helia/package.json#L29https://parceljs.org/blog/v2-9-0/#new-resolver: