React-native 依赖错误(com.atlassian.mobile.video okhttp-ws-compat) [英] React-native dependency error (com.atlassian.mobile.video okhttp-ws-compat)
问题描述
我正在开发 React-native 应用程序,突然间我开始收到以下错误:
I'm developing a React-native app and all of a sudden I started getting the following error:
- 出了什么问题:配置项目:app"时出现问题.无法解析配置:app:_debugApk"的所有依赖项.配置项目 ':react-native-config' 时出现问题.无法解析配置 ':react-native-config:_debugPublishCopy' 的所有依赖项.找不到 com.atlassian.mobile.video:okhttp-ws-compat:3.7.0-atlassian1.要求:cabm8:react-native-config:unspecified > com.facebook.react:react-native:0.42.3-atlassian-1
我摆脱了模块 react-native-config
但仍然面临类似的错误:
I got rid of the module react-native-config
but still facing a similar error:
- 出了什么问题:配置项目:app"时出现问题.无法解析配置:app:_debugApk"的所有依赖项.配置项目 ':react-native-maps' 时出现问题.无法解析配置 ':react-native-maps:_debugPublishCopy' 的所有依赖项.找不到 com.atlassian.mobile.video:okhttp-ws-compat:3.7.0-atlassian1.要求:cabm8:react-native-maps:unspecified > com.facebook.react:react-native:0.42.3-atlassian-1
这个问题似乎与 com.atlassian.mobile.video:okhttp-ws-compat:3.7.0-atlassian1
不知何故有关.
The issue seems to be related to com.atlassian.mobile.video:okhttp-ws-compat:3.7.0-atlassian1
somehow.
我尝试重新安装 node_modules
,删除文件夹 android
和 ios
然后使用 git 恢复它们.我还能尝试什么?
I've tried reinstalling node_modules
, removed the folders android
and ios
then restored them using git. What else could I try?
推荐答案
com.atlassian.mobile.video
目前在 maven 上不可用.要运行您的项目,您需要对其进行更新
com.atlassian.mobile.video
is not avaible on maven right now. To run your project you need to update it
更新你的 react
和 react-native
版本到你的 package.json
文件
Update your react
and react-native
version to in your package.json
file
"react": "16.0.0-alpha.3",
"react-native": "0.43.1",
然后删除 node_modules
并再次执行 npm install
Then remove node_modules
and do a npm install
again
告诉我它是否适合你
这篇关于React-native 依赖错误(com.atlassian.mobile.video okhttp-ws-compat)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!