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 Package #51

Open
thebigsmall opened this issue Aug 12, 2016 · 0 comments
Open

Duplicate Package #51

thebigsmall opened this issue Aug 12, 2016 · 0 comments

Comments

@thebigsmall
Copy link

thebigsmall commented Aug 12, 2016

  1. package.json
    ( npm update --save && npm update --save-dev )

{
"name": "F8v2",
"version": "0.0.1",
"private": true,
"scripts": {
"start": "babel-node ./server/server.js",
"import-data": "babel-node ./scripts/import-data-from-parse.js",
"update-schema": "babel-node ./server/schema/updateSchema.js",
"test": "jest",
"lint": "eslint ."
},
"dependencies": {
"art": "^0.10.1",
"babel-cli": "^6.10.1",
"babel-relay-plugin": "^0.9.2",
"crc32": "^0.2.2",
"cross-spawn": "^4.0.0",
"express": "^4.14.0",
"express-graphql": "^0.5.3",
"fsevents": "^1.0.14",
"graphql-relay": "^0.4.2",
"minimatch": "^3.0.3",
"moment": "^2.13.0",
"parse": "^1.8.5",
"parse-dashboard": "^1.0.15",
"parse-server": "^2.2.17",
"react": "^15.1.0",
"react-native": "^0.28.0",
"react-native-code-push": "^1.12.2-beta",
"react-native-fbsdk": "^0.3.0",
"react-native-linear-gradient": "^1.5.12",
"react-native-push-notification": "github:frantic/react-native-push-notification#7142da7",
"react-native-send-intent": "^1.0.11",
"react-native-share": "github:frantic/react-native-share#674df947b3",
"react-redux": "^4.4.5",
"react-relay": "^0.9.2",
"react-timer-mixin": "^0.13.3",
"redux": "^3.5.2",
"redux-logger": "^2.6.1",
"redux-persist": "^3.2.2",
"redux-thunk": "^2.1.0",
"request-promise-core": "^1.1.1",
"reselect": "^2.5.3"
},
"devDependencies": {
"babel-eslint": "^6.1.2",
"babel-jest": "^13.0.0",
"babel-polyfill": "^6.9.1",
"eslint": "^2.13.1",
"eslint-plugin-react": "^5.2.2",
"jest-cli": "^13.0.0",
"minimatch": "^3.0.3"
},
"jest": {
"haste": {
"defaultPlatform": "ios",
"platforms": [
"ios",
"android"
],
"providesModuleNodeModules": [
"react-native"
]
}
},
"engines": {
"node": ">=5.0",
"npm": ">=3.0"
}
}

  1. react-native run-ios
    ( npm start && npm run import-data )

[08:24:18] Building (deprecated) Asset Map (55ms)
Failed to build DependencyGraph: @providesModule naming collision:
Duplicate module name: parse
Paths: /Users/New/f8app/node_modules/parse/package.json collides with /Users/New/f8app/node_modules/parse-server/node_modules/parse/package.json

This error is caused by a @providesModule declaration with the same name accross two different files.
Error: @providesModule naming collision:
Duplicate module name: parse
Paths: /Users/New/f8app/node_modules/parse/package.json collides with /Users/New/f8app/node_modules/parse-server/node_modules/parse/package.json

This error is caused by a @providesModule declaration with the same name accross two different files.
at HasteMap._updateHasteMap (/Users/New/f8app/node_modules/node-haste/lib/DependencyGraph/HasteMap.js:162:15)
at /Users/New/f8app/node_modules/node-haste/lib/DependencyGraph/HasteMap.js:140:25
~
Process terminated. Press to close the window

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

1 participant