Skip to content

Instantly share code, notes, and snippets.

@weisjohn
Created February 26, 2015 22:47
Show Gist options
  • Save weisjohn/701c0b6fecfa8df870b4 to your computer and use it in GitHub Desktop.
Save weisjohn/701c0b6fecfa8df870b4 to your computer and use it in GitHub Desktop.
node-hid-install-troubles
0 info it worked if it ends with ok
1 verbose cli [ '/Users/jweis/.nvm/v0.12.0/bin/node',
1 verbose cli '/Users/jweis/.nvm/v0.12.0/bin/npm',
1 verbose cli 'install' ]
2 info using [email protected]
3 info using [email protected]
4 verbose install where, deps [ '/Users/jweis/mysrc/weisjohn/nes-controller', [ 'node-hid' ] ]
5 verbose install where, peers [ '/Users/jweis/mysrc/weisjohn/nes-controller', [] ]
6 info preinstall [email protected]
7 silly cache add args [ 'node-hid@~0.3.2', null ]
8 verbose cache add spec node-hid@~0.3.2
9 silly cache add parsed spec { raw: 'node-hid@~0.3.2',
9 silly cache add scope: null,
9 silly cache add name: 'node-hid',
9 silly cache add rawSpec: '~0.3.2',
9 silly cache add spec: '>=0.3.2 <0.4.0',
9 silly cache add type: 'range' }
10 verbose addNamed node-hid@>=0.3.2 <0.4.0
11 silly addNamed semver.valid null
12 silly addNamed semver.validRange >=0.3.2 <0.4.0
13 silly addNameRange { name: 'node-hid', range: '>=0.3.2 <0.4.0', hasData: false }
14 silly mapToRegistry name node-hid
15 silly mapToRegistry using default registry
16 silly mapToRegistry registry https://registry.npmjs.org/
17 silly mapToRegistry uri https://registry.npmjs.org/node-hid
18 verbose addNameRange registry:https://registry.npmjs.org/node-hid not in flight; fetching
19 verbose request uri https://registry.npmjs.org/node-hid
20 verbose request no auth needed
21 info attempt registry request try #1 at 5:45:22 PM
22 verbose request id 20ece479ff087203
23 verbose etag "1HLTPGX499I0UDAJX5XYA8BZZ"
24 http request GET https://registry.npmjs.org/node-hid
25 http 304 https://registry.npmjs.org/node-hid
26 silly get cb [ 304,
26 silly get { date: 'Thu, 26 Feb 2015 22:45:22 GMT',
26 silly get server: 'Apache',
26 silly get via: '1.1 varnish',
26 silly get 'last-modified': 'Thu, 26 Feb 2015 22:45:22 GMT',
26 silly get 'cache-control': 'max-age=60',
26 silly get etag: '"1HLTPGX499I0UDAJX5XYA8BZZ"',
26 silly get age: '58',
26 silly get 'x-served-by': 'cache-jfk1035-JFK',
26 silly get 'x-cache': 'HIT',
26 silly get 'x-cache-hits': '1',
26 silly get 'x-timer': 'S1424990722.388510,VS0,VE0',
26 silly get vary: 'Accept',
26 silly get 'content-length': '0',
26 silly get 'keep-alive': 'timeout=10, max=50',
26 silly get connection: 'Keep-Alive' } ]
27 verbose etag https://registry.npmjs.org/node-hid from cache
28 verbose get saving node-hid to /Users/jweis/.npm/registry.npmjs.org/node-hid/.cache.json
29 silly addNameRange number 2 { name: 'node-hid', range: '>=0.3.2 <0.4.0', hasData: true }
30 silly addNameRange versions [ 'node-hid',
30 silly addNameRange [ '0.0.13',
30 silly addNameRange '0.0.14',
30 silly addNameRange '0.0.15',
30 silly addNameRange '0.1.0',
30 silly addNameRange '0.1.1',
30 silly addNameRange '0.2.0',
30 silly addNameRange '0.2.1',
30 silly addNameRange '0.2.2',
30 silly addNameRange '0.2.3',
30 silly addNameRange '0.3.1',
30 silly addNameRange '0.3.2' ] ]
31 verbose addNamed [email protected]
32 silly addNamed semver.valid 0.3.2
33 silly addNamed semver.validRange 0.3.2
34 silly cache afterAdd [email protected]
35 verbose afterAdd /Users/jweis/.npm/node-hid/0.3.2/package/package.json not in flight; writing
36 verbose afterAdd /Users/jweis/.npm/node-hid/0.3.2/package/package.json written
37 silly install resolved [ { name: 'node-hid',
37 silly install resolved description: 'USB HID device access library',
37 silly install resolved version: '0.3.2',
37 silly install resolved author:
37 silly install resolved { name: 'Hans Hübner',
37 silly install resolved email: '[email protected]',
37 silly install resolved url: 'https://github.com/hanshuebner' },
37 silly install resolved contributors: [ [Object] ],
37 silly install resolved repository:
37 silly install resolved { type: 'git',
37 silly install resolved url: 'git://github.com/hanshuebner/node-hid.git' },
37 silly install resolved scripts:
37 silly install resolved { preupdate: 'sh get-hidapi.sh',
37 silly install resolved preinstall: 'sh get-hidapi.sh',
37 silly install resolved install: 'sh install.sh' },
37 silly install resolved main: './index.js',
37 silly install resolved engines: { node: '>=0.8.0' },
37 silly install resolved license: 'MIT/X11',
37 silly install resolved dependencies: {},
37 silly install resolved devDependencies: {},
37 silly install resolved gitHead: 'd9833cef3a4eff6110be3e1de5d8b5c8bb106500',
37 silly install resolved bugs: { url: 'https://github.com/hanshuebner/node-hid/issues' },
37 silly install resolved homepage: 'https://github.com/hanshuebner/node-hid',
37 silly install resolved _id: '[email protected]',
37 silly install resolved _shasum: '2414824b459313d1ca627fabdb4cb7a2506c0478',
37 silly install resolved _from: 'node-hid@>=0.3.2 <0.4.0',
37 silly install resolved _npmVersion: '1.4.21',
37 silly install resolved _npmUser: { name: 'hans', email: '[email protected]' },
37 silly install resolved maintainers: [ [Object], [Object], [Object] ],
37 silly install resolved dist:
37 silly install resolved { shasum: '2414824b459313d1ca627fabdb4cb7a2506c0478',
37 silly install resolved tarball: 'http://registry.npmjs.org/node-hid/-/node-hid-0.3.2.tgz' },
37 silly install resolved directories: {},
37 silly install resolved _resolved: 'https://registry.npmjs.org/node-hid/-/node-hid-0.3.2.tgz',
37 silly install resolved readme: 'ERROR: No README data found!' } ]
38 info install [email protected] into /Users/jweis/mysrc/weisjohn/nes-controller
39 info installOne [email protected]
40 verbose installOne of node-hid to /Users/jweis/mysrc/weisjohn/nes-controller not in flight; installing
41 verbose lock using /Users/jweis/.npm/_locks/node-hid-0715e5ee81fc3163.lock for /Users/jweis/mysrc/weisjohn/nes-controller/node_modules/node-hid
42 silly install write writing node-hid 0.3.2 to /Users/jweis/mysrc/weisjohn/nes-controller/node_modules/node-hid
43 silly cache addNamed cb [email protected]
44 verbose unbuild node_modules/node-hid
45 verbose gentlyRm vacuuming /Users/jweis/mysrc/weisjohn/nes-controller/node_modules/node-hid
46 verbose tar unpack /Users/jweis/.npm/node-hid/0.3.2/package.tgz
47 verbose tar unpacking to /Users/jweis/mysrc/weisjohn/nes-controller/node_modules/node-hid
48 verbose gentlyRm vacuuming /Users/jweis/mysrc/weisjohn/nes-controller/node_modules/node-hid
49 silly gunzTarPerm modes [ '755', '644' ]
50 silly gunzTarPerm extractEntry package.json
51 silly gunzTarPerm extractEntry .npmignore
52 silly gunzTarPerm extractEntry README.md
53 silly gunzTarPerm extractEntry index.js
54 silly gunzTarPerm extractEntry binding.gyp
55 silly gunzTarPerm extractEntry get-hidapi.sh
56 silly gunzTarPerm extractEntry install.sh
57 silly gunzTarPerm extractEntry src/.npmignore
58 silly gunzTarPerm extractEntry src/buzzers.js
59 silly gunzTarPerm extractEntry src/powermate.js
60 silly gunzTarPerm extractEntry src/show-devices.js
61 silly gunzTarPerm extractEntry src/test-buzzers.js
62 silly gunzTarPerm extractEntry src/test-powermate.js
63 silly gunzTarPerm extractEntry src/test-ps3.js
64 silly gunzTarPerm extractEntry src/HID.cc
65 silly gunzTarPerm extractEntry src/wscript
66 info preinstall [email protected]
67 verbose unsafe-perm in lifecycle true
68 silly install resolved []
69 verbose about to build /Users/jweis/mysrc/weisjohn/nes-controller/node_modules/node-hid
70 info build /Users/jweis/mysrc/weisjohn/nes-controller/node_modules/node-hid
71 verbose linkStuff [ false,
71 verbose linkStuff false,
71 verbose linkStuff false,
71 verbose linkStuff '/Users/jweis/mysrc/weisjohn/nes-controller/node_modules' ]
72 info linkStuff [email protected]
73 verbose linkBins [email protected]
74 verbose linkMans [email protected]
75 verbose rebuildBundles [email protected]
76 info install [email protected]
77 verbose unsafe-perm in lifecycle true
78 info [email protected] Failed to exec install script
79 verbose unlock done using /Users/jweis/.npm/_locks/node-hid-0715e5ee81fc3163.lock for /Users/jweis/mysrc/weisjohn/nes-controller/node_modules/node-hid
80 verbose stack Error: [email protected] install: `sh install.sh`
80 verbose stack Exit status 1
80 verbose stack at EventEmitter.<anonymous> (/Users/jweis/.nvm/v0.12.0/lib/node_modules/npm/lib/utils/lifecycle.js:213:16)
80 verbose stack at EventEmitter.emit (events.js:110:17)
80 verbose stack at ChildProcess.<anonymous> (/Users/jweis/.nvm/v0.12.0/lib/node_modules/npm/lib/utils/spawn.js:14:12)
80 verbose stack at ChildProcess.emit (events.js:110:17)
80 verbose stack at maybeClose (child_process.js:1008:16)
80 verbose stack at Process.ChildProcess._handle.onexit (child_process.js:1080:5)
81 verbose pkgid [email protected]
82 verbose cwd /Users/jweis/mysrc/weisjohn/nes-controller
83 error Darwin 14.0.0
84 error argv "/Users/jweis/.nvm/v0.12.0/bin/node" "/Users/jweis/.nvm/v0.12.0/bin/npm" "install"
85 error node v0.12.0
86 error npm v2.5.1
87 error code ELIFECYCLE
88 error [email protected] install: `sh install.sh`
88 error Exit status 1
89 error Failed at the [email protected] install script 'sh install.sh'.
89 error This is most likely a problem with the node-hid package,
89 error not with npm itself.
89 error Tell the author that this fails on your system:
89 error sh install.sh
89 error You can get their info via:
89 error npm owner ls node-hid
89 error There is likely additional logging output above.
90 verbose exit [ 1, true ]
91 verbose unbuild node_modules/node-hid
92 info preuninstall [email protected]
93 info uninstall [email protected]
94 verbose unbuild rmStuff [email protected] from /Users/jweis/mysrc/weisjohn/nes-controller/node_modules
95 info postuninstall [email protected]
96 verbose gentlyRm vacuuming /Users/jweis/mysrc/weisjohn/nes-controller/node_modules/node-hid
97 silly gentlyRm purging /Users/jweis/mysrc/weisjohn/nes-controller/node_modules/node-hid
98 silly gentlyRm removing /Users/jweis/mysrc/weisjohn/nes-controller/node_modules
99 silly gentlyRm finished vacuuming up to /Users/jweis/mysrc/weisjohn/nes-controller
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment