I did $ npm install react-native-google-place-picker --save and then a $ react-native link and ran into this issue:
$ react-native link
Preparing to link react-native-google-place-picker for iOS
Checking CocoaPods...
CocoaPods already installed
rnpm-install info Linking react-native-google-place-picker android dependency
rnpm-install info Android module react-native-google-place-picker has been successfully linked
rnpm-install info Linking react-native-google-place-picker ios dependency
rnpm-install info iOS module react-native-google-place-picker has been successfully linked
Checking Podfile in iOS project (/Users/samlau/Dev/alert_ios/ios/Podfile)
Adding Podfile to iOS project
Installing Pods
node_modules/react-native-google-place-picker/bin/cocoapods.sh: line 45: pod: command not found
/Users/samlau/Dev/alert_ios/node_modules/react-native/local-cli/rnpm/core/src/makeCommand.js:19
throw new Error(`Error occured during executing "${ command }" command`);
^
Error: Error occured during executing "node_modules/react-native-google-place-picker/bin/cocoapods.sh" command
at ChildProcess.prelink (makeCommand.js:19:15)
at emitTwo (events.js:87:13)
at ChildProcess.emit (events.js:172:7)
at maybeClose (internal/child_process.js:821:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
First of all thanks for writing this wrapper.
I did
$ npm install react-native-google-place-picker --save
and then a$ react-native link
and ran into this issue:This is my package.json: