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

install from npm error #62

Open
wuwupoke opened this issue Oct 14, 2015 · 3 comments
Open

install from npm error #62

wuwupoke opened this issue Oct 14, 2015 · 3 comments

Comments

@wuwupoke
Copy link

Hi Nate,

got error when try to install through npm.

attached the full log.

we are being firewall and proxy but most of the other library just works fine.

0 info it worked if it ends with ok
1 verbose cli [ 'C:\\Program Files\\nodejs\\node.exe',
1 verbose cli   'C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli   'install',
1 verbose cli   '-g',
1 verbose cli   'weak' ]
2 info using [email protected]
3 info using [email protected]
4 verbose install initial load of C:\Users\kpwu\AppData\Roaming\npm\package.json
5 verbose readDependencies loading dependencies from C:\Users\kpwu\AppData\Roaming\npm\package.json
6 silly cache add args [ 'weak', null ]
7 verbose cache add spec weak
8 silly cache add parsed spec Result {
8 silly cache add   raw: 'weak',
8 silly cache add   scope: null,
8 silly cache add   name: 'weak',
8 silly cache add   rawSpec: '',
8 silly cache add   spec: '*',
8 silly cache add   type: 'range' }
9 silly addNamed weak@*
10 verbose addNamed "*" is a valid semver range for weak
11 silly addNameRange { name: 'weak', range: '*', hasData: false }
12 silly mapToRegistry name weak
13 silly mapToRegistry using default registry
14 silly mapToRegistry registry https://registry.npmjs.org/
15 silly mapToRegistry uri https://registry.npmjs.org/weak
16 verbose addNameRange registry:https://registry.npmjs.org/weak not in flight; fetching
17 verbose request uri https://registry.npmjs.org/weak
18 verbose request no auth needed
19 info attempt registry request try #1 at 3:58:46 PM
20 verbose request id 94ac24f33ec445f8
21 verbose etag "C06FCHTAD0V9QYUWNPXAFG5K6"
22 http request GET https://registry.npmjs.org/weak
23 info retry will retry, error on last attempt: Error: unable to get local issuer certificate
24 info attempt registry request try #2 at 3:58:57 PM
25 verbose etag "C06FCHTAD0V9QYUWNPXAFG5K6"
26 http request GET https://registry.npmjs.org/weak
27 info retry will retry, error on last attempt: Error: unable to get local issuer certificate
28 info attempt registry request try #3 at 3:59:57 PM
29 verbose etag "C06FCHTAD0V9QYUWNPXAFG5K6"
30 http request GET https://registry.npmjs.org/weak
31 silly get cb [ 304, undefined ]
32 verbose etag https://registry.npmjs.org/weak from cache
33 verbose get saving weak to C:\Users\kpwu\AppData\Roaming\npm-cache\registry.npmjs.org\weak\.cache.json
34 silly addNameRange number 2 { name: 'weak', range: '*', hasData: true }
35 silly addNameRange versions [ 'weak',
35 silly addNameRange   [ '0.0.1',
35 silly addNameRange     '0.1.0',
35 silly addNameRange     '0.1.1',
35 silly addNameRange     '0.1.2',
35 silly addNameRange     '0.1.3',
35 silly addNameRange     '0.1.4',
35 silly addNameRange     '0.1.5',
35 silly addNameRange     '0.2.0',
35 silly addNameRange     '0.2.1',
35 silly addNameRange     '0.2.2',
35 silly addNameRange     '0.3.0',
35 silly addNameRange     '0.3.1',
35 silly addNameRange     '0.3.2',
35 silly addNameRange     '0.3.3',
35 silly addNameRange     '0.3.4',
35 silly addNameRange     '0.4.0',
35 silly addNameRange     '0.4.1',
35 silly addNameRange     '1.0.0' ] ]
36 silly addNamed [email protected]
37 verbose addNamed "1.0.0" is a plain semver version for weak
38 silly cache afterAdd [email protected]
39 verbose afterAdd C:\Users\kpwu\AppData\Roaming\npm-cache\weak\1.0.0\package\package.json not in flight; writing
40 verbose afterAdd C:\Users\kpwu\AppData\Roaming\npm-cache\weak\1.0.0\package\package.json written
41 silly install resolved [ { author: { name: 'Ben Noordhuis', email: '[email protected]' },
41 silly install resolved     contributors: [ [Object] ],
41 silly install resolved     name: 'weak',
41 silly install resolved     license: 'MIT',
41 silly install resolved     description: 'Make weak references to JavaScript Objects.',
41 silly install resolved     keywords:
41 silly install resolved      [ 'weak',
41 silly install resolved        'reference',
41 silly install resolved        'js',
41 silly install resolved        'javascript',
41 silly install resolved        'object',
41 silly install resolved        'function',
41 silly install resolved        'callback' ],
41 silly install resolved     version: '1.0.0',
41 silly install resolved     repository:
41 silly install resolved      { type: 'git',
41 silly install resolved        url: 'git://github.com/TooTallNate/node-weak.git' },
41 silly install resolved     main: 'lib/weak.js',
41 silly install resolved     scripts:
41 silly install resolved      { test: 'mocha -gc --reporter spec',
41 silly install resolved        install: 'node-gyp rebuild' },
41 silly install resolved     dependencies: { bindings: '^1.2.1', nan: '^2.0.5' },
41 silly install resolved     devDependencies: { mocha: '~2.1.0' },
41 silly install resolved     gypfile: true,
41 silly install resolved     gitHead: '780164bf6d5dbc00841b05e6d888eba3ca9e9bdd',
41 silly install resolved     bugs: { url: 'https://github.com/TooTallNate/node-weak/issues' },
41 silly install resolved     homepage: 'https://github.com/TooTallNate/node-weak#readme',
41 silly install resolved     _id: '[email protected]',
41 silly install resolved     _shasum: '3f2c2929e0a6963bf85a88f84782a8c0bfe10006',
41 silly install resolved     _from: 'weak@*',
41 silly install resolved     _npmVersion: '2.13.3',
41 silly install resolved     _nodeVersion: '3.0.0',
41 silly install resolved     _npmUser: { name: 'tootallnate', email: '[email protected]' },
41 silly install resolved     maintainers: [ [Object], [Object] ],
41 silly install resolved     dist:
41 silly install resolved      { shasum: '3f2c2929e0a6963bf85a88f84782a8c0bfe10006',
41 silly install resolved        tarball: 'http://registry.npmjs.org/weak/-/weak-1.0.0.tgz' },
41 silly install resolved     directories: {},
41 silly install resolved     _resolved: 'https://registry.npmjs.org/weak/-/weak-1.0.0.tgz',
41 silly install resolved     readme: 'ERROR: No README data found!' } ]
42 info install [email protected] into C:\Users\kpwu\AppData\Roaming\npm
43 info installOne [email protected]
44 verbose installOne of weak to C:\Users\kpwu\AppData\Roaming\npm not in flight; installing
45 verbose lock using C:\Users\kpwu\AppData\Roaming\npm-cache\_locks\weak-4f4551b70a924cc7.lock for C:\Users\kpwu\AppData\Roaming\npm\node_modules\weak
46 silly install write writing weak 1.0.0 to C:\Users\kpwu\AppData\Roaming\npm\node_modules\weak
47 verbose unbuild node_modules\weak
48 silly gentlyRm C:\Users\kpwu\AppData\Roaming\npm\node_modules\weak is being purged from base C:\Users\kpwu\AppData\Roaming\npm
49 verbose gentlyRm don't care about contents; nuking C:\Users\kpwu\AppData\Roaming\npm\node_modules\weak
50 verbose tar unpack C:\Users\kpwu\AppData\Roaming\npm-cache\weak\1.0.0\package.tgz
51 verbose tar unpacking to C:\Users\kpwu\AppData\Roaming\npm\node_modules\weak
52 silly gentlyRm C:\Users\kpwu\AppData\Roaming\npm\node_modules\weak is being purged
53 verbose gentlyRm don't care about contents; nuking C:\Users\kpwu\AppData\Roaming\npm\node_modules\weak
54 silly gunzTarPerm modes [ '777', '666' ]
55 silly gunzTarPerm extractEntry package.json
56 silly gunzTarPerm modified mode [ 'package.json', 420, 438 ]
57 silly gunzTarPerm extractEntry .npmignore
58 silly gunzTarPerm modified mode [ '.npmignore', 420, 438 ]
59 silly gunzTarPerm extractEntry README.md
60 silly gunzTarPerm modified mode [ 'README.md', 420, 438 ]
61 silly gunzTarPerm extractEntry LICENSE
62 silly gunzTarPerm modified mode [ 'LICENSE', 420, 438 ]
63 silly gunzTarPerm extractEntry binding.gyp
64 silly gunzTarPerm modified mode [ 'binding.gyp', 420, 438 ]
65 silly gunzTarPerm extractEntry .travis.yml
66 silly gunzTarPerm modified mode [ '.travis.yml', 420, 438 ]
67 silly gunzTarPerm extractEntry appveyor.yml
68 silly gunzTarPerm modified mode [ 'appveyor.yml', 420, 438 ]
69 silly gunzTarPerm extractEntry History.md
70 silly gunzTarPerm modified mode [ 'History.md', 420, 438 ]
71 silly gunzTarPerm extractEntry lib/weak.js
72 silly gunzTarPerm modified mode [ 'lib/weak.js', 420, 438 ]
73 silly gunzTarPerm extractEntry src/weakref.cc
74 silly gunzTarPerm modified mode [ 'src/weakref.cc', 420, 438 ]
75 silly gunzTarPerm extractEntry test/buffer.js
76 silly gunzTarPerm modified mode [ 'test/buffer.js', 420, 438 ]
77 silly gunzTarPerm extractEntry test/callback.js
78 silly gunzTarPerm modified mode [ 'test/callback.js', 420, 438 ]
79 silly gunzTarPerm extractEntry test/create.js
80 silly gunzTarPerm modified mode [ 'test/create.js', 420, 438 ]
81 silly gunzTarPerm extractEntry test/exports.js
82 silly gunzTarPerm modified mode [ 'test/exports.js', 420, 438 ]
83 silly gunzTarPerm extractEntry test/weakref.js
84 silly gunzTarPerm modified mode [ 'test/weakref.js', 420, 438 ]
85 verbose write writing to C:\Users\kpwu\AppData\Roaming\npm\node_modules\weak\package.json
86 info preinstall [email protected]
87 verbose readDependencies loading dependencies from C:\Users\kpwu\AppData\Roaming\npm\node_modules\weak\package.json
88 silly prepareForInstallMany adding bindings@^1.2.1 from weak dependencies
89 silly prepareForInstallMany adding nan@^2.0.5 from weak dependencies
90 verbose readDependencies loading dependencies from C:\Users\kpwu\AppData\Roaming\npm\node_modules\weak\package.json
91 silly cache add args [ 'bindings@^1.2.1', null ]
92 verbose cache add spec bindings@^1.2.1
93 silly cache add args [ 'nan@^2.0.5', null ]
94 verbose cache add spec nan@^2.0.5
95 silly cache add parsed spec Result {
95 silly cache add   raw: 'bindings@^1.2.1',
95 silly cache add   scope: null,
95 silly cache add   name: 'bindings',
95 silly cache add   rawSpec: '^1.2.1',
95 silly cache add   spec: '>=1.2.1 <2.0.0',
95 silly cache add   type: 'range' }
96 silly addNamed bindings@>=1.2.1 <2.0.0
97 verbose addNamed ">=1.2.1 <2.0.0" is a valid semver range for bindings
98 silly addNameRange { name: 'bindings', range: '>=1.2.1 <2.0.0', hasData: false }
99 silly mapToRegistry name bindings
100 silly mapToRegistry using default registry
101 silly mapToRegistry registry https://registry.npmjs.org/
102 silly mapToRegistry uri https://registry.npmjs.org/bindings
103 verbose addNameRange registry:https://registry.npmjs.org/bindings not in flight; fetching
104 silly cache add parsed spec Result {
104 silly cache add   raw: 'nan@^2.0.5',
104 silly cache add   scope: null,
104 silly cache add   name: 'nan',
104 silly cache add   rawSpec: '^2.0.5',
104 silly cache add   spec: '>=2.0.5 <3.0.0',
104 silly cache add   type: 'range' }
105 silly addNamed nan@>=2.0.5 <3.0.0
106 verbose addNamed ">=2.0.5 <3.0.0" is a valid semver range for nan
107 silly addNameRange { name: 'nan', range: '>=2.0.5 <3.0.0', hasData: false }
108 silly mapToRegistry name nan
109 silly mapToRegistry using default registry
110 silly mapToRegistry registry https://registry.npmjs.org/
111 silly mapToRegistry uri https://registry.npmjs.org/nan
112 verbose addNameRange registry:https://registry.npmjs.org/nan not in flight; fetching
113 verbose request uri https://registry.npmjs.org/bindings
114 verbose request no auth needed
115 info attempt registry request try #1 at 3:59:57 PM
116 verbose etag "547Q3C60W4DUGPOZ65YOO6930"
117 http request GET https://registry.npmjs.org/bindings
118 verbose request uri https://registry.npmjs.org/nan
119 verbose request no auth needed
120 info attempt registry request try #1 at 3:59:57 PM
121 verbose etag "EEJEYBDBWDA07LWTXUI68JUWL"
122 http request GET https://registry.npmjs.org/nan
123 info retry will retry, error on last attempt: Error: unable to get local issuer certificate
124 info retry will retry, error on last attempt: Error: unable to get local issuer certificate
125 info attempt registry request try #2 at 4:00:07 PM
126 verbose etag "547Q3C60W4DUGPOZ65YOO6930"
127 http request GET https://registry.npmjs.org/bindings
128 info attempt registry request try #2 at 4:00:07 PM
129 verbose etag "EEJEYBDBWDA07LWTXUI68JUWL"
130 http request GET https://registry.npmjs.org/nan
131 info retry will retry, error on last attempt: Error: unable to get local issuer certificate
132 info retry will retry, error on last attempt: Error: unable to get local issuer certificate
133 info attempt registry request try #3 at 4:01:07 PM
134 verbose etag "547Q3C60W4DUGPOZ65YOO6930"
135 http request GET https://registry.npmjs.org/bindings
136 info attempt registry request try #3 at 4:01:07 PM
137 verbose etag "EEJEYBDBWDA07LWTXUI68JUWL"
138 http request GET https://registry.npmjs.org/nan
139 silly get cb [ 304, undefined ]
140 verbose etag https://registry.npmjs.org/nan from cache
141 verbose get saving nan to C:\Users\kpwu\AppData\Roaming\npm-cache\registry.npmjs.org\nan\.cache.json
142 silly addNameRange number 2 { name: 'nan', range: '>=2.0.5 <3.0.0', hasData: true }
143 silly addNameRange versions [ 'nan',
143 silly addNameRange   [ '0.3.0-wip',
143 silly addNameRange     '0.3.0-wip2',
143 silly addNameRange     '0.3.0',
143 silly addNameRange     '0.3.1',
143 silly addNameRange     '0.3.2',
143 silly addNameRange     '0.4.0',
143 silly addNameRange     '0.4.1',
143 silly addNameRange     '0.4.2',
143 silly addNameRange     '0.4.3',
143 silly addNameRange     '0.4.4',
143 silly addNameRange     '0.5.0',
143 silly addNameRange     '0.5.1',
143 silly addNameRange     '0.5.2',
143 silly addNameRange     '0.6.0',
143 silly addNameRange     '0.7.0',
143 silly addNameRange     '0.7.1',
143 silly addNameRange     '0.8.0',
143 silly addNameRange     '1.0.0',
143 silly addNameRange     '1.1.0',
143 silly addNameRange     '1.1.1',
143 silly addNameRange     '1.1.2',
143 silly addNameRange     '1.2.0',
143 silly addNameRange     '1.3.0',
143 silly addNameRange     '1.4.0',
143 silly addNameRange     '1.4.1',
143 silly addNameRange     '1.5.0',
143 silly addNameRange     '1.4.2',
143 silly addNameRange     '1.4.3',
143 silly addNameRange     '1.5.1',
143 silly addNameRange     '1.5.2',
143 silly addNameRange     '1.6.0',
143 silly addNameRange     '1.5.3',
143 silly addNameRange     '1.6.1',
143 silly addNameRange     '1.6.2',
143 silly addNameRange     '1.7.0',
143 silly addNameRange     '1.8.0',
143 silly addNameRange     '1.8.1',
143 silly addNameRange     '1.8.2',
143 silly addNameRange     '1.8.3',
143 silly addNameRange     '1.8.4',
143 silly addNameRange     '1.9.0',
143 silly addNameRange     '2.0.0',
143 silly addNameRange     '2.0.1',
143 silly addNameRange     '2.0.2',
143 silly addNameRange     '2.0.3',
143 silly addNameRange     '2.0.4',
143 silly addNameRange     '2.0.5',
143 silly addNameRange     '2.0.6',
143 silly addNameRange     '2.0.7',
143 silly addNameRange     '2.0.8',
143 silly addNameRange     '2.0.9',
143 silly addNameRange     '2.1.0' ] ]
144 silly addNamed [email protected]
145 verbose addNamed "2.1.0" is a plain semver version for nan
146 silly get cb [ 304, undefined ]
147 verbose etag https://registry.npmjs.org/bindings from cache
148 verbose get saving bindings to C:\Users\kpwu\AppData\Roaming\npm-cache\registry.npmjs.org\bindings\.cache.json
149 silly cache afterAdd [email protected]
150 verbose afterAdd C:\Users\kpwu\AppData\Roaming\npm-cache\nan\2.1.0\package\package.json not in flight; writing
151 verbose afterAdd C:\Users\kpwu\AppData\Roaming\npm-cache\nan\2.1.0\package\package.json written
152 silly addNameRange number 2 { name: 'bindings', range: '>=1.2.1 <2.0.0', hasData: true }
153 silly addNameRange versions [ 'bindings',
153 silly addNameRange   [ '0.0.1',
153 silly addNameRange     '0.1.0',
153 silly addNameRange     '0.1.1',
153 silly addNameRange     '0.2.0',
153 silly addNameRange     '0.2.1',
153 silly addNameRange     '0.2.2',
153 silly addNameRange     '0.2.3',
153 silly addNameRange     '0.2.4',
153 silly addNameRange     '0.3.0',
153 silly addNameRange     '0.4.0',
153 silly addNameRange     '1.0.0',
153 silly addNameRange     '1.1.0',
153 silly addNameRange     '1.1.1',
153 silly addNameRange     '1.2.0',
153 silly addNameRange     '1.2.1' ] ]
154 silly addNamed [email protected]
155 verbose addNamed "1.2.1" is a plain semver version for bindings
156 silly cache afterAdd [email protected]
157 verbose afterAdd C:\Users\kpwu\AppData\Roaming\npm-cache\bindings\1.2.1\package\package.json not in flight; writing
158 verbose afterAdd C:\Users\kpwu\AppData\Roaming\npm-cache\bindings\1.2.1\package\package.json written
159 silly install resolved [ { name: 'nan',
159 silly install resolved     version: '2.1.0',
159 silly install resolved     description: 'Native Abstractions for Node.js: C++ header for Node 0.8 -> 4 compatibility',
159 silly install resolved     main: 'include_dirs.js',
159 silly install resolved     repository: { type: 'git', url: 'git://github.com/nodejs/nan.git' },
159 silly install resolved     scripts:
159 silly install resolved      { test: 'tap --gc test/js/*-test.js',
159 silly install resolved        'rebuild-tests': 'node-gyp rebuild --msvs_version=2013 --directory test',
159 silly install resolved        docs: 'doc/.build.sh' },
159 silly install resolved     contributors:
159 silly install resolved      [ [Object],
159 silly install resolved        [Object],
159 silly install resolved        [Object],
159 silly install resolved        [Object],
159 silly install resolved        [Object],
159 silly install resolved        [Object],
159 silly install resolved        [Object] ],
159 silly install resolved     devDependencies:
159 silly install resolved      { bindings: '~1.2.1',
159 silly install resolved        commander: '^2.8.1',
159 silly install resolved        glob: '^5.0.14',
159 silly install resolved        'node-gyp': '~3.0.1',
159 silly install resolved        tap: '~0.7.1',
159 silly install resolved        xtend: '~4.0.0' },
159 silly install resolved     license: 'MIT',
159 silly install resolved     bugs: { url: 'https://github.com/nodejs/nan/issues' },
159 silly install resolved     homepage: 'https://github.com/nodejs/nan#readme',
159 silly install resolved     _id: '[email protected]',
159 silly install resolved     _shasum: '020a7ccedc63fdee85f85967d5607849e74abbe8',
159 silly install resolved     _resolved: 'https://registry.npmjs.org/nan/-/nan-2.1.0.tgz',
159 silly install resolved     _from: 'nan@>=2.0.5 <3.0.0',
159 silly install resolved     _npmVersion: '3.3.5',
159 silly install resolved     _nodeVersion: '4.1.2',
159 silly install resolved     _npmUser: { name: 'kkoopa', email: '[email protected]' },
159 silly install resolved     dist:
159 silly install resolved      { shasum: '020a7ccedc63fdee85f85967d5607849e74abbe8',
159 silly install resolved        tarball: 'http://registry.npmjs.org/nan/-/nan-2.1.0.tgz' },
159 silly install resolved     maintainers: [ [Object], [Object] ],
159 silly install resolved     directories: {},
159 silly install resolved     readme: 'ERROR: No README data found!' },
159 silly install resolved   { name: 'bindings',
159 silly install resolved     description: 'Helper module for loading your native module\'s .node file',
159 silly install resolved     keywords: [ 'native', 'addon', 'bindings', 'gyp', 'waf', 'c', 'c++' ],
159 silly install resolved     version: '1.2.1',
159 silly install resolved     author:
159 silly install resolved      { name: 'Nathan Rajlich',
159 silly install resolved        email: '[email protected]',
159 silly install resolved        url: 'http://tootallnate.net' },
159 silly install resolved     repository:
159 silly install resolved      { type: 'git',
159 silly install resolved        url: 'git://github.com/TooTallNate/node-bindings.git' },
159 silly install resolved     main: './bindings.js',
159 silly install resolved     bugs: { url: 'https://github.com/TooTallNate/node-bindings/issues' },
159 silly install resolved     homepage: 'https://github.com/TooTallNate/node-bindings',
159 silly install resolved     license: 'MIT',
159 silly install resolved     gitHead: 'e404152ee27f8478ccbc7122ee051246e8e5ec02',
159 silly install resolved     _id: '[email protected]',
159 silly install resolved     scripts: {},
159 silly install resolved     _shasum: '14ad6113812d2d37d72e67b4cacb4bb726505f11',
159 silly install resolved     _from: 'bindings@>=1.2.1 <2.0.0',
159 silly install resolved     _npmVersion: '1.4.14',
159 silly install resolved     _npmUser: { name: 'tootallnate', email: '[email protected]' },
159 silly install resolved     maintainers: [ [Object], [Object] ],
159 silly install resolved     dist:
159 silly install resolved      { shasum: '14ad6113812d2d37d72e67b4cacb4bb726505f11',
159 silly install resolved        tarball: 'http://registry.npmjs.org/bindings/-/bindings-1.2.1.tgz' },
159 silly install resolved     directories: {},
159 silly install resolved     _resolved: 'https://registry.npmjs.org/bindings/-/bindings-1.2.1.tgz',
159 silly install resolved     readme: 'ERROR: No README data found!' } ]
160 info install [email protected] into C:\Users\kpwu\AppData\Roaming\npm\node_modules\weak
161 info install [email protected] into C:\Users\kpwu\AppData\Roaming\npm\node_modules\weak
162 info installOne [email protected]
163 verbose installOne of nan to C:\Users\kpwu\AppData\Roaming\npm\node_modules\weak not in flight; installing
164 info installOne [email protected]
165 verbose installOne of bindings to C:\Users\kpwu\AppData\Roaming\npm\node_modules\weak not in flight; installing
166 verbose lock using C:\Users\kpwu\AppData\Roaming\npm-cache\_locks\nan-ac917b27354e259f.lock for C:\Users\kpwu\AppData\Roaming\npm\node_modules\weak\node_modules\nan
167 verbose lock using C:\Users\kpwu\AppData\Roaming\npm-cache\_locks\bindings-7b6c9f9535066726.lock for C:\Users\kpwu\AppData\Roaming\npm\node_modules\weak\node_modules\bindings
168 silly install write writing nan 2.1.0 to C:\Users\kpwu\AppData\Roaming\npm\node_modules\weak\node_modules\nan
169 silly install write writing bindings 1.2.1 to C:\Users\kpwu\AppData\Roaming\npm\node_modules\weak\node_modules\bindings
170 verbose unbuild node_modules\weak\node_modules\nan
171 verbose unbuild node_modules\weak\node_modules\bindings
172 silly gentlyRm C:\Users\kpwu\AppData\Roaming\npm\node_modules\weak\node_modules\nan is being purged from base C:\Users\kpwu\AppData\Roaming\npm
173 verbose gentlyRm don't care about contents; nuking C:\Users\kpwu\AppData\Roaming\npm\node_modules\weak\node_modules\nan
174 verbose tar unpack C:\Users\kpwu\AppData\Roaming\npm-cache\nan\2.1.0\package.tgz
175 verbose tar unpacking to C:\Users\kpwu\AppData\Roaming\npm\node_modules\weak\node_modules\nan
176 silly gentlyRm C:\Users\kpwu\AppData\Roaming\npm\node_modules\weak\node_modules\nan is being purged
177 verbose gentlyRm don't care about contents; nuking C:\Users\kpwu\AppData\Roaming\npm\node_modules\weak\node_modules\nan
178 silly gentlyRm C:\Users\kpwu\AppData\Roaming\npm\node_modules\weak\node_modules\bindings is being purged from base C:\Users\kpwu\AppData\Roaming\npm
179 verbose gentlyRm don't care about contents; nuking C:\Users\kpwu\AppData\Roaming\npm\node_modules\weak\node_modules\bindings
180 silly gunzTarPerm modes [ '777', '666' ]
181 verbose tar unpack C:\Users\kpwu\AppData\Roaming\npm-cache\bindings\1.2.1\package.tgz
182 verbose tar unpacking to C:\Users\kpwu\AppData\Roaming\npm\node_modules\weak\node_modules\bindings
183 silly gentlyRm C:\Users\kpwu\AppData\Roaming\npm\node_modules\weak\node_modules\bindings is being purged
184 verbose gentlyRm don't care about contents; nuking C:\Users\kpwu\AppData\Roaming\npm\node_modules\weak\node_modules\bindings
185 silly gunzTarPerm modes [ '777', '666' ]
186 silly gunzTarPerm extractEntry package.json
187 silly gunzTarPerm modified mode [ 'package.json', 436, 438 ]
188 silly gunzTarPerm extractEntry package.json
189 silly gunzTarPerm modified mode [ 'package.json', 420, 438 ]
190 silly gunzTarPerm extractEntry README.md
191 silly gunzTarPerm modified mode [ 'README.md', 436, 438 ]
192 silly gunzTarPerm extractEntry include_dirs.js
193 silly gunzTarPerm modified mode [ 'include_dirs.js', 436, 438 ]
194 silly gunzTarPerm extractEntry README.md
195 silly gunzTarPerm modified mode [ 'README.md', 420, 438 ]
196 silly gunzTarPerm extractEntry bindings.js
197 silly gunzTarPerm modified mode [ 'bindings.js', 420, 438 ]
198 silly gunzTarPerm extractEntry nan_converters.h
199 silly gunzTarPerm modified mode [ 'nan_converters.h', 436, 438 ]
200 silly gunzTarPerm extractEntry LICENSE.md
201 silly gunzTarPerm modified mode [ 'LICENSE.md', 436, 438 ]
202 silly gunzTarPerm extractEntry .dntrc
203 silly gunzTarPerm modified mode [ '.dntrc', 436, 438 ]
204 silly gunzTarPerm extractEntry appveyor.yml
205 silly gunzTarPerm modified mode [ 'appveyor.yml', 436, 438 ]
206 silly gunzTarPerm extractEntry doc/new.md
207 silly gunzTarPerm modified mode [ 'doc/new.md', 436, 438 ]
208 silly gunzTarPerm extractEntry doc/.build.sh
209 silly gunzTarPerm modified mode [ 'doc/.build.sh', 509, 511 ]
210 verbose write writing to C:\Users\kpwu\AppData\Roaming\npm\node_modules\weak\node_modules\bindings\package.json
211 silly gunzTarPerm extractEntry doc/buffers.md
212 silly gunzTarPerm modified mode [ 'doc/buffers.md', 436, 438 ]
213 silly gunzTarPerm extractEntry doc/callback.md
214 silly gunzTarPerm modified mode [ 'doc/callback.md', 436, 438 ]
215 info preinstall [email protected]
216 silly gunzTarPerm extractEntry doc/converters.md
217 silly gunzTarPerm modified mode [ 'doc/converters.md', 436, 438 ]
218 silly gunzTarPerm extractEntry doc/errors.md
219 silly gunzTarPerm modified mode [ 'doc/errors.md', 436, 438 ]
220 verbose readDependencies loading dependencies from C:\Users\kpwu\AppData\Roaming\npm\node_modules\weak\node_modules\bindings\package.json
221 verbose readDependencies loading dependencies from C:\Users\kpwu\AppData\Roaming\npm\node_modules\weak\node_modules\bindings\package.json
222 silly gunzTarPerm extractEntry doc/maybe_types.md
223 silly gunzTarPerm modified mode [ 'doc/maybe_types.md', 436, 438 ]
224 silly gunzTarPerm extractEntry doc/methods.md
225 silly gunzTarPerm modified mode [ 'doc/methods.md', 436, 438 ]
226 silly install resolved []
227 verbose about to build C:\Users\kpwu\AppData\Roaming\npm\node_modules\weak\node_modules\bindings
228 info build C:\Users\kpwu\AppData\Roaming\npm\node_modules\weak\node_modules\bindings
229 info linkStuff [email protected]
230 silly linkStuff [email protected] has C:\Users\kpwu\AppData\Roaming\npm\node_modules\weak\node_modules as its parent node_modules
231 silly linkStuff [email protected] is part of a global install
232 silly linkStuff [email protected] is installed into a global node_modules
233 verbose linkBins [email protected]
234 verbose linkMans [email protected]
235 verbose rebuildBundles [email protected]
236 silly gunzTarPerm extractEntry doc/asyncworker.md
237 silly gunzTarPerm modified mode [ 'doc/asyncworker.md', 436, 438 ]
238 silly gunzTarPerm extractEntry doc/node_misc.md
239 silly gunzTarPerm modified mode [ 'doc/node_misc.md', 436, 438 ]
240 info install [email protected]
241 info postinstall [email protected]
242 verbose unlock done using C:\Users\kpwu\AppData\Roaming\npm-cache\_locks\bindings-7b6c9f9535066726.lock for C:\Users\kpwu\AppData\Roaming\npm\node_modules\weak\node_modules\bindings
243 silly gunzTarPerm extractEntry doc/persistent.md
244 silly gunzTarPerm modified mode [ 'doc/persistent.md', 436, 438 ]
245 silly gunzTarPerm extractEntry doc/scopes.md
246 silly gunzTarPerm modified mode [ 'doc/scopes.md', 436, 438 ]
247 silly gunzTarPerm extractEntry doc/script.md
248 silly gunzTarPerm modified mode [ 'doc/script.md', 436, 438 ]
249 silly gunzTarPerm extractEntry doc/string_bytes.md
250 silly gunzTarPerm modified mode [ 'doc/string_bytes.md', 436, 438 ]
251 silly gunzTarPerm extractEntry doc/v8_internals.md
252 silly gunzTarPerm modified mode [ 'doc/v8_internals.md', 436, 438 ]
253 silly gunzTarPerm extractEntry doc/v8_misc.md
254 silly gunzTarPerm modified mode [ 'doc/v8_misc.md', 436, 438 ]
255 silly gunzTarPerm extractEntry nan.h
256 silly gunzTarPerm modified mode [ 'nan.h', 436, 438 ]
257 silly gunzTarPerm extractEntry nan_callbacks.h
258 silly gunzTarPerm modified mode [ 'nan_callbacks.h', 436, 438 ]
259 silly gunzTarPerm extractEntry nan_callbacks_12_inl.h
260 silly gunzTarPerm modified mode [ 'nan_callbacks_12_inl.h', 436, 438 ]
261 silly gunzTarPerm extractEntry nan_callbacks_pre_12_inl.h
262 silly gunzTarPerm modified mode [ 'nan_callbacks_pre_12_inl.h', 436, 438 ]
263 silly gunzTarPerm extractEntry nan_converters_43_inl.h
264 silly gunzTarPerm modified mode [ 'nan_converters_43_inl.h', 436, 438 ]
265 silly gunzTarPerm extractEntry nan_converters_pre_43_inl.h
266 silly gunzTarPerm modified mode [ 'nan_converters_pre_43_inl.h', 436, 438 ]
267 silly gunzTarPerm extractEntry nan_implementation_12_inl.h
268 silly gunzTarPerm modified mode [ 'nan_implementation_12_inl.h', 436, 438 ]
269 silly gunzTarPerm extractEntry nan_implementation_pre_12_inl.h
270 silly gunzTarPerm modified mode [ 'nan_implementation_pre_12_inl.h', 436, 438 ]
271 silly gunzTarPerm extractEntry nan_maybe_43_inl.h
272 silly gunzTarPerm modified mode [ 'nan_maybe_43_inl.h', 436, 438 ]
273 silly gunzTarPerm extractEntry nan_maybe_pre_43_inl.h
274 silly gunzTarPerm modified mode [ 'nan_maybe_pre_43_inl.h', 436, 438 ]
275 silly gunzTarPerm extractEntry nan_new.h
276 silly gunzTarPerm modified mode [ 'nan_new.h', 436, 438 ]
277 silly gunzTarPerm extractEntry nan_object_wrap.h
278 silly gunzTarPerm modified mode [ 'nan_object_wrap.h', 436, 438 ]
279 silly gunzTarPerm extractEntry nan_persistent_12_inl.h
280 silly gunzTarPerm modified mode [ 'nan_persistent_12_inl.h', 436, 438 ]
281 silly gunzTarPerm extractEntry nan_persistent_pre_12_inl.h
282 silly gunzTarPerm modified mode [ 'nan_persistent_pre_12_inl.h', 436, 438 ]
283 silly gunzTarPerm extractEntry nan_string_bytes.h
284 silly gunzTarPerm modified mode [ 'nan_string_bytes.h', 436, 438 ]
285 silly gunzTarPerm extractEntry nan_typedarray_contents.h
286 silly gunzTarPerm modified mode [ 'nan_typedarray_contents.h', 436, 438 ]
287 silly gunzTarPerm extractEntry nan_weak.h
288 silly gunzTarPerm modified mode [ 'nan_weak.h', 436, 438 ]
289 silly gunzTarPerm extractEntry CHANGELOG.md
290 silly gunzTarPerm modified mode [ 'CHANGELOG.md', 436, 438 ]
291 silly gunzTarPerm extractEntry tools/package.json
292 silly gunzTarPerm modified mode [ 'tools/package.json', 436, 438 ]
293 silly gunzTarPerm extractEntry tools/README.md
294 silly gunzTarPerm modified mode [ 'tools/README.md', 436, 438 ]
295 silly gunzTarPerm extractEntry tools/1to2.js
296 silly gunzTarPerm modified mode [ 'tools/1to2.js', 509, 511 ]
297 verbose write writing to C:\Users\kpwu\AppData\Roaming\npm\node_modules\weak\node_modules\nan\package.json
298 info preinstall [email protected]
299 verbose readDependencies loading dependencies from C:\Users\kpwu\AppData\Roaming\npm\node_modules\weak\node_modules\nan\package.json
300 verbose readDependencies loading dependencies from C:\Users\kpwu\AppData\Roaming\npm\node_modules\weak\node_modules\nan\package.json
301 silly install resolved []
302 verbose about to build C:\Users\kpwu\AppData\Roaming\npm\node_modules\weak\node_modules\nan
303 info build C:\Users\kpwu\AppData\Roaming\npm\node_modules\weak\node_modules\nan
304 info linkStuff [email protected]
305 silly linkStuff [email protected] has C:\Users\kpwu\AppData\Roaming\npm\node_modules\weak\node_modules as its parent node_modules
306 silly linkStuff [email protected] is part of a global install
307 silly linkStuff [email protected] is installed into a global node_modules
308 verbose linkBins [email protected]
309 verbose linkMans [email protected]
310 verbose rebuildBundles [email protected]
311 info install [email protected]
312 info postinstall [email protected]
313 verbose unlock done using C:\Users\kpwu\AppData\Roaming\npm-cache\_locks\nan-ac917b27354e259f.lock for C:\Users\kpwu\AppData\Roaming\npm\node_modules\weak\node_modules\nan
314 verbose about to build C:\Users\kpwu\AppData\Roaming\npm\node_modules\weak
315 info build C:\Users\kpwu\AppData\Roaming\npm\node_modules\weak
316 info linkStuff [email protected]
317 silly linkStuff [email protected] has C:\Users\kpwu\AppData\Roaming\npm\node_modules as its parent node_modules
318 silly linkStuff [email protected] is part of a global install
319 silly linkStuff [email protected] is installed into a global node_modules
320 silly linkStuff [email protected] is installed into the top-level global node_modules
321 verbose linkBins [email protected]
322 verbose linkMans [email protected]
323 verbose rebuildBundles [email protected]
324 verbose rebuildBundles [ 'bindings', 'nan' ]
325 info install [email protected]
326 verbose unsafe-perm in lifecycle true
327 info [email protected] Failed to exec install script
328 verbose unlock done using C:\Users\kpwu\AppData\Roaming\npm-cache\_locks\weak-4f4551b70a924cc7.lock for C:\Users\kpwu\AppData\Roaming\npm\node_modules\weak
329 verbose stack Error: [email protected] install: `node-gyp rebuild`
329 verbose stack Exit status 1
329 verbose stack     at EventEmitter.<anonymous> (C:\Program Files\nodejs\node_modules\npm\lib\utils\lifecycle.js:214:16)
329 verbose stack     at emitTwo (events.js:87:13)
329 verbose stack     at EventEmitter.emit (events.js:172:7)
329 verbose stack     at ChildProcess.<anonymous> (C:\Program Files\nodejs\node_modules\npm\lib\utils\spawn.js:24:14)
329 verbose stack     at emitTwo (events.js:87:13)
329 verbose stack     at ChildProcess.emit (events.js:172:7)
329 verbose stack     at maybeClose (internal/child_process.js:817:16)
329 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
330 verbose pkgid [email protected]
331 verbose cwd C:\Users\kpwu
332 error Windows_NT 6.1.7601
333 error argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "-g" "weak"
334 error node v4.0.0
335 error npm  v2.14.2
336 error code ELIFECYCLE
337 error [email protected] install: `node-gyp rebuild`
337 error Exit status 1
338 error Failed at the [email protected] install script 'node-gyp rebuild'.
338 error This is most likely a problem with the weak package,
338 error not with npm itself.
338 error Tell the author that this fails on your system:
338 error     node-gyp rebuild
338 error You can get their info via:
338 error     npm owner ls weak
338 error There is likely additional logging output above.
339 verbose exit [ 1, true ]
340 verbose unbuild node_modules\weak
341 info preuninstall [email protected]
342 info uninstall [email protected]
343 verbose unbuild rmStuff [email protected] from C:\Users\kpwu\AppData\Roaming\npm\node_modules
344 info postuninstall [email protected]
345 silly gentlyRm C:\Users\kpwu\AppData\Roaming\npm\node_modules\weak is being purged from base C:\Users\kpwu\AppData\Roaming\npm
346 verbose gentlyRm don't care about contents; nuking C:\Users\kpwu\AppData\Roaming\npm\node_modules\weak
347 silly vacuum-fs purging C:\Users\kpwu\AppData\Roaming\npm\node_modules\weak
348 silly vacuum-fs quitting because other entries in C:\Users\kpwu\AppData\Roaming\npm\node_modules

Ken

@sologub-s
Copy link

The same trouble on Ubuntu 14.04, node v5.10.0, npm 3.8.3

@snaray12
Copy link

snaray12 commented Feb 8, 2017

Is there any solution for installation of weak on centos 7 platform

 $ uname -a
Linux centos7 3.10.0-123.20.1.el7.x86_64 #1 SMP Thu Jan 29 18:05:33 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
$ node --version
v6.9.1
$ npm --version
3.10.8

Error is:

112 silly extract [email protected]
113 verbose unbuild node_modules/.staging/weak-a1a1a880
114 silly gentlyRm /code/v2.3/engine/server/src/node_modules/.staging/weak-a1a1a880 is being purged from base /code/v2.3/engine/server/src
115 verbose gentlyRm don't care about contents; nuking /code/v2.3/engine/server/src/node_modules/.staging/weak-a1a1a880
116 verbose tar unpack /home/vagrant/.npm/weak/1.0.0/package.tgz
117 verbose tar unpacking to /code/v2.3/engine/server/src/node_modules/.staging/weak-a1a1a880
118 silly gentlyRm /code/v2.3/engine/server/src/node_modules/.staging/weak-a1a1a880 is being purged
119 verbose gentlyRm don't care about contents; nuking /code/v2.3/engine/server/src/node_modules/.staging/weak-a1a1a880
120 silly gunzTarPerm modes [ '775', '664' ]
121 silly gunzTarPerm extractEntry package.json
122 silly gunzTarPerm modified mode [ 'package.json', 420, 436 ]
123 silly gunzTarPerm extractEntry .npmignore
124 silly gunzTarPerm modified mode [ '.npmignore', 420, 436 ]
125 silly gunzTarPerm extractEntry README.md
126 silly gunzTarPerm modified mode [ 'README.md', 420, 436 ]
127 silly gunzTarPerm extractEntry LICENSE
128 silly gunzTarPerm modified mode [ 'LICENSE', 420, 436 ]
129 silly gunzTarPerm extractEntry binding.gyp
130 silly gunzTarPerm modified mode [ 'binding.gyp', 420, 436 ]
131 silly gunzTarPerm extractEntry .travis.yml
132 silly gunzTarPerm modified mode [ '.travis.yml', 420, 436 ]
133 silly gunzTarPerm extractEntry appveyor.yml
134 silly gunzTarPerm modified mode [ 'appveyor.yml', 420, 436 ]
135 silly gunzTarPerm extractEntry History.md
136 silly gunzTarPerm modified mode [ 'History.md', 420, 436 ]
137 silly gunzTarPerm extractEntry lib/weak.js
138 silly gunzTarPerm modified mode [ 'lib/weak.js', 420, 436 ]
139 silly gunzTarPerm extractEntry src/weakref.cc
140 silly gunzTarPerm modified mode [ 'src/weakref.cc', 420, 436 ]
141 silly gunzTarPerm extractEntry test/buffer.js
142 silly gunzTarPerm modified mode [ 'test/buffer.js', 420, 436 ]
143 silly gunzTarPerm extractEntry test/callback.js
144 silly gunzTarPerm modified mode [ 'test/callback.js', 420, 436 ]
145 silly gunzTarPerm extractEntry test/create.js
146 silly gunzTarPerm modified mode [ 'test/create.js', 420, 436 ]
147 silly gunzTarPerm extractEntry test/exports.js
148 silly gunzTarPerm modified mode [ 'test/exports.js', 420, 436 ]
149 silly gunzTarPerm extractEntry test/weakref.js
150 silly gunzTarPerm modified mode [ 'test/weakref.js', 420, 436 ]
151 silly gentlyRm /code/v2.3/engine/server/src/node_modules/.staging/weak-a1a1a880/node_modules is being purged
152 verbose gentlyRm don't care about contents; nuking /code/v2.3/engine/server/src/node_modules/.staging/weak-a1a1a880/node_modules
153 silly doParallel preinstall 1
154 silly preinstall [email protected] /code/v2.3/engine/server/src/node_modules/.staging/weak-a1a1a880
155 info lifecycle [email protected]~preinstall: [email protected]
156 silly lifecycle [email protected]~preinstall: no script for preinstall, continuing
157 silly doReverseSerial remove 0
158 silly doSerial move 0
159 silly doSerial finalize 1
160 silly finalize /code/v2.3/engine/server/src/node_modules/weak
161 silly doSerial build 1
162 silly build [email protected]
163 info linkStuff [email protected]
164 silly linkStuff [email protected] has /code/v2.3/engine/server/src/node_modules as its parent node_modules
165 verbose linkBins [email protected]
166 verbose linkMans [email protected]
167 silly doSerial global-link 0
168 silly doParallel update-linked 0
169 silly doSerial install 1
170 silly install [email protected] /code/v2.3/engine/server/src/node_modules/.staging/weak-a1a1a880
171 info lifecycle [email protected]~install: [email protected]
172 verbose lifecycle [email protected]~install: unsafe-perm in lifecycle true
173 verbose lifecycle [email protected]~install: PATH: /usr/local/lib/node_modules/npm/bin/node-gyp-bin:/code/v2.3/engine/server/src/node_modules/weak/node_modules/.bin:/code/v2.3/engine/server/src/node_modules/.bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/vagrant/.local/bin:/home/vagrant/bin:/home/vagrant/.local/bin:/home/vagrant/bin
174 verbose lifecycle [email protected]~install: CWD: /code/v2.3/engine/server/src/node_modules/weak
175 silly lifecycle [email protected]~install: Args: [ '-c', 'node-gyp rebuild' ]
176 silly lifecycle [email protected]~install: Returned: code: 1  signal: null
177 info lifecycle [email protected]~install: Failed to exec install script
178 verbose unlock done using /home/vagrant/.npm/_locks/staging-a1d7dbbadf173369.lock for /code/v2.3/engine/server/src/node_modules/.staging
179 silly rollbackFailedOptional Starting
180 silly rollbackFailedOptional Finishing
181 silly runTopLevelLifecycles Finishing
182 silly install printInstalled
183 warn optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules/chokidar/node_modules/fsevents):
184 warn notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"ia32"})
185 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Valid OS:    darwin
185 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Valid Arch:  any
185 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Actual OS:   linux
185 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Actual Arch: ia32
186 verbose stack Error: [email protected] install: `node-gyp rebuild`
186 verbose stack Exit status 1
186 verbose stack     at EventEmitter.<anonymous> (/usr/local/lib/node_modules/npm/lib/utils/lifecycle.js:255:16)
186 verbose stack     at emitTwo (events.js:106:13)
186 verbose stack     at EventEmitter.emit (events.js:191:7)
186 verbose stack     at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/lib/utils/spawn.js:40:14)
186 verbose stack     at emitTwo (events.js:106:13)
186 verbose stack     at ChildProcess.emit (events.js:191:7)
186 verbose stack     at maybeClose (internal/child_process.js:877:16)
186 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
187 verbose pkgid [email protected]
188 verbose cwd /code/v2.3/engine/server/src
189 error Linux 3.10.0-123.20.1.el7.x86_64
190 error argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "[email protected]"
191 error node v6.9.1
192 error npm  v3.10.8
193 error code ELIFECYCLE
194 error [email protected] install: `node-gyp rebuild`
194 error Exit status 1
195 error Failed at the [email protected] install script 'node-gyp rebuild'.
195 error Make sure you have the latest version of node.js and npm installed.
195 error If you do, this is most likely a problem with the weak package,
195 error not with npm itself.
195 error Tell the author that this fails on your system:
195 error     node-gyp rebuild
195 error You can get information on how to open an issue for this project with:
195 error     npm bugs weak
195 error Or if that isn't available, you can get their info via:
195 error     npm owner ls weak
195 error There is likely additional logging output above.
196 verbose exit [ 1, true ]```

@TooTallNate
Copy link
Owner

Unfortunately the npm-debug.log file DOES NOT contain the build error from node-gyp. Can you guys please copy+paste the error that you see on your terminal instead?

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

4 participants