小编dee*_*yal的帖子

运行 pod install 时,反应本机 0.64.0 与 CocoaPods 1.10.0 不兼容

运行的时候pod install出现了这个错误:

React Native 0.64.0 [!]React需要 CocoaPods 版本>= 1.10.1,您当前的版本不满足该版本,1.10.0

使用:

  • 反应本机版本:0.64.4
  • CocoaPods 版本:1.10.0

cocoapods react-native

3
推荐指数
1
解决办法
802
查看次数


在react-native run-android错误之后反应本机0.68.2错误无法读取未定义的属性(读取“配置”)

类型错误:无法读取未定义的属性(读取“配置”)

使用react-native run-android运行项目时遇到这个问题

 at Object.dependencyConfig (/node_modules/@react-native-community/cli-platform-ios/build/config/index.js:102:37)
    at /usr/local/lib/node_modules/react-native/node_modules/@react-native-community/cli-config/build/loadConfig.js:47:61
    at Array.reduce (<anonymous>)
    at getDependencyConfig (/usr/local/lib/node_modules/react-native/node_modules/@react-native-community/cli-config/build/loadConfig.js:44:51)
    at Object.get @ptomasroos/react-native-multi-slider [as @ptomasroos/react-native-multi-slider] (/usr/local/lib/node_modules/react-native/node_modules/@react-native-community/cli-config/build/loadConfig.js:99:18)
    at warnAboutManuallyLinkedLibs (/Users/CBL-MAC/Documents/Project/node_modules/@react-native-community/cli-platform-android/build/link/warnAboutManuallyLinkedLibs.js:39:43)
    at displayWarnings (/Users/CBL-MAC/Documents/Project/node_modules/@react-native-community/cli-platform-android/build/commands/runAndroid/index.js:82:44)
    at Object.runAndroid [as func] (/Users/CBL-MAC/Documents/Project/node_modules/@react-native-community/cli-platform-android/build/commands/runAndroid/index.js:97:3)
    at Command.handleAction (/usr/local/lib/node_modules/react-native/node_modules/@react-native-community/cli/build/index.js:192:23)
    at Command.listener (/usr/local/lib/node_modules/react-native/node_modules/commander/index.js:315:8)
Run Code Online (Sandbox Code Playgroud)

android react-native npm-install

1
推荐指数
1
解决办法
3241
查看次数

标签 统计

react-native ×3

android ×2

cocoapods ×1

ios ×1

npm-install ×1

uuid ×1