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

fix: package.json exports field #172

Merged
merged 2 commits into from
Sep 19, 2023
Merged

fix: package.json exports field #172

merged 2 commits into from
Sep 19, 2023

Conversation

JoeKarow
Copy link
Contributor

The exports field in package.json was not formatted correctly, causing an ERR_PACKAGE_PATH_NOT_EXPORTED error:

Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: No "exports" main defined in /path/to/repo/apps/app/node_modules/flat/package.json

Removing the nested import key fixes it.

@jonkoops
Copy link
Collaborator

Good catch!

@jonkoops jonkoops merged commit 3431170 into hughsk:master Sep 19, 2023
2 checks passed
@jonkoops
Copy link
Collaborator

This has been released as part of v6.0.1.

@JoeKarow JoeKarow deleted the JoeKarow/fix-package-json-exports branch September 19, 2023 14:52
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

Successfully merging this pull request may close these issues.

2 participants