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

Removed exports section and added dependent package path #15

Closed
wants to merge 1 commit into from

Conversation

timothytripp
Copy link

  1. This package has a dependency on the package 'path' but it was not declared as a dependency in the package.json
  2. With Node 14 or higher, declaring the exports section in the package.json without also including the package.json file itself will generate a warning during build. Removing the exports section from the package.json resolves the warning. See Package subpath './package.json' is not defined by "exports" react-native-community/cli#1168 for more details.

@sindresorhus
Copy link
Owner

  1. path is a built-in module.
  2. This is false. It's React Native that needs to change their tool to not depend on package.json being importable.

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.

None yet

2 participants