Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to import createHelia getting error code: ERR_PACKAGE_PATH_NOT_EXPORTED #575

Open
gv211432 opened this issue Aug 1, 2024 · 3 comments

Comments

@gv211432
Copy link

gv211432 commented Aug 1, 2024

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

@tabcat
Copy link
Contributor

tabcat commented Aug 1, 2024

Hi @gv211432, Do you have a public repo for the project you could share?

@tabcat
Copy link
Contributor

tabcat commented Aug 1, 2024

There is also a faq section related to this as well as some closed issues

@Themoor1
Copy link

#575 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants