tinycreative / react-native-intercom

React Native wrapper for Intercom.io
MIT License
405 stars 279 forks source link

issue with pod install #170

Closed johnchourajr closed 5 years ago

johnchourajr commented 6 years ago
Analyzing dependencies
Fetching podspec for `react-native-intercom` from `../node_modules/react-native-intercom`
[!] Failed to load 'react-native-intercom' podspec: 
[!] Invalid `react-native-intercom.podspec` file: no implicit conversion of nil into String.

 #  from /Users/jchoura/Code/joyapp/node_modules/react-native-intercom/react-native-intercom.podspec:3
 #  -------------------------------------------
 #  
 >  package = JSON.parse(File.read(File.join(__dir__, 'package.json')))
 #  
 #  -------------------------------------------

Followed the setup guide. Got this error when running pod install.

lisasu-g commented 6 years ago

same error here

WALReactNative commented 6 years ago

Same here. Any solution for this??

squirtle34 commented 6 years ago

Hi, for me it worked substituting pod react-native-intercom from ../node_modules/react-native-intercom that line for pod 'Intercom' and later pod install again