npm dedupe faile #2934

Closed
arikon opened this Issue Nov 7, 2012 · 1 comment

Comments

Projects
None yet
2 participants
Contributor

arikon commented Nov 7, 2012

Console output

npm http GET https://registry.npmjs.org/q
npm http 304 https://registry.npmjs.org/q
npm WARN unavoidable conflict q { '/Users/arikon/projects/bem/bem-tools/node_modules/ometajs/node_modules/q': '0.7.2',
npm WARN unavoidable conflict   '/Users/arikon/projects/bem/bem-tools/node_modules/qq/node_modules/q': '0.8.4' }
npm WARN unavoidable conflict Not de-duplicating
npm ERR! TypeError: Cannot read property 'length' of undefined
npm ERR!     at /Users/arikon/n/versions/0.8.12/lib/node_modules/npm/lib/dedupe.js:151:15
npm ERR!     at cb (/Users/arikon/n/versions/0.8.12/lib/node_modules/npm/node_modules/slide/lib/async-map.js:48:11)
npm ERR!     at /Users/arikon/n/versions/0.8.12/lib/node_modules/npm/lib/dedupe.js:228:14
npm ERR!     at /Users/arikon/n/versions/0.8.12/lib/node_modules/npm/node_modules/slide/lib/async-map.js:54:35
npm ERR!     at Array.forEach (native)
npm ERR!     at /Users/arikon/n/versions/0.8.12/lib/node_modules/npm/node_modules/slide/lib/async-map.js:54:11
npm ERR!     at Array.forEach (native)
npm ERR!     at asyncMap (/Users/arikon/n/versions/0.8.12/lib/node_modules/npm/node_modules/slide/lib/async-map.js:53:8)
npm ERR!     at findVersions (/Users/arikon/n/versions/0.8.12/lib/node_modules/npm/lib/dedupe.js:217:3)
npm ERR!     at /Users/arikon/n/versions/0.8.12/lib/node_modules/npm/lib/dedupe.js:149:5
npm ERR! If you need help, you may report this log at:
npm ERR!     <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR!     <npm-@googlegroups.com>

npm ERR! System Darwin 12.2.0
npm ERR! command "node" "/Users/arikon/n/bin/npm" "dedupe"
npm ERR! cwd /Users/arikon/projects/bem/bem-tools
npm ERR! node -v v0.8.12
npm ERR! npm -v 1.1.65
npm ERR! type non_object_property_load
npm ERR! 
npm ERR! Additional logging details can be found in:
npm ERR!     /Users/arikon/projects/bem/bem-tools/npm-debug.log
npm ERR! not ok code 0

npm-debug.log

0 info it worked if it ends with ok
1 verbose cli [ 'node', '/Users/arikon/n/bin/npm', 'dedupe' ]
2 info using npm@1.1.65
3 info using node@v0.8.12
4 verbose node symlink /Users/arikon/n/bin/node
5 verbose read json /Users/arikon/projects/bem/bem-tools/package.json
6 verbose read json /Users/arikon/projects/bem/bem-tools/node_modules/.bin/package.json
7 verbose read json /Users/arikon/projects/bem/bem-tools/node_modules/apw/package.json
8 verbose read json /Users/arikon/projects/bem/bem-tools/node_modules/bem/package.json
9 verbose read json /Users/arikon/projects/bem/bem-tools/node_modules/borschik/package.json
10 verbose read json /Users/arikon/projects/bem/bem-tools/node_modules/coa/package.json
11 verbose read json /Users/arikon/projects/bem/bem-tools/node_modules/coffee-script/package.json
12 verbose read json /Users/arikon/projects/bem/bem-tools/node_modules/csso/package.json
13 verbose read json /Users/arikon/projects/bem/bem-tools/node_modules/dom-js/package.json
14 verbose read json /Users/arikon/projects/bem/bem-tools/node_modules/eyes/package.json
15 verbose read json /Users/arikon/projects/bem/bem-tools/node_modules/inherit/package.json
16 verbose read json /Users/arikon/projects/bem/bem-tools/node_modules/memorystream/package.json
17 verbose read json /Users/arikon/projects/bem/bem-tools/node_modules/mime/package.json
18 verbose read json /Users/arikon/projects/bem/bem-tools/node_modules/ometajs/package.json
19 verbose read json /Users/arikon/projects/bem/bem-tools/node_modules/q/package.json
20 verbose read json /Users/arikon/projects/bem/bem-tools/node_modules/q-fs/package.json
21 verbose read json /Users/arikon/projects/bem/bem-tools/node_modules/q-http/package.json
22 verbose read json /Users/arikon/projects/bem/bem-tools/node_modules/q-io/package.json
23 verbose read json /Users/arikon/projects/bem/bem-tools/node_modules/qq/package.json
24 verbose read json /Users/arikon/projects/bem/bem-tools/node_modules/uglify-js/package.json
25 verbose read json /Users/arikon/projects/bem/bem-tools/node_modules/underscore/package.json
26 verbose read json /Users/arikon/projects/bem/bem-tools/node_modules/winston/package.json
27 verbose read json /Users/arikon/projects/bem/bem-tools/node_modules/xjst/package.json
28 verbose read json /Users/arikon/projects/bem/bem-tools/node_modules/dom-js/node_modules/sax/package.json
29 verbose read json /Users/arikon/projects/bem/bem-tools/node_modules/ometajs/node_modules/.bin/package.json
30 verbose read json /Users/arikon/projects/bem/bem-tools/node_modules/ometajs/node_modules/q/package.json
31 verbose read json /Users/arikon/projects/bem/bem-tools/node_modules/q-fs/node_modules/fs-boot/package.json
32 verbose read json /Users/arikon/projects/bem/bem-tools/node_modules/qq/node_modules/q/package.json
33 verbose read json /Users/arikon/projects/bem/bem-tools/node_modules/winston/node_modules/async/package.json
34 verbose read json /Users/arikon/projects/bem/bem-tools/node_modules/winston/node_modules/colors/package.json
35 verbose read json /Users/arikon/projects/bem/bem-tools/node_modules/winston/node_modules/cycle/package.json
36 verbose read json /Users/arikon/projects/bem/bem-tools/node_modules/winston/node_modules/pkginfo/package.json
37 verbose read json /Users/arikon/projects/bem/bem-tools/node_modules/winston/node_modules/request/package.json
38 verbose read json /Users/arikon/projects/bem/bem-tools/node_modules/winston/node_modules/stack-trace/package.json
39 verbose read json /Users/arikon/projects/bem/bem-tools/node_modules/xjst/node_modules/.bin/package.json
40 verbose read json /Users/arikon/projects/bem/bem-tools/node_modules/xjst/node_modules/coa/package.json
41 verbose read json /Users/arikon/projects/bem/bem-tools/node_modules/ometajs/node_modules/q/node_modules/event-queue/package.json
42 verbose read json /Users/arikon/projects/bem/bem-tools/node_modules/xjst/node_modules/coa/node_modules/q/package.json
43 verbose url raw q
44 verbose url resolving [ 'https://registry.npmjs.org/', './q' ]
45 verbose url resolved https://registry.npmjs.org/q
46 info trying registry request attempt 1 at 21:24:40
47 verbose etag "5LFCVHK4AK2KHVMSSAWQ35A30"
48 http GET https://registry.npmjs.org/q
49 http 304 https://registry.npmjs.org/q
50 silly registry.get cb [ 304,
50 silly registry.get   { server: 'CouchDB/1.2.0 (Erlang OTP/R15B)',
50 silly registry.get     etag: '"5LFCVHK4AK2KHVMSSAWQ35A30"',
50 silly registry.get     date: 'Wed, 07 Nov 2012 19:24:26 GMT',
50 silly registry.get     'content-length': '0' } ]
51 verbose etag q from cache
52 warn unavoidable conflict q { '/Users/arikon/projects/bem/bem-tools/node_modules/ometajs/node_modules/q': '0.7.2',
52 warn unavoidable conflict   '/Users/arikon/projects/bem/bem-tools/node_modules/qq/node_modules/q': '0.8.4' }
53 warn unavoidable conflict Not de-duplicating
54 verbose from cache /Users/arikon/projects/bem/bem-tools/package.json
55 verbose read json /Users/arikon/projects/bem/bem-tools/node_modules/.bin/package.json
56 verbose from cache /Users/arikon/projects/bem/bem-tools/node_modules/apw/package.json
57 verbose from cache /Users/arikon/projects/bem/bem-tools/node_modules/bem/package.json
58 verbose from cache /Users/arikon/projects/bem/bem-tools/node_modules/borschik/package.json
59 verbose from cache /Users/arikon/projects/bem/bem-tools/node_modules/coa/package.json
60 verbose from cache /Users/arikon/projects/bem/bem-tools/node_modules/coffee-script/package.json
61 verbose from cache /Users/arikon/projects/bem/bem-tools/node_modules/csso/package.json
62 verbose from cache /Users/arikon/projects/bem/bem-tools/node_modules/dom-js/package.json
63 verbose from cache /Users/arikon/projects/bem/bem-tools/node_modules/eyes/package.json
64 verbose from cache /Users/arikon/projects/bem/bem-tools/node_modules/inherit/package.json
65 verbose from cache /Users/arikon/projects/bem/bem-tools/node_modules/memorystream/package.json
66 verbose from cache /Users/arikon/projects/bem/bem-tools/node_modules/mime/package.json
67 verbose from cache /Users/arikon/projects/bem/bem-tools/node_modules/ometajs/package.json
68 verbose from cache /Users/arikon/projects/bem/bem-tools/node_modules/q/package.json
69 verbose from cache /Users/arikon/projects/bem/bem-tools/node_modules/q-fs/package.json
70 verbose from cache /Users/arikon/projects/bem/bem-tools/node_modules/q-http/package.json
71 verbose from cache /Users/arikon/projects/bem/bem-tools/node_modules/q-io/package.json
72 verbose from cache /Users/arikon/projects/bem/bem-tools/node_modules/qq/package.json
73 verbose from cache /Users/arikon/projects/bem/bem-tools/node_modules/uglify-js/package.json
74 verbose from cache /Users/arikon/projects/bem/bem-tools/node_modules/underscore/package.json
75 verbose from cache /Users/arikon/projects/bem/bem-tools/node_modules/winston/package.json
76 verbose from cache /Users/arikon/projects/bem/bem-tools/node_modules/xjst/package.json
77 verbose from cache /Users/arikon/projects/bem/bem-tools/node_modules/dom-js/node_modules/sax/package.json
78 verbose read json /Users/arikon/projects/bem/bem-tools/node_modules/ometajs/node_modules/.bin/package.json
79 verbose from cache /Users/arikon/projects/bem/bem-tools/node_modules/ometajs/node_modules/q/package.json
80 verbose from cache /Users/arikon/projects/bem/bem-tools/node_modules/q-fs/node_modules/fs-boot/package.json
81 verbose from cache /Users/arikon/projects/bem/bem-tools/node_modules/qq/node_modules/q/package.json
82 verbose from cache /Users/arikon/projects/bem/bem-tools/node_modules/winston/node_modules/async/package.json
83 verbose from cache /Users/arikon/projects/bem/bem-tools/node_modules/winston/node_modules/colors/package.json
84 verbose from cache /Users/arikon/projects/bem/bem-tools/node_modules/winston/node_modules/cycle/package.json
85 verbose from cache /Users/arikon/projects/bem/bem-tools/node_modules/winston/node_modules/pkginfo/package.json
86 verbose from cache /Users/arikon/projects/bem/bem-tools/node_modules/winston/node_modules/request/package.json
87 verbose from cache /Users/arikon/projects/bem/bem-tools/node_modules/winston/node_modules/stack-trace/package.json
88 verbose read json /Users/arikon/projects/bem/bem-tools/node_modules/xjst/node_modules/.bin/package.json
89 verbose from cache /Users/arikon/projects/bem/bem-tools/node_modules/xjst/node_modules/coa/package.json
90 verbose from cache /Users/arikon/projects/bem/bem-tools/node_modules/ometajs/node_modules/q/node_modules/event-queue/package.json
91 verbose from cache /Users/arikon/projects/bem/bem-tools/node_modules/xjst/node_modules/coa/node_modules/q/package.json
92 error TypeError: Cannot read property 'length' of undefined
92 error     at /Users/arikon/n/versions/0.8.12/lib/node_modules/npm/lib/dedupe.js:151:15
92 error     at cb (/Users/arikon/n/versions/0.8.12/lib/node_modules/npm/node_modules/slide/lib/async-map.js:48:11)
92 error     at /Users/arikon/n/versions/0.8.12/lib/node_modules/npm/lib/dedupe.js:228:14
92 error     at /Users/arikon/n/versions/0.8.12/lib/node_modules/npm/node_modules/slide/lib/async-map.js:54:35
92 error     at Array.forEach (native)
92 error     at /Users/arikon/n/versions/0.8.12/lib/node_modules/npm/node_modules/slide/lib/async-map.js:54:11
92 error     at Array.forEach (native)
92 error     at asyncMap (/Users/arikon/n/versions/0.8.12/lib/node_modules/npm/node_modules/slide/lib/async-map.js:53:8)
92 error     at findVersions (/Users/arikon/n/versions/0.8.12/lib/node_modules/npm/lib/dedupe.js:217:3)
92 error     at /Users/arikon/n/versions/0.8.12/lib/node_modules/npm/lib/dedupe.js:149:5
93 error If you need help, you may report this log at:
93 error     <http://github.com/isaacs/npm/issues>
93 error or email it to:
93 error     <npm-@googlegroups.com>
94 error System Darwin 12.2.0
95 error command "node" "/Users/arikon/n/bin/npm" "dedupe"
96 error cwd /Users/arikon/projects/bem/bem-tools
97 error node -v v0.8.12
98 error npm -v 1.1.65
99 error type non_object_property_load
100 verbose exit [ 1, true ]

@isaacs isaacs closed this in 6e5805b Nov 8, 2012

Owner

isaacs commented Nov 8, 2012

Thanks, will be in the next release of npm.

@isaacs isaacs reopened this Nov 8, 2012

@isaacs isaacs closed this Nov 8, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment