kelly / node-i2c

Node.js native bindings for i2c-dev. Plays well with Raspberry Pi and Beaglebone.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can't install on Raspberry Pi 2 Model B

bishopmatthew opened this issue · comments

Any idea what's going wrong?

npm install i2c

contents of npm-debug.log

0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/bin/node', '/usr/local/bin/npm', 'install', 'i2c' ]
2 info using npm@2.5.1
3 info using node@v0.12.0
4 verbose config Skipping project config: /home/pi/.npmrc. (matches userconfig)
5 silly cache add args [ 'i2c', null ]
6 verbose cache add spec i2c
7 silly cache add parsed spec { raw: 'i2c',
7 silly cache add   scope: null,
7 silly cache add   name: 'i2c',
7 silly cache add   rawSpec: '',
7 silly cache add   spec: '*',
7 silly cache add   type: 'range' }
8 verbose addNamed i2c@*
9 silly addNamed semver.valid null
10 silly addNamed semver.validRange *
11 silly addNameRange { name: 'i2c', range: '*', hasData: false }
12 silly mapToRegistry name i2c
13 silly mapToRegistry using default registry
14 silly mapToRegistry registry https://registry.npmjs.org/
15 silly mapToRegistry uri https://registry.npmjs.org/i2c
16 verbose addNameRange registry:https://registry.npmjs.org/i2c not in flight; fetching
17 verbose request uri https://registry.npmjs.org/i2c
18 verbose request no auth needed
19 info attempt registry request try #1 at 00:33:45
20 verbose request id d0924a9cf04d4015
21 verbose etag "DC2IZQMDY6QKT6HBVFA1CEFIH"
22 http request GET https://registry.npmjs.org/i2c
23 http 304 https://registry.npmjs.org/i2c
24 silly get cb [ 304,
24 silly get   { date: 'Fri, 20 Feb 2015 00:33:45 GMT',
24 silly get     server: 'Apache',
24 silly get     via: '1.1 varnish',
24 silly get     'last-modified': 'Fri, 20 Feb 2015 00:33:45 GMT',
24 silly get     'cache-control': 'max-age=60',
24 silly get     etag: '"DC2IZQMDY6QKT6HBVFA1CEFIH"',
24 silly get     age: '0',
24 silly get     'x-served-by': 'cache-lax1427-LAX',
24 silly get     'x-cache': 'MISS',
24 silly get     'x-cache-hits': '0',
24 silly get     'x-timer': 'S1424392425.464737,VS0,VE180',
24 silly get     vary: 'Accept',
24 silly get     'content-length': '0',
24 silly get     'keep-alive': 'timeout=10, max=50',
24 silly get     connection: 'Keep-Alive' } ]
25 verbose etag https://registry.npmjs.org/i2c from cache
26 verbose get saving i2c to /home/pi/.npm/registry.npmjs.org/i2c/.cache.json
27 silly addNameRange number 2 { name: 'i2c', range: '*', hasData: true }
28 silly addNameRange versions [ 'i2c',
28 silly addNameRange   [ '0.0.1',
28 silly addNameRange     '0.0.2',
28 silly addNameRange     '0.0.3',
28 silly addNameRange     '0.0.4',
28 silly addNameRange     '0.0.5',
28 silly addNameRange     '0.1.0',
28 silly addNameRange     '0.1.1',
28 silly addNameRange     '0.1.2',
28 silly addNameRange     '0.1.3',
28 silly addNameRange     '0.1.4',
28 silly addNameRange     '0.1.5',
28 silly addNameRange     '0.1.6',
28 silly addNameRange     '0.1.7',
28 silly addNameRange     '0.1.8' ] ]
29 verbose addNamed i2c@0.1.8
30 silly addNamed semver.valid 0.1.8
31 silly addNamed semver.validRange 0.1.8
32 silly cache afterAdd i2c@0.1.8
33 verbose afterAdd /home/pi/.npm/i2c/0.1.8/package/package.json not in flight; writing
34 verbose afterAdd /home/pi/.npm/i2c/0.1.8/package/package.json written
35 silly install resolved [ { name: 'i2c',
35 silly install resolved     version: '0.1.8',
35 silly install resolved     description: 'Native bindings for i2c-dev. Plays well with Raspberry Pi and BeagleBone.',
35 silly install resolved     main: 'main.js',
35 silly install resolved     author: { name: 'Kelly Korevec' },
35 silly install resolved     repository: { type: 'git', url: 'http://github.com/korevec/node-i2c.git' },
35 silly install resolved     license: 'BSD',
35 silly install resolved     dependencies:
35 silly install resolved      { bindings: '~1.1.0',
35 silly install resolved        underscore: '1.2.4',
35 silly install resolved        'coffee-script': '1.3.3',
35 silly install resolved        repl: '0.1.3' },
35 silly install resolved     scripts: { install: 'node-gyp rebuild' },
35 silly install resolved     gypfile: true,
35 silly install resolved     bugs: { url: 'https://github.com/korevec/node-i2c/issues' },
35 silly install resolved     homepage: 'https://github.com/korevec/node-i2c',
35 silly install resolved     _id: 'i2c@0.1.8',
35 silly install resolved     dist:
35 silly install resolved      { shasum: '551a582ed48af3d78165c932b0280b3c02f67701',
35 silly install resolved        tarball: 'http://registry.npmjs.org/i2c/-/i2c-0.1.8.tgz' },
35 silly install resolved     _from: 'i2c@*',
35 silly install resolved     _npmVersion: '1.3.14',
35 silly install resolved     _npmUser: { name: 'kelly', email: 'korevec@gmail.com' },
35 silly install resolved     maintainers: [ [Object] ],
35 silly install resolved     directories: {},
35 silly install resolved     _shasum: '551a582ed48af3d78165c932b0280b3c02f67701',
35 silly install resolved     _resolved: 'https://registry.npmjs.org/i2c/-/i2c-0.1.8.tgz',
35 silly install resolved     readme: 'ERROR: No README data found!' } ]
36 info install i2c@0.1.8 into /home/pi
37 info installOne i2c@0.1.8
38 verbose installOne of i2c to /home/pi not in flight; installing
39 verbose lock using /home/pi/.npm/_locks/i2c-0127ede1d4fb2b43.lock for /home/pi/node_modules/i2c
40 silly install write writing i2c 0.1.8 to /home/pi/node_modules/i2c
41 silly cache addNamed cb i2c@0.1.8
42 verbose unbuild node_modules/i2c
43 verbose gentlyRm vacuuming /home/pi/node_modules/i2c
44 verbose tar unpack /home/pi/.npm/i2c/0.1.8/package.tgz
45 verbose tar unpacking to /home/pi/node_modules/i2c
46 verbose gentlyRm vacuuming /home/pi/node_modules/i2c
47 silly gunzTarPerm modes [ '755', '644' ]
48 silly gunzTarPerm extractEntry package.json
49 silly gunzTarPerm extractEntry .npmignore
50 silly gunzTarPerm extractEntry README.md
51 silly gunzTarPerm extractEntry LICENSE
52 silly gunzTarPerm extractEntry main.js
53 silly gunzTarPerm extractEntry binding.gyp
54 silly gunzTarPerm extractEntry examples/accelerometer/accel.coffee
55 silly gunzTarPerm extractEntry examples/blinkm/blinkm.coffee
56 silly gunzTarPerm extractEntry lib/i2c.coffee
57 silly gunzTarPerm extractEntry src/i2c-dev.c
58 silly gunzTarPerm extractEntry src/i2c-dev.h
59 silly gunzTarPerm extractEntry src/i2c.cc
60 info preinstall i2c@0.1.8
61 silly prepareForInstallMany adding bindings@~1.1.0 from i2c dependencies
62 silly prepareForInstallMany adding underscore@1.2.4 from i2c dependencies
63 silly prepareForInstallMany adding coffee-script@1.3.3 from i2c dependencies
64 silly prepareForInstallMany adding repl@0.1.3 from i2c dependencies
65 silly cache add args [ 'bindings@~1.1.0', null ]
66 verbose cache add spec bindings@~1.1.0
67 silly cache add parsed spec { raw: 'bindings@~1.1.0',
67 silly cache add   scope: null,
67 silly cache add   name: 'bindings',
67 silly cache add   rawSpec: '~1.1.0',
67 silly cache add   spec: '>=1.1.0 <1.2.0',
67 silly cache add   type: 'range' }
68 verbose addNamed bindings@>=1.1.0 <1.2.0
69 silly addNamed semver.valid null
70 silly addNamed semver.validRange >=1.1.0 <1.2.0
71 silly addNameRange { name: 'bindings', range: '>=1.1.0 <1.2.0', hasData: false }
72 silly mapToRegistry name bindings
73 silly mapToRegistry using default registry
74 silly mapToRegistry registry https://registry.npmjs.org/
75 silly mapToRegistry uri https://registry.npmjs.org/bindings
76 verbose addNameRange registry:https://registry.npmjs.org/bindings not in flight; fetching
77 silly cache add args [ 'underscore@1.2.4', null ]
78 verbose cache add spec underscore@1.2.4
79 silly cache add parsed spec { raw: 'underscore@1.2.4',
79 silly cache add   scope: null,
79 silly cache add   name: 'underscore',
79 silly cache add   rawSpec: '1.2.4',
79 silly cache add   spec: '1.2.4',
79 silly cache add   type: 'version' }
80 verbose addNamed underscore@1.2.4
81 silly addNamed semver.valid 1.2.4
82 silly addNamed semver.validRange 1.2.4
83 silly mapToRegistry name underscore
84 silly mapToRegistry using default registry
85 silly mapToRegistry registry https://registry.npmjs.org/
86 silly mapToRegistry uri https://registry.npmjs.org/underscore
87 verbose addNameVersion registry:https://registry.npmjs.org/underscore not in flight; fetching
88 silly cache add args [ 'coffee-script@1.3.3', null ]
89 verbose cache add spec coffee-script@1.3.3
90 silly cache add parsed spec { raw: 'coffee-script@1.3.3',
90 silly cache add   scope: null,
90 silly cache add   name: 'coffee-script',
90 silly cache add   rawSpec: '1.3.3',
90 silly cache add   spec: '1.3.3',
90 silly cache add   type: 'version' }
91 verbose addNamed coffee-script@1.3.3
92 silly addNamed semver.valid 1.3.3
93 silly addNamed semver.validRange 1.3.3
94 silly mapToRegistry name coffee-script
95 silly mapToRegistry using default registry
96 silly mapToRegistry registry https://registry.npmjs.org/
97 silly mapToRegistry uri https://registry.npmjs.org/coffee-script
98 verbose addNameVersion registry:https://registry.npmjs.org/coffee-script not in flight; fetching
99 silly cache add args [ 'repl@0.1.3', null ]
100 verbose cache add spec repl@0.1.3
101 silly cache add parsed spec { raw: 'repl@0.1.3',
101 silly cache add   scope: null,
101 silly cache add   name: 'repl',
101 silly cache add   rawSpec: '0.1.3',
101 silly cache add   spec: '0.1.3',
101 silly cache add   type: 'version' }
102 verbose addNamed repl@0.1.3
103 silly addNamed semver.valid 0.1.3
104 silly addNamed semver.validRange 0.1.3
105 silly mapToRegistry name repl
106 silly mapToRegistry using default registry
107 silly mapToRegistry registry https://registry.npmjs.org/
108 silly mapToRegistry uri https://registry.npmjs.org/repl
109 verbose addNameVersion registry:https://registry.npmjs.org/repl not in flight; fetching
110 verbose request uri https://registry.npmjs.org/bindings
111 verbose request no auth needed
112 info attempt registry request try #1 at 00:33:46
113 verbose etag "BJGP1201ZXLWX88VO1W0N0YSR"
114 http request GET https://registry.npmjs.org/bindings
115 verbose request uri https://registry.npmjs.org/underscore
116 verbose request no auth needed
117 info attempt registry request try #1 at 00:33:46
118 verbose etag "1REGDD3MGL2O684NHMKG9UOYC"
119 http request GET https://registry.npmjs.org/underscore
120 verbose request uri https://registry.npmjs.org/coffee-script
121 verbose request no auth needed
122 info attempt registry request try #1 at 00:33:46
123 verbose etag "BZLVOCQVNK02P53ZG3AU4RMQE"
124 http request GET https://registry.npmjs.org/coffee-script
125 verbose request uri https://registry.npmjs.org/repl
126 verbose request no auth needed
127 info attempt registry request try #1 at 00:33:46
128 verbose etag "D0Y7J9FH7MB8KIVL2GAMD0EPQ"
129 http request GET https://registry.npmjs.org/repl
130 http 304 https://registry.npmjs.org/bindings
131 silly get cb [ 304,
131 silly get   { date: 'Fri, 20 Feb 2015 00:33:46 GMT',
131 silly get     server: 'Apache',
131 silly get     via: '1.1 varnish',
131 silly get     'last-modified': 'Fri, 20 Feb 2015 00:33:12 GMT',
131 silly get     'cache-control': 'max-age=60',
131 silly get     etag: '"BJGP1201ZXLWX88VO1W0N0YSR"',
131 silly get     age: '34',
131 silly get     'x-served-by': 'cache-lax1429-LAX',
131 silly get     'x-cache': 'HIT',
131 silly get     'x-cache-hits': '4',
131 silly get     'x-timer': 'S1424392426.880567,VS0,VE0',
131 silly get     vary: 'Accept',
131 silly get     'content-length': '0',
131 silly get     'keep-alive': 'timeout=10, max=50',
131 silly get     connection: 'Keep-Alive' } ]
132 verbose etag https://registry.npmjs.org/bindings from cache
133 verbose get saving bindings to /home/pi/.npm/registry.npmjs.org/bindings/.cache.json
134 http 304 https://registry.npmjs.org/coffee-script
135 silly get cb [ 304,
135 silly get   { date: 'Fri, 20 Feb 2015 00:33:46 GMT',
135 silly get     server: 'Apache',
135 silly get     via: '1.1 varnish',
135 silly get     'last-modified': 'Fri, 20 Feb 2015 00:33:07 GMT',
135 silly get     'cache-control': 'max-age=60',
135 silly get     etag: '"BZLVOCQVNK02P53ZG3AU4RMQE"',
135 silly get     age: '41',
135 silly get     'x-served-by': 'cache-lax1420-LAX',
135 silly get     'x-cache': 'HIT',
135 silly get     'x-cache-hits': '2',
135 silly get     'x-timer': 'S1424392426.892557,VS0,VE0',
135 silly get     vary: 'Accept',
135 silly get     'content-length': '0',
135 silly get     'keep-alive': 'timeout=10, max=50',
135 silly get     connection: 'Keep-Alive' } ]
136 verbose etag https://registry.npmjs.org/coffee-script from cache
137 verbose get saving coffee-script to /home/pi/.npm/registry.npmjs.org/coffee-script/.cache.json
138 http 304 https://registry.npmjs.org/underscore
139 silly get cb [ 304,
139 silly get   { date: 'Fri, 20 Feb 2015 00:33:46 GMT',
139 silly get     server: 'Apache',
139 silly get     via: '1.1 varnish',
139 silly get     'last-modified': 'Fri, 20 Feb 2015 00:33:46 GMT',
139 silly get     'cache-control': 'max-age=60',
139 silly get     etag: '"1REGDD3MGL2O684NHMKG9UOYC"',
139 silly get     age: '38',
139 silly get     'x-served-by': 'cache-lax1435-LAX',
139 silly get     'x-cache': 'HIT',
139 silly get     'x-cache-hits': '1',
139 silly get     'x-timer': 'S1424392426.921219,VS0,VE0',
139 silly get     vary: 'Accept',
139 silly get     'content-length': '0',
139 silly get     'keep-alive': 'timeout=10, max=50',
139 silly get     connection: 'Keep-Alive' } ]
140 verbose etag https://registry.npmjs.org/underscore from cache
141 verbose get saving underscore to /home/pi/.npm/registry.npmjs.org/underscore/.cache.json
142 silly addNameRange number 2 { name: 'bindings', range: '>=1.1.0 <1.2.0', hasData: true }
143 silly addNameRange versions [ 'bindings',
143 silly addNameRange   [ '0.0.1',
143 silly addNameRange     '0.1.0',
143 silly addNameRange     '0.1.1',
143 silly addNameRange     '0.2.0',
143 silly addNameRange     '0.2.1',
143 silly addNameRange     '0.2.2',
143 silly addNameRange     '0.2.3',
143 silly addNameRange     '0.2.4',
143 silly addNameRange     '0.3.0',
143 silly addNameRange     '0.4.0',
143 silly addNameRange     '1.0.0',
143 silly addNameRange     '1.1.0',
143 silly addNameRange     '1.1.1',
143 silly addNameRange     '1.2.0',
143 silly addNameRange     '1.2.1' ] ]
144 verbose addNamed bindings@1.1.1
145 silly addNamed semver.valid 1.1.1
146 silly addNamed semver.validRange 1.1.1
147 silly cache afterAdd bindings@1.1.1
148 verbose afterAdd /home/pi/.npm/bindings/1.1.1/package/package.json not in flight; writing
149 silly cache afterAdd coffee-script@1.3.3
150 verbose afterAdd /home/pi/.npm/coffee-script/1.3.3/package/package.json not in flight; writing
151 silly cache afterAdd underscore@1.2.4
152 verbose afterAdd /home/pi/.npm/underscore/1.2.4/package/package.json not in flight; writing
153 verbose afterAdd /home/pi/.npm/bindings/1.1.1/package/package.json written
154 verbose afterAdd /home/pi/.npm/coffee-script/1.3.3/package/package.json written
155 verbose afterAdd /home/pi/.npm/underscore/1.2.4/package/package.json written
156 http 304 https://registry.npmjs.org/repl
157 silly get cb [ 304,
157 silly get   { date: 'Fri, 20 Feb 2015 00:33:46 GMT',
157 silly get     server: 'Apache',
157 silly get     via: '1.1 varnish',
157 silly get     'last-modified': 'Fri, 20 Feb 2015 00:33:47 GMT',
157 silly get     'cache-control': 'max-age=60',
157 silly get     etag: '"D0Y7J9FH7MB8KIVL2GAMD0EPQ"',
157 silly get     age: '0',
157 silly get     'x-served-by': 'cache-lax1429-LAX',
157 silly get     'x-cache': 'MISS',
157 silly get     'x-cache-hits': '0',
157 silly get     'x-timer': 'S1424392426.937607,VS0,VE273',
157 silly get     vary: 'Accept',
157 silly get     'content-length': '0',
157 silly get     'keep-alive': 'timeout=10, max=50',
157 silly get     connection: 'Keep-Alive' } ]
158 verbose etag https://registry.npmjs.org/repl from cache
159 verbose get saving repl to /home/pi/.npm/registry.npmjs.org/repl/.cache.json
160 silly cache afterAdd repl@0.1.3
161 verbose afterAdd /home/pi/.npm/repl/0.1.3/package/package.json not in flight; writing
162 verbose afterAdd /home/pi/.npm/repl/0.1.3/package/package.json written
163 silly install resolved [ { name: 'bindings',
163 silly install resolved     description: 'Helper module for loading your native module\'s .node file',
163 silly install resolved     keywords: [ 'native', 'addon', 'bindings', 'gyp', 'waf', 'c', 'c++' ],
163 silly install resolved     version: '1.1.1',
163 silly install resolved     author:
163 silly install resolved      { name: 'Nathan Rajlich',
163 silly install resolved        email: 'nathan@tootallnate.net',
163 silly install resolved        url: 'http://tootallnate.net' },
163 silly install resolved     repository:
163 silly install resolved      { type: 'git',
163 silly install resolved        url: 'git://github.com/TooTallNate/node-bindings.git' },
163 silly install resolved     main: './bindings.js',
163 silly install resolved     bugs: { url: 'https://github.com/TooTallNate/node-bindings/issues' },
163 silly install resolved     _id: 'bindings@1.1.1',
163 silly install resolved     dist:
163 silly install resolved      { shasum: '951f7ae010302ffc50b265b124032017ed2bf6f3',
163 silly install resolved        tarball: 'http://registry.npmjs.org/bindings/-/bindings-1.1.1.tgz' },
163 silly install resolved     _from: 'bindings@>=1.1.0 <1.2.0',
163 silly install resolved     _npmVersion: '1.3.2',
163 silly install resolved     _npmUser: { name: 'tootallnate', email: 'nathan@tootallnate.net' },
163 silly install resolved     maintainers: [ [Object], [Object] ],
163 silly install resolved     directories: {},
163 silly install resolved     _shasum: '951f7ae010302ffc50b265b124032017ed2bf6f3',
163 silly install resolved     _resolved: 'https://registry.npmjs.org/bindings/-/bindings-1.1.1.tgz',
163 silly install resolved     readme: 'ERROR: No README data found!',
163 silly install resolved     homepage: 'https://github.com/TooTallNate/node-bindings' },
163 silly install resolved   { name: 'coffee-script',
163 silly install resolved     description: 'Unfancy JavaScript',
163 silly install resolved     keywords: [ 'javascript', 'language', 'coffeescript', 'compiler' ],
163 silly install resolved     author: { name: 'Jeremy Ashkenas' },
163 silly install resolved     version: '1.3.3',
163 silly install resolved     licenses: [ [Object] ],
163 silly install resolved     engines: { node: '>=0.4.0' },
163 silly install resolved     directories: { lib: './lib/coffee-script' },
163 silly install resolved     main: './lib/coffee-script/coffee-script',
163 silly install resolved     bin: { coffee: './bin/coffee', cake: './bin/cake' },
163 silly install resolved     homepage: 'http://coffeescript.org',
163 silly install resolved     bugs: { url: 'https://github.com/jashkenas/coffee-script/issues' },
163 silly install resolved     repository:
163 silly install resolved      { type: 'git',
163 silly install resolved        url: 'git://github.com/jashkenas/coffee-script.git' },
163 silly install resolved     devDependencies: { 'uglify-js': '>=1.0.0', jison: '>=0.2.0' },
163 silly install resolved     _npmUser: { name: 'jashkenas', email: 'jashkenas@gmail.com' },
163 silly install resolved     _id: 'coffee-script@1.3.3',
163 silly install resolved     dependencies: {},
163 silly install resolved     optionalDependencies: {},
163 silly install resolved     _engineSupported: true,
163 silly install resolved     _npmVersion: '1.1.18',
163 silly install resolved     _nodeVersion: 'v0.6.16',
163 silly install resolved     _defaultsLoaded: true,
163 silly install resolved     dist:
163 silly install resolved      { shasum: '150d6b4cb522894369efed6a2101c20bc7f4a4f4',
163 silly install resolved        tarball: 'http://registry.npmjs.org/coffee-script/-/coffee-script-1.3.3.tgz' },
163 silly install resolved     maintainers: [ [Object] ],
163 silly install resolved     _shasum: '150d6b4cb522894369efed6a2101c20bc7f4a4f4',
163 silly install resolved     _resolved: 'https://registry.npmjs.org/coffee-script/-/coffee-script-1.3.3.tgz',
163 silly install resolved     _from: 'coffee-script@1.3.3',
163 silly install resolved     readme: 'ERROR: No README data found!' },
163 silly install resolved   { name: 'underscore',
163 silly install resolved     description: 'JavaScript\'s functional programming helper library.',
163 silly install resolved     homepage: 'http://documentcloud.github.com/underscore/',
163 silly install resolved     keywords: [ 'util', 'functional', 'server', 'client', 'browser' ],
163 silly install resolved     author: { name: 'Jeremy Ashkenas', email: 'jeremy@documentcloud.org' },
163 silly install resolved     contributors: [],
163 silly install resolved     repository:
163 silly install resolved      { type: 'git',
163 silly install resolved        url: 'git://github.com/documentcloud/underscore.git' },
163 silly install resolved     main: 'underscore.js',
163 silly install resolved     version: '1.2.4',
163 silly install resolved     _npmUser: { name: 'jashkenas', email: 'jashkenas@gmail.com' },
163 silly install resolved     _id: 'underscore@1.2.4',
163 silly install resolved     dependencies: {},
163 silly install resolved     devDependencies: {},
163 silly install resolved     engines: { node: '*' },
163 silly install resolved     _engineSupported: true,
163 silly install resolved     _npmVersion: '1.0.104',
163 silly install resolved     _nodeVersion: 'v0.6.6',
163 silly install resolved     _defaultsLoaded: true,
163 silly install resolved     dist:
163 silly install resolved      { shasum: 'e8da6241aa06f64df2473bb2590b8c17c84c3c7e',
163 silly install resolved        tarball: 'http://registry.npmjs.org/underscore/-/underscore-1.2.4.tgz' },
163 silly install resolved     maintainers: [ [Object], [Object] ],
163 silly install resolved     directories: {},
163 silly install resolved     _shasum: 'e8da6241aa06f64df2473bb2590b8c17c84c3c7e',
163 silly install resolved     _resolved: 'https://registry.npmjs.org/underscore/-/underscore-1.2.4.tgz',
163 silly install resolved     _from: 'underscore@1.2.4',
163 silly install resolved     bugs: { url: 'https://github.com/documentcloud/underscore/issues' },
163 silly install resolved     readme: 'ERROR: No README data found!' },
163 silly install resolved   { name: 'repl',
163 silly install resolved     author: { name: 'Firejune', url: 'http://firejune.com/' },
163 silly install resolved     version: '0.1.3',
163 silly install resolved     description: 'A simple fast template libray.',
163 silly install resolved     homepage: 'http://github.com/firejune/repl',
163 silly install resolved     keywords: [ 'template', 'engine', 'repl' ],
163 silly install resolved     main: 'lib/template',
163 silly install resolved     directories: { lib: 'lib' },
163 silly install resolved     repository: { type: 'git', url: 'git://github.com/firejune/repl.git' },
163 silly install resolved     licenses: [ [Object] ],
163 silly install resolved     bugs: { url: 'http://github.com/firejune/repl/issues' },
163 silly install resolved     engines: { node: '>= 0.4.0' },
163 silly install resolved     _npmUser: { name: 'firejune', email: 'to@firejune.com' },
163 silly install resolved     _id: 'repl@0.1.3',
163 silly install resolved     dependencies: {},
163 silly install resolved     devDependencies: {},
163 silly install resolved     _engineSupported: true,
163 silly install resolved     _npmVersion: '1.0.94',
163 silly install resolved     _nodeVersion: 'v0.4.12',
163 silly install resolved     _defaultsLoaded: true,
163 silly install resolved     dist:
163 silly install resolved      { shasum: '2f05d42b0c88b43d05ccbda10ed14aeff5699b60',
163 silly install resolved        tarball: 'http://registry.npmjs.org/repl/-/repl-0.1.3.tgz' },
163 silly install resolved     maintainers: [ [Object] ],
163 silly install resolved     _shasum: '2f05d42b0c88b43d05ccbda10ed14aeff5699b60',
163 silly install resolved     _resolved: 'https://registry.npmjs.org/repl/-/repl-0.1.3.tgz',
163 silly install resolved     _from: 'repl@0.1.3',
163 silly install resolved     readme: 'ERROR: No README data found!' } ]
164 info install bindings@1.1.1 into /home/pi/node_modules/i2c
165 info install coffee-script@1.3.3 into /home/pi/node_modules/i2c
166 info install underscore@1.2.4 into /home/pi/node_modules/i2c
167 info install repl@0.1.3 into /home/pi/node_modules/i2c
168 info installOne bindings@1.1.1
169 verbose installOne of bindings to /home/pi/node_modules/i2c not in flight; installing
170 info installOne coffee-script@1.3.3
171 verbose installOne of coffee-script to /home/pi/node_modules/i2c not in flight; installing
172 info installOne underscore@1.2.4
173 verbose installOne of underscore to /home/pi/node_modules/i2c not in flight; installing
174 info installOne repl@0.1.3
175 verbose installOne of repl to /home/pi/node_modules/i2c not in flight; installing
176 verbose lock using /home/pi/.npm/_locks/bindings-ae604ae5da511626.lock for /home/pi/node_modules/i2c/node_modules/bindings
177 verbose lock using /home/pi/.npm/_locks/coffee-script-07b2436a8347de5d.lock for /home/pi/node_modules/i2c/node_modules/coffee-script
178 verbose lock using /home/pi/.npm/_locks/underscore-f47ef18758b5c497.lock for /home/pi/node_modules/i2c/node_modules/underscore
179 verbose lock using /home/pi/.npm/_locks/repl-1b4ba3b3028627d0.lock for /home/pi/node_modules/i2c/node_modules/repl
180 silly install write writing bindings 1.1.1 to /home/pi/node_modules/i2c/node_modules/bindings
181 silly cache addNamed cb bindings@1.1.1
182 verbose unbuild node_modules/i2c/node_modules/bindings
183 silly install write writing coffee-script 1.3.3 to /home/pi/node_modules/i2c/node_modules/coffee-script
184 silly cache addNamed cb coffee-script@1.3.3
185 verbose unbuild node_modules/i2c/node_modules/coffee-script
186 silly install write writing underscore 1.2.4 to /home/pi/node_modules/i2c/node_modules/underscore
187 silly cache addNamed cb underscore@1.2.4
188 verbose unbuild node_modules/i2c/node_modules/underscore
189 silly install write writing repl 0.1.3 to /home/pi/node_modules/i2c/node_modules/repl
190 silly cache addNamed cb repl@0.1.3
191 verbose unbuild node_modules/i2c/node_modules/repl
192 verbose gentlyRm vacuuming /home/pi/node_modules/i2c/node_modules/bindings
193 verbose gentlyRm vacuuming /home/pi/node_modules/i2c/node_modules/coffee-script
194 verbose gentlyRm vacuuming /home/pi/node_modules/i2c/node_modules/underscore
195 verbose gentlyRm vacuuming /home/pi/node_modules/i2c/node_modules/repl
196 verbose tar unpack /home/pi/.npm/bindings/1.1.1/package.tgz
197 verbose tar unpacking to /home/pi/node_modules/i2c/node_modules/bindings
198 verbose gentlyRm vacuuming /home/pi/node_modules/i2c/node_modules/bindings
199 verbose tar unpack /home/pi/.npm/coffee-script/1.3.3/package.tgz
200 verbose tar unpacking to /home/pi/node_modules/i2c/node_modules/coffee-script
201 verbose gentlyRm vacuuming /home/pi/node_modules/i2c/node_modules/coffee-script
202 verbose tar unpack /home/pi/.npm/underscore/1.2.4/package.tgz
203 verbose tar unpacking to /home/pi/node_modules/i2c/node_modules/underscore
204 verbose gentlyRm vacuuming /home/pi/node_modules/i2c/node_modules/underscore
205 verbose tar unpack /home/pi/.npm/repl/0.1.3/package.tgz
206 verbose tar unpacking to /home/pi/node_modules/i2c/node_modules/repl
207 verbose gentlyRm vacuuming /home/pi/node_modules/i2c/node_modules/repl
208 silly gunzTarPerm modes [ '755', '644' ]
209 silly gunzTarPerm modes [ '755', '644' ]
210 silly gunzTarPerm modes [ '755', '644' ]
211 silly gunzTarPerm modes [ '755', '644' ]
212 silly gunzTarPerm extractEntry package.json
213 silly gunzTarPerm extractEntry package.json
214 silly gunzTarPerm extractEntry .gitignore
215 silly gunzTarPerm extractEntry test.js
216 silly gunzTarPerm extractEntry README.md
217 silly gunzTarPerm extractEntry bindings.js
218 silly gunzTarPerm extractEntry .npmignore
219 silly gunzTarPerm extractEntry README
220 silly gunzTarPerm extractEntry .npmignore
221 silly gunzTarPerm extractEntry index.html
222 silly gunzTarPerm extractEntry README.md
223 silly gunzTarPerm extractEntry package.json
224 silly gunzTarPerm extractEntry index.js
225 silly gunzTarPerm extractEntry LICENSE
226 silly gunzTarPerm extractEntry bin/cake
227 silly gunzTarPerm extractEntry index.js
228 silly gunzTarPerm extractEntry lib/repl.js
229 silly gunzTarPerm extractEntry LICENSE
230 silly gunzTarPerm extractEntry package.json
231 silly gunzTarPerm extractEntry README
232 silly gunzTarPerm extractEntry bin/coffee
233 silly gunzTarPerm extractEntry CNAME
234 silly gunzTarPerm extractEntry extras/jsl.conf
235 silly gunzTarPerm extractEntry lib/coffee-script/browser.js
236 silly gunzTarPerm extractEntry lib/coffee-script/command.js
237 silly gunzTarPerm extractEntry lib/coffee-script/grammar.js
238 silly gunzTarPerm extractEntry lib/coffee-script/helpers.js
239 info preinstall bindings@1.1.1
240 silly gunzTarPerm extractEntry underscore-min.js
241 silly install resolved []
242 verbose about to build /home/pi/node_modules/i2c/node_modules/bindings
243 info build /home/pi/node_modules/i2c/node_modules/bindings
244 verbose linkStuff [ false, false, false, '/home/pi/node_modules/i2c/node_modules' ]
245 info linkStuff bindings@1.1.1
246 verbose linkBins bindings@1.1.1
247 verbose linkMans bindings@1.1.1
248 verbose rebuildBundles bindings@1.1.1
249 info install bindings@1.1.1
250 silly gunzTarPerm extractEntry lib/coffee-script/index.js
251 silly gunzTarPerm extractEntry lib/coffee-script/coffee-script.js
252 info preinstall repl@0.1.3
253 info postinstall bindings@1.1.1
254 silly install resolved []
255 verbose about to build /home/pi/node_modules/i2c/node_modules/repl
256 info build /home/pi/node_modules/i2c/node_modules/repl
257 verbose linkStuff [ false, false, false, '/home/pi/node_modules/i2c/node_modules' ]
258 info linkStuff repl@0.1.3
259 verbose unlock done using /home/pi/.npm/_locks/bindings-ae604ae5da511626.lock for /home/pi/node_modules/i2c/node_modules/bindings
260 verbose linkBins repl@0.1.3
261 verbose linkMans repl@0.1.3
262 verbose rebuildBundles repl@0.1.3
263 silly gunzTarPerm extractEntry lib/coffee-script/nodes.js
264 silly gunzTarPerm extractEntry lib/coffee-script/optparse.js
265 info install repl@0.1.3
266 info postinstall repl@0.1.3
267 verbose unlock done using /home/pi/.npm/_locks/repl-1b4ba3b3028627d0.lock for /home/pi/node_modules/i2c/node_modules/repl
268 silly gunzTarPerm extractEntry lib/coffee-script/parser.js
269 silly gunzTarPerm extractEntry lib/coffee-script/repl.js
270 silly gunzTarPerm extractEntry underscore.js
271 silly gunzTarPerm extractEntry lib/coffee-script/rewriter.js
272 silly gunzTarPerm extractEntry lib/coffee-script/cake.js
273 silly gunzTarPerm extractEntry raw/underscore.psd
274 silly gunzTarPerm extractEntry lib/coffee-script/scope.js
275 silly gunzTarPerm extractEntry lib/coffee-script/lexer.js
276 silly gunzTarPerm extractEntry Rakefile
277 info preinstall underscore@1.2.4
278 silly install resolved []
279 verbose about to build /home/pi/node_modules/i2c/node_modules/underscore
280 info build /home/pi/node_modules/i2c/node_modules/underscore
281 verbose linkStuff [ false, false, false, '/home/pi/node_modules/i2c/node_modules' ]
282 info linkStuff underscore@1.2.4
283 verbose linkBins underscore@1.2.4
284 verbose linkMans underscore@1.2.4
285 verbose rebuildBundles underscore@1.2.4
286 info install underscore@1.2.4
287 info postinstall underscore@1.2.4
288 verbose unlock done using /home/pi/.npm/_locks/underscore-f47ef18758b5c497.lock for /home/pi/node_modules/i2c/node_modules/underscore
289 info preinstall coffee-script@1.3.3
290 silly install resolved []
291 verbose about to build /home/pi/node_modules/i2c/node_modules/coffee-script
292 info build /home/pi/node_modules/i2c/node_modules/coffee-script
293 verbose linkStuff [ false, false, false, '/home/pi/node_modules/i2c/node_modules' ]
294 info linkStuff coffee-script@1.3.3
295 verbose linkBins coffee-script@1.3.3
296 verbose link bins [ { coffee: './bin/coffee', cake: './bin/cake' },
296 verbose link bins   '/home/pi/node_modules/i2c/node_modules/.bin',
296 verbose link bins   false ]
297 verbose linkMans coffee-script@1.3.3
298 verbose rebuildBundles coffee-script@1.3.3
299 verbose gentlyRm vacuuming /home/pi/node_modules/i2c/node_modules/.bin/coffee
300 verbose gentlyRm vacuuming /home/pi/node_modules/i2c/node_modules/.bin/cake
301 info install coffee-script@1.3.3
302 info postinstall coffee-script@1.3.3
303 verbose unlock done using /home/pi/.npm/_locks/coffee-script-07b2436a8347de5d.lock for /home/pi/node_modules/i2c/node_modules/coffee-script
304 verbose about to build /home/pi/node_modules/i2c
305 info build /home/pi/node_modules/i2c
306 verbose linkStuff [ false, false, false, '/home/pi/node_modules' ]
307 info linkStuff i2c@0.1.8
308 verbose linkBins i2c@0.1.8
309 verbose linkMans i2c@0.1.8
310 verbose rebuildBundles i2c@0.1.8
311 verbose rebuildBundles [ '.bin', 'bindings', 'coffee-script', 'repl', 'underscore' ]
312 info install i2c@0.1.8
313 verbose unsafe-perm in lifecycle true
314 info i2c@0.1.8 Failed to exec install script
315 verbose unlock done using /home/pi/.npm/_locks/i2c-0127ede1d4fb2b43.lock for /home/pi/node_modules/i2c
316 verbose stack Error: i2c@0.1.8 install: `node-gyp rebuild`
316 verbose stack Exit status 1
316 verbose stack     at EventEmitter.<anonymous> (/usr/local/lib/node_modules/npm/lib/utils/lifecycle.js:213:16)
316 verbose stack     at EventEmitter.emit (events.js:110:17)
316 verbose stack     at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/lib/utils/spawn.js:14:12)
316 verbose stack     at ChildProcess.emit (events.js:110:17)
316 verbose stack     at maybeClose (child_process.js:1008:16)
316 verbose stack     at Process.ChildProcess._handle.onexit (child_process.js:1080:5)
317 verbose pkgid i2c@0.1.8
318 verbose cwd /home/pi
319 error Linux 3.18.7-v7+
320 error argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "i2c"
321 error node v0.12.0
322 error npm  v2.5.1
323 error code ELIFECYCLE
324 error i2c@0.1.8 install: `node-gyp rebuild`
324 error Exit status 1
325 error Failed at the i2c@0.1.8 install script 'node-gyp rebuild'.
325 error This is most likely a problem with the i2c package,
325 error not with npm itself.
325 error Tell the author that this fails on your system:
325 error     node-gyp rebuild
325 error You can get their info via:
325 error     npm owner ls i2c
325 error There is likely additional logging output above.
326 verbose exit [ 1, true ]
327 verbose unbuild node_modules/i2c
328 info preuninstall i2c@0.1.8
329 info uninstall i2c@0.1.8
330 verbose unbuild rmStuff i2c@0.1.8 from /home/pi/node_modules
331 info postuninstall i2c@0.1.8
332 verbose gentlyRm vacuuming /home/pi/node_modules/i2c
333 silly gentlyRm purging /home/pi/node_modules/i2c
334 silly gentlyRm quitting because other entries in /home/pi/node_modules

Is this on raspbian? do you have the build-essential package installed?

Yes, and yes.
dpkg -s build-essential

Package: build-essential
Status: install ok installed
Priority: optional
Section: devel
Installed-Size: 36
Maintainer: Matthias Klose <doko@debian.org>
Architecture: armhf
Source: build-essential (11.5)
Version: 11.5+b1
Depends: libc6-dev | libc-dev, gcc (>= 4:4.4.3), g++ (>= 4:4.4.3), make, dpkg-dev (>= 1.13.5)
Description: Informational list of build-essential packages
 If you do not plan to build Debian packages, you don't need this
 package.  Starting with dpkg (>= 1.14.18) this package is required
 for building Debian packages.
 .
 This package contains an informational list of packages which are
 considered essential for building Debian packages.  This package also
 depends on the packages on that list, to make it easy to have the
 build-essential packages installed.
 .
 If you have this package installed, you only need to install whatever
 a package specifies as its build-time dependencies to build the
 package.  Conversely, if you are determining what your package needs
 to build-depend on, you can always leave out the packages this
 package depends on.
 .
 This package is NOT the definition of what packages are
 build-essential; the real definition is in the Debian Policy Manual.
 This package contains merely an informational list, which is all
 most people need.   However, if this package and the manual disagree,
 the manual is correct.

Yeah, figured but wanted to check. I think the message is clearer if it's missing.

I'm using the same distro and kernel version, but with node v0.10.

On Thu, Feb 19, 2015 at 6:57 PM, Matthew Bishop notifications@github.com
wrote:

Yes, and yes.
dpkg -s build-essential

Package: build-essential
Status: install ok installed
Priority: optional
Section: devel
Installed-Size: 36
Maintainer: Matthias Klose <doko@debian.org>
Architecture: armhf
Source: build-essential (11.5)
Version: 11.5+b1
Depends: libc6-dev | libc-dev, gcc (>= 4:4.4.3), g++ (>= 4:4.4.3), make, dpkg-dev (>= 1.13.5)
Description: Informational list of build-essential packages
 If you do not plan to build Debian packages, you don't need this
 package.  Starting with dpkg (>= 1.14.18) this package is required
 for building Debian packages.
 .
 This package contains an informational list of packages which are
 considered essential for building Debian packages.  This package also
 depends on the packages on that list, to make it easy to have the
 build-essential packages installed.
 .
 If you have this package installed, you only need to install whatever
 a package specifies as its build-time dependencies to build the
 package.  Conversely, if you are determining what your package needs
 to build-depend on, you can always leave out the packages this
 package depends on.
 .
 This package is NOT the definition of what packages are
 build-essential; the real definition is in the Debian Policy Manual.
 This package contains merely an informational list, which is all
 most people need.   However, if this package and the manual disagree,
 the manual is correct.

Reply to this email directly or view it on GitHub:
#54 (comment)

Ok, downgrading worked. Thanks!

Cool! Tho, an issue for v0.12 compatibility that someone can close via a PR isn't a bad idea to have around.

commented

0.12 is now supported in the current release thanks to @emersion

This seems like a house of cards, I'm trying to use the latest tools, node 7.8.0; but I'd have to go back to version 0.12 to install a package that essentially doesn't seem to be supported any more. I understand that if I want it, I could upgrade the package; but the whole idea of using open-source shared components is that if they are published, they should work. I've wasted many hours with install errors and dependencies that are out-of-date or no longerexist. It's very frustrating. I shouldn't have to downgrade to years-old versions to install a package only to upgrade back to the latest package of node. How do I know what those old dependencies are and if the code even works any more.

commented

@billtrudell dependency management is one of the hardest problems to solve, but it's not really related to this module or this thread.