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

Invalid Podfile [ERR_PACKAGE_PATH_NOT_EXPORTED] #4

Closed
BradleyGyemi-Qlik opened this issue Jul 14, 2022 · 1 comment
Closed

Invalid Podfile [ERR_PACKAGE_PATH_NOT_EXPORTED] #4

BradleyGyemi-Qlik opened this issue Jul 14, 2022 · 1 comment

Comments

@BradleyGyemi-Qlik
Copy link

Invalid Podfile file: 859: unexpected token at 'Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './package.json' is not defined by "exports" in /usr/app/node_modules/color-parse/package.json

This error occurs when I run pod install in a react-native project with:
react-native: 0.69
node: 17.8.0
react: 17.0.2

@aidan-24com
Copy link

aidan-24com commented Jul 27, 2022

@BradleyGyemi-Qlik
update @react-native-community/cli to >= 8.0.4. react-native-community/cli#1650

Also make sure ./node_modules/react-native/package.json is using ^8.0.[X] for @react-native-community/cli

Alternatively, use @react-native-community/cli at '7'

@dy dy closed this as completed Mar 14, 2024
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