吊舱安装失败,反应本地0.44

问题描述:

我正在与本地数据库中的反应本地项目。我用这个https://github.com/andpor/react-native-sqlite-storage进行本地数据库访问。它与RN 0.41正常工作。吊舱安装失败,反应本地0.44

但现在当我在我的RN版本升级到0.44我收到以下错误与吊舱安装。

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. 

这是我podfile:

target 'ProjectName' do 
    pod 'React', :path => '../node_modules/react-native' <br> 
    pod 'react-native-sqlite-storage', :path => '../node_modules/react-native-sqlite-storage' 
end 

我已经试过很多东西,但没有能够解决这个错误。我创建了一个新的反应项目,但它并没有在太

+0

面临同样的问题。解决方案的运气好吗? – MPG

+0

是的。它是为我工作 –

荚“瑜伽”的工作,:PATH =>“../node_modules/react-native/ReactCommon/yoga”

+1

你可能想提供一些更多的细节,你的答案,就像引进什么遗漏,并张贴充分,更正podfile所以OP(和其他人)可以知道,如果他们遇到什么能够更容易地改变错误 –

+0

感谢您的支持!原因是工程是因为需要瑜伽......所以添加这条线符合所需的依赖性。 – xenetics