Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Duplicate module name: react-native #2

Open
zakharov-dy opened this issue Mar 6, 2017 · 1 comment
Open

Duplicate module name: react-native #2

zakharov-dy opened this issue Mar 6, 2017 · 1 comment

Comments

@zakharov-dy
Copy link

Loading dependency graph...
React packager ready.

Loading dependency graph...
Bundling `index.android.js`
  Analysing...Failed to build DependencyGraph: @providesModule naming collision:
  Duplicate module name: react-native
  Paths: .../node_modules/react-native/package.json collides with .../node_modules/react-native-keyboard/node_modules/react-native/package.json

This error is caused by a @providesModule declaration with the same name across two different files.
Error: @providesModule naming collision:
  Duplicate module name: react-native
  Paths: .../node_modules/react-native/package.json collides with .../node_modules/react-native-keyboard/node_modules/react-native/package.json

node v7.4.0
npm v4.3.0

{
....
  "dependencies": {
    "apisauce": "^0.6.0",
    "format-json": "^1.0.3",
    "lodash": "^4.17.2",
    "native-base": "^2.0.6",
    "querystringify": "0.0.4",
    "ramda": "^0.22.1",
    "react": "~15.4.0-rc.4",
    "react-native": "^0.42.0",
    "react-native-animatable": "^0.6.0",
    "react-native-config": "^0.1.2",
    "react-native-device-info": "^0.9.6",
    "react-native-drawer": "^2.3.0",
    "react-native-i18n": "^0.1.1",
    "react-native-keyboard": "^0.1.1",
    "react-native-maps": "^0.11.0",
    "react-native-router-flux": "^3.37.0",
    "react-native-vector-icons": "^4.0.0",
    "react-redux": "^4.4.6",
    "redux": "^3.6.0",
    "redux-logger": "^2.7.4",
    "redux-persist": "^3.5.0",
    "redux-saga": "^0.13.0",
    "reduxsauce": "0.2.0",
    "seamless-immutable": "^6.3.0"
  },
  "devDependencies": {
    "ava": "^0.17.0",
    "babel-eslint": "^7.1.1",
    "babel-preset-es2015": "^6.18.0",
    "enzyme": "^2.6.0",
    "flow-bin": "0.33.0",
    "ghooks": "^1.3.2",
    "mockery": "^2.0.0",
    "nyc": "^9.0.1",
    "react-addons-test-utils": "^15.3.1",
    "react-dom": "^15.4.0",
    "react-native-mock": "^0.2.8",
    "reactotron-apisauce": "^1.5.2",
    "reactotron-react-native": "^1.5.2",
    "reactotron-redux": "^1.5.2",
    "reactotron-redux-saga": "^1.5.2",
    "snazzy": "^5.0.0",
    "standard": "8.6.0",
    "standard-flow": "^1.0.0"
  }
....
}
@xiaoyann xiaoyann assigned xiaoyann and unassigned xiaoyann Mar 6, 2017
@Chathula
Copy link
Contributor

Chathula commented Mar 8, 2017

i think this is already fixed! can you check the node_modules/react-nativ-keyboard folder bit. if there is node_module folder, it is the problem!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants