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

ESM not usable in Node #1927

Open
cprussin opened this issue Aug 21, 2023 · 2 comments
Open

ESM not usable in Node #1927

cprussin opened this issue Aug 21, 2023 · 2 comments
Assignees

Comments

@cprussin
Copy link

Currently this package is using the "module" package.json field, which is nonstandard and unsupported by node. As a result, node is unable to load ESM code and loads cjs code instead.

This package should define exports in the package.json to properly support ESM.

@3aluw
Copy link

3aluw commented Aug 30, 2023

You are right, I was facing an error using the ES6 syntax provided in the README : import contentful from "contentful-management"

@axe312ger axe312ger self-assigned this Feb 19, 2024
@axe312ger
Copy link
Collaborator

I'll take care of this :)

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