{"action":"closed","issue":{"url":"https://api.github.com/repos/meteorhacks/npm/issues/68","labels_url":"https://api.github.com/repos/meteorhacks/npm/issues/68/labels{/name}","comments_url":"https://api.github.com/repos/meteorhacks/npm/issues/68/comments","events_url":"https://api.github.com/repos/meteorhacks/npm/issues/68/events","html_url":"https://github.com/meteorhacks/npm/issues/68","id":53263955,"number":68,"title":"Resolving dependencies in the wrong way","user":{"login":"Levino","id":1150767,"avatar_url":"https://avatars.githubusercontent.com/u/1150767?v=3","gravatar_id":"","url":"https://api.github.com/users/Levino","html_url":"https://github.com/Levino","followers_url":"https://api.github.com/users/Levino/followers","following_url":"https://api.github.com/users/Levino/following{/other_user}","gists_url":"https://api.github.com/users/Levino/gists{/gist_id}","starred_url":"https://api.github.com/users/Levino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Levino/subscriptions","organizations_url":"https://api.github.com/users/Levino/orgs","repos_url":"https://api.github.com/users/Levino/repos","events_url":"https://api.github.com/users/Levino/events{/privacy}","received_events_url":"https://api.github.com/users/Levino/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-02T17:09:36Z","updated_at":"2015-01-23T10:24:11Z","closed_at":"2015-01-23T10:24:11Z","body":"Hey guys,\r\n\r\nI use the following package.json:\r\n\r\n```\r\n{\r\n  \"bitcore\": \"0.8.5\"\r\n}\r\n```\r\n\r\nand get this output on the building of the npm-container: \r\n\r\n```\r\nWARN unmet dependency /home/levin/coding/coynows/meteor/packages/npm-container/.npm/package-new-1djrbxy/node_modules/bitcore/node_modules/elliptic requires\r\nhash.js@'^0.2.0' but will load\r\nnpm WARN unmet dependency /home/levin/coding/coynows/meteor/packages/npm-container/.npm/package-new-1djrbxy/node_modules/bitcore/node_modules/hash.js,\r\nnpm WARN unmet dependency which is version 0.3.2\r\nnpm ERR! Error: Problems were encountered\r\nnpm ERR! Please correct and try again.\r\nnpm ERR! invalid: elliptic@0.15.12 /home/levin/coding/coynows/meteor/packages/npm-container/.npm/package-new-1djrbxy/node_modules/bitcore/node_modules/elliptic\r\nnpm ERR! invalid: hash.js@0.3.2 /home/levin/coding/coynows/meteor/packages/npm-container/.npm/package-new-1djrbxy/node_modules/bitcore/node_modules/hash.js\r\nnpm ERR!     at shrinkwrap_\r\n(/home/levin/.meteor/packages/meteor-tool/.1.0.38.2wfz1j++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/dev_bundle/lib/node_modules/npm/lib/shrinkwrap.js:30:15)\r\nnpm ERR!     at\r\n/home/levin/.meteor/packages/meteor-tool/.1.0.38.2wfz1j++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/dev_bundle/lib/node_modules/npm/lib/shrinkwrap.js:24:5                                                                                                                                                              [0/669]\r\nnpm ERR!     at\r\n/home/levin/.meteor/packages/meteor-tool/.1.0.38.2wfz1j++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/dev_bundle/lib/node_modules/npm/lib/ls.js:45:30\r\nnpm ERR!     at\r\n/home/levin/.meteor/packages/meteor-tool/.1.0.38.2wfz1j++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/dev_bundle/lib/node_modules/npm/node_modules/read-installed/read-installed.js:130:5\r\nnpm ERR!     at\r\n/home/levin/.meteor/packages/meteor-tool/.1.0.38.2wfz1j++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/dev_bundle/lib/node_modules/npm/node_modules/read-installed/read-installed.js:244:14\r\nnpm ERR!     at cb\r\n(/home/levin/.meteor/packages/meteor-tool/.1.0.38.2wfz1j++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/dev_bundle/lib/node_modules/npm/node_modules/slide/lib/async-map.js:47:24)\r\nnpm ERR!     at\r\n/home/levin/.meteor/packages/meteor-tool/.1.0.38.2wfz1j++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/dev_bundle/lib/node_modules/npm/node_modules/read-installed/read-installed.js:244:14\r\nnpm ERR!     at cb\r\n(/home/levin/.meteor/packages/meteor-tool/.1.0.38.2wfz1j++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/dev_bundle/lib/node_modules/npm/node_modules/slide/lib/async-map.js:47:24)\r\nnpm ERR!     at\r\n/home/levin/.meteor/packages/meteor-tool/.1.0.38.2wfz1j++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/dev_bundle/lib/node_modules/npm/node_modules/read-installed/read-installed.js:244:14\r\nnpm ERR!     at cb\r\n(/home/levin/.meteor/packages/meteor-tool/.1.0.38.2wfz1j++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/dev_bundle/lib/node_modules/npm/node_modules/slide/lib/async-map.js:47:24)\r\nnpm ERR! If you need help, you may report this *entire* log,\r\nnpm ERR! including the npm and node versions, at:\r\nnpm ERR!     <http://github.com/npm/npm/issues>\r\n\r\nnpm ERR! System Linux 3.13.0-43-generic\r\nnpm ERR! command \"/home/levin/.meteor/packages/meteor-tool/.1.0.38.2wfz1j++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/dev_bundle/bin/node\"\r\n\"/home/levin/.meteor/packages/meteor-tool/.1.0.38.2wfz1j++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/dev_bundle/bin/npm\" \"shrinkwrap\"\r\nnpm ERR! cwd /home/levin/coding/coynows/meteor/packages/npm-container/.npm/package-new-1djrbxy\r\nnpm ERR! node -v v0.10.33\r\nnpm ERR! npm -v 1.4.28\r\nnpm ERR! \r\nnpm ERR! Additional logging details can be found in:\r\nnpm ERR!     /home/levin/coding/coynows/meteor/packages/npm-container/.npm/package-new-1djrbxy/npm-debug.log\r\nnpm ERR! not ok code 0\r\n\r\n=> Errors prevented startup:                  \r\n   \r\n   While building package npm-container:\r\n   error: couldn't run `npm shrinkwrap`\r\n   \r\n=> Your application has errors. Waiting for file change.\r\n\r\n```\r\n\r\nI can't really say whether it is an issue with your package or the other one. But it looks fishy to me that elliptic does not try to install its own (proper 0.2.0) version in a subfolder but tries to use the one from the bitcore node_modules folder ..."}}