-
Notifications
You must be signed in to change notification settings - Fork 744
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
Pod install fails with react-native build which includes luxon #1238
Comments
Good catch. [!] Invalid `Podfile` file: source is not valid JSON!
# from /path-to-my-project/ios/Podfile:8
# -------------------------------------------
# target 'MyProject' do
> config = use_native_modules!
#
# ------------------------------------------- |
In fact problem did not appear in |
Exporting I will submit a PR. "exports": {
".": {
"import": "./src/luxon.js",
"require": "./build/node/luxon.js"
},
+ "./package.json": "./package.json",
}, |
Describe the bug
For a react-native project; can't install luxon and
pod install
. Reported error is..To Reproduce
npx react-native init AwesomeProject
cd AwesomeProject && npm i && cd ios && pod install && cd ..
npm i luxon
cd ios && pod install
=> produces error stated aboveWorks =>
npm uninstall luxon && cd ios && pod install
Actual vs Expected behavior
Expect the project to build.
Desktop (please complete the following information):
Additional context
React native project uses react 18 and RN 0.69.1
The text was updated successfully, but these errors were encountered: