Pod installation problem in react-native 0.24.1
See original GitHub issueGot the following error message:
[!] Invalid `React.podspec` file: no implicit conversion of nil into String.
# from /Users/Public/Projects/pall/node_modules/react-native/React.podspec:3
# -------------------------------------------
#
> package = JSON.parse(File.read(File.join(__dir__, 'package.json')))
#
# -------------------------------------------
✘ user@macbookpro /Users/Public/Project/pall/ios
It’s no problem in 0.23
Issue Analytics
- State:
- Created 7 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
How to fix “pod install” error in React Native on Mac M1
How to fix “pod install” error in React Native on Mac M1 · sudo gem install cocoapods. to install cocoapods , the standard...
Read more >How can I fix pod install error in react-native? - Stack Overflow
Error : react-native-permissions: NativeModule.RNPermissions is null. To fix this issue try these steps: • If you are using CocoaPods on iOS, run ...
Read more >React-native-simple-device-info - npm.io
Simple Device Information for React Native. This is a fork of react-native-device-info - we removed some of the methods that were potentially causing...
Read more >react-native-device-info/README.md - UNPKG
# It removes React & Yoga from the Pods project, as it is already included in the main project. 138, targets_to_ignore = %w(React...
Read more >react-native-maps | Yarn - Package Manager
This project is being maintained by a small group of people, and any help with issues and pull requests are always appreciated. If...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@mikefowler Thanks. I did:
Everything’s fine then.
Verified that this is still occurring (on my machine) with 0.25-rc.
A short-term workaround is to change
__dir__
toFile.dirname(__FILE__)
, but my Ruby knowledge ends there.Edit: my suspicion is that this has to do with the Ruby version being used locally by CocoaPods.