infinitered / ignite-bowser

Bowser is now re-integrated into Ignite CLI! Head to https://github.com/infinitered/ignite to check it out.
https://infinite.red/ignite
MIT License
615 stars 140 forks source link

Incompatible with react-native-reanimated #356

Open sheng-di opened 4 years ago

sheng-di commented 4 years ago

What's wrong:

I tried to install react-native-reanimated, but the following error occurs:

[!] CocoaPods could not find compatible versions for pod "ReactCommon/callinvoker":
  In Podfile:
    ReactCommon/callinvoker (from `../node_modules/react-native/ReactCommon`)

None of your spec sources contain a spec satisfying the dependency: `ReactCommon/callinvoker (from `../node_modules/react-native/ReactCommon`)`.

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

Steps to reproduce:

# init it, choose bowser
ignite init MyApp
# install react-native-reanimated
cd MyApp
yarn add react-native-reanimated@alpha

I tried yarn add react-native-reanimated@alpha and yarn add react-native-reanimated without alpha which is version 1.9.x, but they have the same error.


ignite doctor results: System platform darwin
arch x64
cpu 4 cores Intel(R) Core(TM) i5-5250U CPU @ 1.60GHz
directory ios /Users/sheng/Documents/local/TestAnimationNone/ios

JavaScript node 12.13.0 /Users/sheng/.nvm/versions/node/v12.13.0/bin/node npm 6.12.0 /Users/sheng/.nvm/versions/node/v12.13.0/bin/npm
yarn 1.22.0 /usr/local/bin/yarn

Ignite ignite-cli 3.5.2 /usr/local/bin/ignite
ignite src build /Users/sheng/.config/yarn/global/node_modules/ignite-cli/build generators

Android java 1.8.0_211 /Library/Java/JavaVirtualMachines/jdk1.8.0_211.jdk/Contents/Home/bin/java android home - /Users/sheng/Library/Android/sdk

iOS xcode 11.0
cocoapods 1.9.3 /usr/local/bin/pod

BTW, I tested on two macbook, and they have the same issue.

sheng-di commented 4 years ago

I just removed ReactCommon/callinvoker in Podfile, and it seems no side effect, but I worried if it has potential disadvantages.

humarkx commented 4 years ago

Wrong perspective, its react-native-reanimated that is incompatible with RN < 0.62