helia icon indicating copy to clipboard operation
helia copied to clipboard

Unable to import `createHelia` getting error code: ERR_PACKAGE_PATH_NOT_EXPORTED

Open gv211432 opened this issue 6 months ago • 2 comments

Unable to import createHelia using this

import { createHelia } from 'helia';

Getting error:

node:internal/modules/cjs/loader:599 throw e;

Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: No "exports" main defined in /node_modules/helia/package.json

Node.js v20.14.0

gv211432 avatar Aug 01 '24 09:08 gv211432