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

warn: Package lint-staged has been ignored because it contains invalid configuration #1074

Closed
shettayyy opened this issue Dec 22, 2021 · 0 comments · Fixed by #1059
Closed

Comments

@shettayyy
Copy link

Description

I upgraded to the latest version of lint-staged and I ran react-native run-android. I see the following error:

warn Package lint-staged has been ignored because it contains invalid configuration. Reason: Package subpath './package.json' is not defined by "exports" in /Users/RShet9//node_modules/lint-staged/package.json

Steps to reproduce

  1. yarn upgrade lint-staged --latest
  2. react-native run-android

Environment

  • **OS: MACOS Monterey
  • Node.js: v14.17.1
  • lint-staged: >=10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

1 participant