React native 绑定失败:不明确的解析尝试要求“反应本机”`

React native 绑定失败:不明确的解析尝试要求“反应本机”`,react-native,compiler-errors,ambiguous,react-native-twitter-signin,React Native,Compiler Errors,Ambiguous,React Native Twitter Signin,我正在开发一个react本机应用程序,在我安装npm软件包之前,它运行良好 反应本机推特登录 。之后,当我运行命令时 npm运行android 显示以下错误: 错误:绑定失败:不明确的解决方案:模块D:\tmp\Taam final\Feb4\index.js试图要求以本机方式反应,但有 提供此模块的几个文件。您可以删除或修复它们: D:\tmp\Taam-feb final\Feb4\node\u modules\react native twitter signin\node\u modu

我正在开发一个react本机应用程序,在我安装npm软件包之前,它运行良好

反应本机推特登录

。之后,当我运行命令时

npm运行android

显示以下错误:

错误:绑定失败:不明确的解决方案:模块
D:\tmp\Taam
final\Feb4\index.js
试图要求
以本机方式反应
,但有 提供此模块的几个文件。您可以删除或修复它们:

  • D:\tmp\Taam-feb
    final\Feb4\node\u modules\react native twitter signin\node\u modules\react native\package.json
    • D:\tmp\Taam feb final\Feb4\node\u modules\react native\package.json
这是我的Package.json

{
  "name": "Hotel",
  "version": "0.1.0",
  "private": true,
  "devDependencies": {
    "babel-preset-react-native-stage-0": "^1.0.1",
    "jest": "^23.6.0",
    "jest-react-native": "^18.0.0",
    "react-native-storybook-loader": "^1.8.0",
    "react-test-renderer": "16.3.1"
  },
  "scripts": {
    "start": "react-native start",
    "android": "react-native run-android",
    "ios": "react-native run-ios",
    "test": "jest"
  },
  "jest": {
    "preset": "react-native"
  },
  "rnpm": {
    "assets": [
      "fonts"
    ]
  },
  "dependencies": {
    "cluster": "^0.7.7",
    "expo": "^32.0.6",
    "firebase": "^5.7.1",
    "firebase-admin": "^6.5.1",
    "fs": "0.0.1-security",
    "moment": "^2.24.0",
    "react": "16.3.1",
    "react-native": "^0.55.4",
    "react-native-elements": "^1.0.0",
    "react-native-fetch-blob": "^0.10.8",
    "react-native-firebase": "^5.2.3",
    "react-native-fs": "^2.13.3",
    "react-native-google-signin": "^1.2.1",
    "react-native-image-crop-picker": "^0.22.0",
    "react-native-loading-spinner-overlay": "^1.0.1",
    "react-native-modal-datetime-picker": "^6.0.0",
    "react-native-module": "0.0.1",
    "react-native-router-flux": "^4.0.6",
    "react-native-svg": "^9.2.2",
    "react-native-twitter-signin": "^1.1.1",
    "react-native-ui-kitten": "^3.0.1",
    "react-native-uuid-generator": "^5.0.0",
    "react-native-vector-icons": "^6.2.0",
    "react-navigation": "^3.0.9"
  }
}

你遵循了@Brijesh Shiroya中的所有步骤了吗?是的,我遵循了@Brijesh Shiroya中的所有步骤了吗