React-native-linear-gradient: Not working on new version of react native

Created on 21 Jul 2017  Â·  3Comments  Â·  Source: react-native-linear-gradient/react-native-linear-gradient

Not working package on version of

"react": "^16.0.0-alpha.6",
"react-native": "^0.44.0",

Most helpful comment

I'm seeing this as well, on the same version numbers:

âš¡ pod install
Analyzing dependencies
Fetching podspec for `BVLinearGradient` from `../node_modules/react-native-linear-gradient`
Fetching podspec for `React` from `../node_modules/react-native`
[!] Unable to satisfy the following requirements:

- `Yoga (= 0.44.0.React)` required by `React/Core (0.44.0)`

None of your spec sources contain a spec satisfying the dependency: `Yoga (= 0.44.0.React)`.

You have either:
 * out-of-date source repos which you can update with `pod repo update`.
 * mistyped the name or version.
 * not added the source repo that hosts the Podspec to your Podfile.

Note: as of CocoaPods 1.0, `pod repo update` does not happen on `pod install` by default.

All 3 comments

I'm seeing this as well, on the same version numbers:

âš¡ pod install
Analyzing dependencies
Fetching podspec for `BVLinearGradient` from `../node_modules/react-native-linear-gradient`
Fetching podspec for `React` from `../node_modules/react-native`
[!] Unable to satisfy the following requirements:

- `Yoga (= 0.44.0.React)` required by `React/Core (0.44.0)`

None of your spec sources contain a spec satisfying the dependency: `Yoga (= 0.44.0.React)`.

You have either:
 * out-of-date source repos which you can update with `pod repo update`.
 * mistyped the name or version.
 * not added the source repo that hosts the Podspec to your Podfile.

Note: as of CocoaPods 1.0, `pod repo update` does not happen on `pod install` by default.

@holmesal Try adding pod "Yoga", :path => "../node_modules/react-native/ReactCommon/yoga" to your podfile.

It might complain further that you need the following dependencies:

  pod 'Folly', :podspec => '../node_modules/react-native/third-party-podspecs/Folly.podspec'
  pod 'GLog', :podspec => '../node_modules/react-native/third-party-podspecs/GLog.podspec'
  pod 'DoubleConversion', :podspec => '../node_modules/react-native/third-party-podspecs/DoubleConversion.

At least least in my case iOS/SWIFT (0.47.1)

problem with link

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dsernst picture dsernst  Â·  4Comments

jcbiznoff picture jcbiznoff  Â·  4Comments

hopperhuang picture hopperhuang  Â·  4Comments

lucianomlima picture lucianomlima  Â·  5Comments

holmesal picture holmesal  Â·  5Comments