我正在與本地數據庫中的反應本地項目。我用這個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
我已經試過很多東西,但沒有能夠解決這個錯誤。我創建了一個新的反應項目,但它並沒有在太
面臨同樣的問題。解決方案的運氣好嗎? – MPG
是的。它是爲我工作 –