Hello, i checked all opened and closed issues, but did not found my errors.
ssl libs, dev tools, redis - all installed. But anyway. May be i am doing something wrong. can someone help me please?
0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/bin/node',
1 verbose cli '/usr/local/bin/npm',
1 verbose cli 'install',
1 verbose cli 'multi-hashing' ]
2 info using [email protected]
3 info using [email protected]
4 verbose config Skipping project config: /root/.npmrc. (matches userconfig)
5 silly cache add args [ 'multi-hashing', null ]
6 verbose cache add spec multi-hashing
7 silly cache add parsed spec { raw: 'multi-hashing',
7 silly cache add scope: null,
7 silly cache add name: 'multi-hashing',
7 silly cache add rawSpec: '',
7 silly cache add spec: '*',
7 silly cache add type: 'range' }
8 verbose addNamed multi-hashing@*
9 silly addNamed semver.valid null
10 silly addNamed semver.validRange *
11 silly addNameRange { name: 'multi-hashing', range: '*', hasData: false }
12 silly mapToRegistry name multi-hashing
13 silly mapToRegistry using default registry
14 silly mapToRegistry registry https://registry.npmjs.org/
15 silly mapToRegistry uri https://registry.npmjs.org/multi-hashing
16 verbose addNameRange registry:https://registry.npmjs.org/multi-hashing not in flight; fetching
17 verbose request uri https://registry.npmjs.org/multi-hashing
18 verbose request no auth needed
19 info attempt registry request try #1 at 08:22:37
20 verbose request id 63861467b9786a5d
21 verbose etag "BYDCBH15FOGZZUUL7JVZD9Z1G"
22 http request GET https://registry.npmjs.org/multi-hashing
23 http 304 https://registry.npmjs.org/multi-hashing
24 silly get cb [ 304,
24 silly get { date: 'Wed, 22 Apr 2015 12:22:37 GMT',
24 silly get server: 'Apache',
24 silly get via: '1.1 varnish',
24 silly get 'last-modified': 'Wed, 22 Apr 2015 12:22:37 GMT',
24 silly get 'cache-control': 'max-age=60',
24 silly get etag: '"BYDCBH15FOGZZUUL7JVZD9Z1G"',
24 silly get age: '0',
24 silly get 'x-served-by': 'cache-lhr6334-LHR',
24 silly get 'x-cache': 'MISS',
24 silly get 'x-cache-hits': '0',
24 silly get 'x-timer': 'S1429705357.177739,VS0,VE645',
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/multi-hashing from cache
26 verbose get saving multi-hashing to /root/.npm/registry.npmjs.org/multi-hashing/.cache.json
27 silly addNameRange number 2 { name: 'multi-hashing', range: '*', hasData: true }
28 silly addNameRange versions [ 'multi-hashing', [ '0.0.1', '0.0.2', '0.0.3', '0.0.4' ] ]
29 verbose addNamed [email protected]
30 silly addNamed semver.valid 0.0.4
31 silly addNamed semver.validRange 0.0.4
32 silly cache afterAdd [email protected]
33 verbose afterAdd /root/.npm/multi-hashing/0.0.4/package/package.json not in flight; writing
34 verbose afterAdd /root/.npm/multi-hashing/0.0.4/package/package.json written
35 silly install resolved [ { name: 'multi-hashing',
35 silly install resolved version: '0.0.4',
35 silly install resolved main: 'multihashing',
35 silly install resolved author: { name: 'Matthew Little', email: '[email protected]' },
35 silly install resolved repository:
35 silly install resolved { type: 'git',
35 silly install resolved url: 'https://github.com/zone117x/node-multi-hashing.git' },
35 silly install resolved dependencies: { bindings: '*' },
35 silly install resolved keywords:
35 silly install resolved [ 'scrypt',
35 silly install resolved 'scryptjane',
35 silly install resolved 'script-n',
35 silly install resolved 'x11',
35 silly install resolved 'quark',
35 silly install resolved 'keccak_hash',
35 silly install resolved 'skein',
35 silly install resolved 'bcrypt',
35 silly install resolved 'keccak',
35 silly install resolved 'blake',
35 silly install resolved 'shavite',
35 silly install resolved 'fugue' ],
35 silly install resolved scripts: { install: 'node-gyp rebuild' },
35 silly install resolved gypfile: true,
35 silly install resolved description: 'node-multi-hashing\r ===============',
35 silly install resolved bugs: { url: 'https://github.com/zone117x/node-multi-hashing/issues' },
35 silly install resolved homepage: 'https://github.com/zone117x/node-multi-hashing',
35 silly install resolved _id: '[email protected]',
35 silly install resolved dist:
35 silly install resolved { shasum: '4cf12dd281b7ca71ebe1966861f84fefa36c2cee',
35 silly install resolved tarball: 'http://registry.npmjs.org/multi-hashing/-/multi-hashing-0.0.4.tgz' },
35 silly install resolved _from: 'multi-hashing@*',
35 silly install resolved _npmVersion: '1.4.4',
35 silly install resolved _npmUser: { name: 'zone117x', email: '[email protected]' },
35 silly install resolved maintainers: [ [Object] ],
35 silly install resolved directories: {},
35 silly install resolved _shasum: '4cf12dd281b7ca71ebe1966861f84fefa36c2cee',
35 silly install resolved _resolved: 'https://registry.npmjs.org/multi-hashing/-/multi-hashing-0.0.4.tgz',
35 silly install resolved readme: 'ERROR: No README data found!' } ]
36 info install [email protected] into /root
37 info installOne [email protected]
38 verbose installOne of multi-hashing to /root not in flight; installing
39 verbose lock using /root/.npm/_locks/multi-hashing-b177b171522391ad.lock for /root/node_modules/multi-hashing
40 silly install write writing multi-hashing 0.0.4 to /root/node_modules/multi-hashing
41 silly cache addNamed cb [email protected]
42 verbose unbuild node_modules/multi-hashing
43 silly gentlyRm /root/node_modules/multi-hashing is being purged from base /root
44 verbose gentlyRm don't care about contents; nuking /root/node_modules/multi-hashing
45 verbose tar unpack /root/.npm/multi-hashing/0.0.4/package.tgz
46 verbose tar unpacking to /root/node_modules/multi-hashing
47 silly gentlyRm /root/node_modules/multi-hashing is being purged
48 verbose gentlyRm don't care about contents; nuking /root/node_modules/multi-hashing
49 silly gunzTarPerm modes [ '755', '644' ]
50 silly gunzTarPerm extractEntry package.json
51 silly gunzTarPerm extractEntry README.md
52 silly gunzTarPerm extractEntry index.js
53 silly gunzTarPerm extractEntry binding.gyp
54 silly gunzTarPerm extractEntry x11.h
55 silly gunzTarPerm extractEntry keccak.c
56 silly gunzTarPerm extractEntry keccak.h
57 silly gunzTarPerm extractEntry multihashing.cc
58 silly gunzTarPerm extractEntry bcrypt.h
59 silly gunzTarPerm extractEntry quark.c
60 silly gunzTarPerm extractEntry quark.h
61 silly gunzTarPerm extractEntry scrypt.c
62 silly gunzTarPerm extractEntry bcrypt.c
63 silly gunzTarPerm extractEntry scryptjane/scrypt-jane-mix_salsa-sse2.h
64 silly gunzTarPerm extractEntry scryptjane/scrypt-jane-chacha.h
65 silly gunzTarPerm extractEntry scryptjane/scrypt-jane-hash_keccak.h
66 silly gunzTarPerm extractEntry scryptjane/scrypt-jane-hash_sha256.h
67 silly gunzTarPerm extractEntry scryptjane/scrypt-jane-mix_chacha-avx.h
68 silly gunzTarPerm extractEntry scryptjane/scrypt-jane-mix_chacha-sse2.h
69 silly gunzTarPerm extractEntry scryptjane/scrypt-jane-mix_chacha-ssse3.h
70 silly gunzTarPerm extractEntry scryptjane/scrypt-jane-mix_chacha.h
71 silly gunzTarPerm extractEntry scryptjane/scrypt-jane-mix_salsa-avx.h
72 silly gunzTarPerm extractEntry scryptjane/scrypt-jane-hash.h
73 silly gunzTarPerm extractEntry scryptjane/scrypt-jane-mix_salsa.h
74 silly gunzTarPerm extractEntry scryptjane/scrypt-jane-pbkdf2.h
75 silly gunzTarPerm extractEntry scryptjane/scrypt-jane-portable-x86.h
76 silly gunzTarPerm extractEntry scryptjane/scrypt-jane-portable.h
77 silly gunzTarPerm extractEntry scryptjane/scrypt-jane-romix-basic.h
78 silly gunzTarPerm extractEntry scryptjane/scrypt-jane-romix-template.h
79 silly gunzTarPerm extractEntry scryptjane/scrypt-jane-romix.h
80 silly gunzTarPerm extractEntry scryptjane/scrypt-jane-salsa.h
81 silly gunzTarPerm extractEntry scryptjane/scrypt-jane-test-vectors.h
82 silly gunzTarPerm extractEntry scryptjane.c
83 silly gunzTarPerm extractEntry scryptjane.h
84 silly gunzTarPerm extractEntry scryptn.c
85 silly gunzTarPerm extractEntry scryptn.h
86 silly gunzTarPerm extractEntry sha3/sph_blake.h
87 silly gunzTarPerm extractEntry sha3/aes_helper.c
88 silly gunzTarPerm extractEntry sha3/bmw.c
89 silly gunzTarPerm extractEntry sha3/cubehash.c
90 silly gunzTarPerm extractEntry sha3/echo.c
91 silly gunzTarPerm extractEntry sha3/groestl.c
92 silly gunzTarPerm extractEntry sha3/jh.c
93 silly gunzTarPerm extractEntry sha3/keccak.c
94 silly gunzTarPerm extractEntry sha3/luffa.c
95 silly gunzTarPerm extractEntry sha3/shavite.c
96 silly gunzTarPerm extractEntry sha3/simd.c
97 silly gunzTarPerm extractEntry sha3/skein.c
98 silly gunzTarPerm extractEntry sha3/blake.c
99 silly gunzTarPerm extractEntry sha3/sph_bmw.h
100 silly gunzTarPerm extractEntry sha3/sph_cubehash.h
101 silly gunzTarPerm extractEntry sha3/sph_echo.h
102 silly gunzTarPerm extractEntry sha3/sph_groestl.h
103 silly gunzTarPerm extractEntry sha3/sph_jh.h
104 silly gunzTarPerm extractEntry sha3/sph_keccak.h
105 silly gunzTarPerm extractEntry sha3/sph_luffa.h
106 silly gunzTarPerm extractEntry sha3/sph_shavite.h
107 silly gunzTarPerm extractEntry sha3/sph_simd.h
108 silly gunzTarPerm extractEntry sha3/sph_skein.h
109 silly gunzTarPerm extractEntry sha3/sph_types.h
110 silly gunzTarPerm extractEntry skein.c
111 silly gunzTarPerm extractEntry skein.h
112 silly gunzTarPerm extractEntry stdint.h
113 silly gunzTarPerm extractEntry x11.c
114 silly gunzTarPerm extractEntry scrypt.h
115 info preinstall [email protected]
116 silly prepareForInstallMany adding bindings@* from multi-hashing dependencies
117 silly cache add args [ 'bindings@*', null ]
118 verbose cache add spec bindings@*
119 silly cache add parsed spec { raw: 'bindings@*',
119 silly cache add scope: null,
119 silly cache add name: 'bindings',
119 silly cache add rawSpec: '*',
119 silly cache add spec: '*',
119 silly cache add type: 'range' }
120 verbose addNamed bindings@*
121 silly addNamed semver.valid null
122 silly addNamed semver.validRange *
123 silly addNameRange { name: 'bindings', range: '*', hasData: false }
124 silly mapToRegistry name bindings
125 silly mapToRegistry using default registry
126 silly mapToRegistry registry https://registry.npmjs.org/
127 silly mapToRegistry uri https://registry.npmjs.org/bindings
128 verbose addNameRange registry:https://registry.npmjs.org/bindings not in flight; fetching
129 verbose request uri https://registry.npmjs.org/bindings
130 verbose request no auth needed
131 info attempt registry request try #1 at 08:22:38
132 verbose etag "5997G8NY1OJEMZ1HNHL7VBX5J"
133 http request GET https://registry.npmjs.org/bindings
134 http 304 https://registry.npmjs.org/bindings
135 silly get cb [ 304,
135 silly get { date: 'Wed, 22 Apr 2015 12:22:38 GMT',
135 silly get server: 'Apache',
135 silly get via: '1.1 varnish',
135 silly get 'last-modified': 'Wed, 22 Apr 2015 12:22:38 GMT',
135 silly get 'cache-control': 'max-age=60',
135 silly get etag: '"5997G8NY1OJEMZ1HNHL7VBX5J"',
135 silly get age: '49',
135 silly get 'x-served-by': 'cache-lhr6333-LHR',
135 silly get 'x-cache': 'HIT',
135 silly get 'x-cache-hits': '1',
135 silly get 'x-timer': 'S1429705358.251811,VS0,VE1',
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/bindings from cache
137 verbose get saving bindings to /root/.npm/registry.npmjs.org/bindings/.cache.json
138 silly addNameRange number 2 { name: 'bindings', range: '*', hasData: true }
139 silly addNameRange versions [ 'bindings',
139 silly addNameRange [ '0.0.1',
139 silly addNameRange '0.1.0',
139 silly addNameRange '0.1.1',
139 silly addNameRange '0.2.0',
139 silly addNameRange '0.2.1',
139 silly addNameRange '0.2.2',
139 silly addNameRange '0.2.3',
139 silly addNameRange '0.2.4',
139 silly addNameRange '0.3.0',
139 silly addNameRange '0.4.0',
139 silly addNameRange '1.0.0',
139 silly addNameRange '1.1.0',
139 silly addNameRange '1.1.1',
139 silly addNameRange '1.2.0',
139 silly addNameRange '1.2.1' ] ]
140 verbose addNamed [email protected]
141 silly addNamed semver.valid 1.2.1
142 silly addNamed semver.validRange 1.2.1
143 silly cache afterAdd [email protected]
144 verbose afterAdd /root/.npm/bindings/1.2.1/package/package.json not in flight; writing
145 verbose afterAdd /root/.npm/bindings/1.2.1/package/package.json written
146 silly install resolved [ { name: 'bindings',
146 silly install resolved description: 'Helper module for loading your native module\'s .node file',
146 silly install resolved keywords: [ 'native', 'addon', 'bindings', 'gyp', 'waf', 'c', 'c++' ],
146 silly install resolved version: '1.2.1',
146 silly install resolved author:
146 silly install resolved { name: 'Nathan Rajlich',
146 silly install resolved email: '[email protected]',
146 silly install resolved url: 'http://tootallnate.net' },
146 silly install resolved repository:
146 silly install resolved { type: 'git',
146 silly install resolved url: 'git://github.com/TooTallNate/node-bindings.git' },
146 silly install resolved main: './bindings.js',
146 silly install resolved bugs: { url: 'https://github.com/TooTallNate/node-bindings/issues' },
146 silly install resolved homepage: 'https://github.com/TooTallNate/node-bindings',
146 silly install resolved license: 'MIT',
146 silly install resolved gitHead: 'e404152ee27f8478ccbc7122ee051246e8e5ec02',
146 silly install resolved _id: '[email protected]',
146 silly install resolved scripts: {},
146 silly install resolved _shasum: '14ad6113812d2d37d72e67b4cacb4bb726505f11',
146 silly install resolved _from: 'bindings@*',
146 silly install resolved _npmVersion: '1.4.14',
146 silly install resolved _npmUser: { name: 'tootallnate', email: '[email protected]' },
146 silly install resolved maintainers: [ [Object], [Object] ],
146 silly install resolved dist:
146 silly install resolved { shasum: '14ad6113812d2d37d72e67b4cacb4bb726505f11',
146 silly install resolved tarball: 'http://registry.npmjs.org/bindings/-/bindings-1.2.1.tgz' },
146 silly install resolved directories: {},
146 silly install resolved _resolved: 'https://registry.npmjs.org/bindings/-/bindings-1.2.1.tgz',
146 silly install resolved readme: 'ERROR: No README data found!' } ]
147 info install [email protected] into /root/node_modules/multi-hashing
148 info installOne [email protected]
149 verbose installOne of bindings to /root/node_modules/multi-hashing not in flight; installing
150 verbose lock using /root/.npm/_locks/bindings-065cf6950349f93d.lock for /root/node_modules/multi-hashing/node_modules/bindings
151 silly install write writing bindings 1.2.1 to /root/node_modules/multi-hashing/node_modules/bindings
152 silly cache addNamed cb [email protected]
153 verbose unbuild node_modules/multi-hashing/node_modules/bindings
154 silly gentlyRm /root/node_modules/multi-hashing/node_modules/bindings is being purged from base /root
155 verbose gentlyRm don't care about contents; nuking /root/node_modules/multi-hashing/node_modules/bindings
156 verbose tar unpack /root/.npm/bindings/1.2.1/package.tgz
157 verbose tar unpacking to /root/node_modules/multi-hashing/node_modules/bindings
158 silly gentlyRm /root/node_modules/multi-hashing/node_modules/bindings is being purged
159 verbose gentlyRm don't care about contents; nuking /root/node_modules/multi-hashing/node_modules/bindings
160 silly gunzTarPerm modes [ '755', '644' ]
161 silly gunzTarPerm extractEntry package.json
162 silly gunzTarPerm extractEntry README.md
163 silly gunzTarPerm extractEntry bindings.js
164 info preinstall [email protected]
165 silly install resolved []
166 verbose about to build /root/node_modules/multi-hashing/node_modules/bindings
167 info build /root/node_modules/multi-hashing/node_modules/bindings
168 verbose linkStuff [ false,
168 verbose linkStuff false,
168 verbose linkStuff false,
168 verbose linkStuff '/root/node_modules/multi-hashing/node_modules' ]
169 info linkStuff [email protected]
170 verbose linkBins [email protected]
171 verbose linkMans [email protected]
172 verbose rebuildBundles [email protected]
173 info install [email protected]
174 info postinstall [email protected]
175 verbose unlock done using /root/.npm/_locks/bindings-065cf6950349f93d.lock for /root/node_modules/multi-hashing/node_modules/bindings
176 verbose about to build /root/node_modules/multi-hashing
177 info build /root/node_modules/multi-hashing
178 verbose linkStuff [ false, false, false, '/root/node_modules' ]
179 info linkStuff [email protected]
180 verbose linkBins [email protected]
181 verbose linkMans [email protected]
182 verbose rebuildBundles [email protected]
183 verbose rebuildBundles [ 'bindings' ]
184 info install [email protected]
185 verbose unsafe-perm in lifecycle false
186 info [email protected] Failed to exec install script
187 verbose unlock done using /root/.npm/_locks/multi-hashing-b177b171522391ad.lock for /root/node_modules/multi-hashing
188 verbose stack Error: [email protected] install: `node-gyp rebuild`
188 verbose stack Exit status 1
188 verbose stack at EventEmitter.<anonymous> (/usr/local/lib/node_modules/npm/lib/utils/lifecycle.js:213:16)
188 verbose stack at EventEmitter.emit (events.js:110:17)
188 verbose stack at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/lib/utils/spawn.js:14:12)
188 verbose stack at ChildProcess.emit (events.js:110:17)
188 verbose stack at maybeClose (child_process.js:1015:16)
188 verbose stack at Process.ChildProcess._handle.onexit (child_process.js:1087:5)
189 verbose pkgid [email protected]
190 verbose cwd /root
191 error Linux 3.10.0-229.el7.x86_64
192 error argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "multi-hashing"
193 error node v0.12.2
194 error npm v2.7.4
195 error code ELIFECYCLE
196 error [email protected] install: `node-gyp rebuild`
196 error Exit status 1
197 error Failed at the [email protected] install script 'node-gyp rebuild'.
197 error This is most likely a problem with the multi-hashing package,
197 error not with npm itself.
197 error Tell the author that this fails on your system:
197 error node-gyp rebuild
197 error You can get their info via:
197 error npm owner ls multi-hashing
197 error There is likely additional logging output above.
198 verbose exit [ 1, true ]
199 verbose unbuild node_modules/multi-hashing
200 info preuninstall [email protected]
201 info uninstall [email protected]
202 verbose unbuild rmStuff [email protected] from /root/node_modules
203 info postuninstall [email protected]
204 silly gentlyRm /root/node_modules/multi-hashing is being purged from base /root
205 verbose gentlyRm don't care about contents; nuking /root/node_modules/multi-hashing
206 silly vacuum-fs purging /root/node_modules/multi-hashing
207 silly vacuum-fs removing /root/node_modules
208 silly vacuum-fs finished vacuuming up to /root
npm install multi-hashing
\
> [email protected] install /root/node_modules/multi-hashing
> node-gyp rebuild
make: Entering directory `/root/node_modules/multi-hashing/build'
CXX(target) Release/obj.target/multihashing/multihashing.o
../multihashing.cc: In function ‘v8::Handle<v8::Value> except(const char*)’:
../multihashing.cc:93:44: error: ‘New’ is not a member of ‘v8::String’
return ThrowException(Exception::Error(String::New(msg)));
^
../multihashing.cc:93:61: error: ‘ThrowException’ was not declared in this scope
return ThrowException(Exception::Error(String::New(msg)));
^
../multihashing.cc: At global scope:
../multihashing.cc:96:27: error: ‘Arguments’ does not name a type
Handle<Value> quark(const Arguments& args) {
^
../multihashing.cc:96:38: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
Handle<Value> quark(const Arguments& args) {
^
In file included from /root/.node-gyp/0.12.2/src/node.h:61:0,
from ../multihashing.cc:1:
/root/.node-gyp/0.12.2/deps/v8/include/v8.h: In function ‘v8::Handle<v8::Value> quark(const int&)’:
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected
V8_INLINE HandleScope() {}
^
../multihashing.cc:97:17: error: within this context
HandleScope scope;
^
../multihashing.cc:99:14: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’
if (args.Length() < 1)
^
../multihashing.cc:102:34: error: invalid types ‘const int[int]’ for array subscript
Local<Object> target = args[0]->ToObject();
^
../multihashing.cc:112:11: error: expected primary-expression before ‘*’ token
Buffer* buff = Buffer::New(output, 32);
^
../multihashing.cc:112:13: error: ‘buff’ was not declared in this scope
Buffer* buff = Buffer::New(output, 32);
^
../multihashing.cc:113:18: error: ‘class v8::HandleScope’ has no member named ‘Close’
return scope.Close(buff->handle_);
^
../multihashing.cc: At global scope:
../multihashing.cc:116:25: error: ‘Arguments’ does not name a type
Handle<Value> x11(const Arguments& args) {
^
../multihashing.cc:116:36: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
Handle<Value> x11(const Arguments& args) {
^
In file included from /root/.node-gyp/0.12.2/src/node.h:61:0,
from ../multihashing.cc:1:
/root/.node-gyp/0.12.2/deps/v8/include/v8.h: In function ‘v8::Handle<v8::Value> x11(const int&)’:
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected
V8_INLINE HandleScope() {}
^
../multihashing.cc:117:17: error: within this context
HandleScope scope;
^
../multihashing.cc:119:14: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’
if (args.Length() < 1)
^
../multihashing.cc:122:34: error: invalid types ‘const int[int]’ for array subscript
Local<Object> target = args[0]->ToObject();
^
../multihashing.cc:132:11: error: expected primary-expression before ‘*’ token
Buffer* buff = Buffer::New(output, 32);
^
../multihashing.cc:132:13: error: ‘buff’ was not declared in this scope
Buffer* buff = Buffer::New(output, 32);
^
../multihashing.cc:133:18: error: ‘class v8::HandleScope’ has no member named ‘Close’
return scope.Close(buff->handle_);
^
../multihashing.cc: At global scope:
../multihashing.cc:136:28: error: ‘Arguments’ does not name a type
Handle<Value> scrypt(const Arguments& args) {
^
../multihashing.cc:136:39: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
Handle<Value> scrypt(const Arguments& args) {
^
In file included from /root/.node-gyp/0.12.2/src/node.h:61:0,
from ../multihashing.cc:1:
/root/.node-gyp/0.12.2/deps/v8/include/v8.h: In function ‘v8::Handle<v8::Value> scrypt(const int&)’:
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected
V8_INLINE HandleScope() {}
^
../multihashing.cc:137:16: error: within this context
HandleScope scope;
^
../multihashing.cc:139:13: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’
if (args.Length() < 1)
^
../multihashing.cc:142:33: error: invalid types ‘const int[int]’ for array subscript
Local<Object> target = args[0]->ToObject();
^
../multihashing.cc:152:10: error: expected primary-expression before ‘*’ token
Buffer* buff = Buffer::New(output, 32);
^
../multihashing.cc:152:12: error: ‘buff’ was not declared in this scope
Buffer* buff = Buffer::New(output, 32);
^
../multihashing.cc:153:17: error: ‘class v8::HandleScope’ has no member named ‘Close’
return scope.Close(buff->handle_);
^
../multihashing.cc: At global scope:
../multihashing.cc:158:29: error: ‘Arguments’ does not name a type
Handle<Value> scryptn(const Arguments& args) {
^
../multihashing.cc:158:40: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
Handle<Value> scryptn(const Arguments& args) {
^
In file included from /root/.node-gyp/0.12.2/src/node.h:61:0,
from ../multihashing.cc:1:
/root/.node-gyp/0.12.2/deps/v8/include/v8.h: In function ‘v8::Handle<v8::Value> scryptn(const int&)’:
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected
V8_INLINE HandleScope() {}
^
../multihashing.cc:159:16: error: within this context
HandleScope scope;
^
../multihashing.cc:161:13: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’
if (args.Length() < 2)
^
../multihashing.cc:164:33: error: invalid types ‘const int[int]’ for array subscript
Local<Object> target = args[0]->ToObject();
^
../multihashing.cc:169:30: error: invalid types ‘const int[int]’ for array subscript
Local<Number> num = args[1]->ToNumber();
^
../multihashing.cc:179:10: error: expected primary-expression before ‘*’ token
Buffer* buff = Buffer::New(output, 32);
^
../multihashing.cc:179:12: error: ‘buff’ was not declared in this scope
Buffer* buff = Buffer::New(output, 32);
^
../multihashing.cc:180:17: error: ‘class v8::HandleScope’ has no member named ‘Close’
return scope.Close(buff->handle_);
^
../multihashing.cc: At global scope:
../multihashing.cc:183:32: error: ‘Arguments’ does not name a type
Handle<Value> scryptjane(const Arguments& args) {
^
../multihashing.cc:183:43: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
Handle<Value> scryptjane(const Arguments& args) {
^
In file included from /root/.node-gyp/0.12.2/src/node.h:61:0,
from ../multihashing.cc:1:
/root/.node-gyp/0.12.2/deps/v8/include/v8.h: In function ‘v8::Handle<v8::Value> scryptjane(const int&)’:
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected
V8_INLINE HandleScope() {}
^
../multihashing.cc:184:17: error: within this context
HandleScope scope;
^
../multihashing.cc:186:14: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’
if (args.Length() < 3)
^
../multihashing.cc:189:34: error: invalid types ‘const int[int]’ for array subscript
Local<Object> target = args[0]->ToObject();
^
../multihashing.cc:194:31: error: invalid types ‘const int[int]’ for array subscript
Local<Number> num = args[1]->ToNumber();
^
../multihashing.cc:197:32: error: invalid types ‘const int[int]’ for array subscript
Local<Number> num2 = args[2]->ToNumber();
^
../multihashing.cc:206:11: error: expected primary-expression before ‘*’ token
Buffer* buff = Buffer::New(output, 32);
^
../multihashing.cc:206:13: error: ‘buff’ was not declared in this scope
Buffer* buff = Buffer::New(output, 32);
^
../multihashing.cc:207:18: error: ‘class v8::HandleScope’ has no member named ‘Close’
return scope.Close(buff->handle_);
^
../multihashing.cc: At global scope:
../multihashing.cc:210:28: error: ‘Arguments’ does not name a type
Handle<Value> keccak(const Arguments& args) {
^
../multihashing.cc:210:39: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
Handle<Value> keccak(const Arguments& args) {
^
In file included from /root/.node-gyp/0.12.2/src/node.h:61:0,
from ../multihashing.cc:1:
/root/.node-gyp/0.12.2/deps/v8/include/v8.h: In function ‘v8::Handle<v8::Value> keccak(const int&)’:
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected
V8_INLINE HandleScope() {}
^
../multihashing.cc:211:17: error: within this context
HandleScope scope;
^
../multihashing.cc:213:14: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’
if (args.Length() < 1)
^
../multihashing.cc:216:34: error: invalid types ‘const int[int]’ for array subscript
Local<Object> target = args[0]->ToObject();
^
../multihashing.cc:226:11: error: expected primary-expression before ‘*’ token
Buffer* buff = Buffer::New(output, 32);
^
../multihashing.cc:226:13: error: ‘buff’ was not declared in this scope
Buffer* buff = Buffer::New(output, 32);
^
../multihashing.cc:227:18: error: ‘class v8::HandleScope’ has no member named ‘Close’
return scope.Close(buff->handle_);
^
../multihashing.cc: At global scope:
../multihashing.cc:231:28: error: ‘Arguments’ does not name a type
Handle<Value> bcrypt(const Arguments& args) {
^
../multihashing.cc:231:39: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
Handle<Value> bcrypt(const Arguments& args) {
^
In file included from /root/.node-gyp/0.12.2/src/node.h:61:0,
from ../multihashing.cc:1:
/root/.node-gyp/0.12.2/deps/v8/include/v8.h: In function ‘v8::Handle<v8::Value> bcrypt(const int&)’:
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected
V8_INLINE HandleScope() {}
^
../multihashing.cc:232:17: error: within this context
HandleScope scope;
^
../multihashing.cc:234:14: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’
if (args.Length() < 1)
^
../multihashing.cc:237:34: error: invalid types ‘const int[int]’ for array subscript
Local<Object> target = args[0]->ToObject();
^
../multihashing.cc:247:11: error: expected primary-expression before ‘*’ token
Buffer* buff = Buffer::New(output, 32);
^
../multihashing.cc:247:13: error: ‘buff’ was not declared in this scope
Buffer* buff = Buffer::New(output, 32);
^
../multihashing.cc:248:18: error: ‘class v8::HandleScope’ has no member named ‘Close’
return scope.Close(buff->handle_);
^
../multihashing.cc: In function ‘void init(v8::Handle<v8::Object>)’:
../multihashing.cc:252:18: error: ‘NewSymbol’ is not a member of ‘v8::String’
exports->Set(String::NewSymbol("quark"), FunctionTemplate::New(quark)->GetFunction());
^
../multihashing.cc:252:73: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle<v8::Value> (&)(const int&))’
exports->Set(String::NewSymbol("quark"), FunctionTemplate::New(quark)->GetFunction());
^
../multihashing.cc:252:73: note: candidate is:
In file included from /root/.node-gyp/0.12.2/src/node.h:61:0,
from ../multihashing.cc:1:
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:3455:34: note: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Handle<v8::Value>, v8::Handle<v8::Signature>, int)
static Local<FunctionTemplate> New(
^
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:3455:34: note: no known conversion for argument 1 from ‘v8::Handle<v8::Value>(const int&)’ to ‘v8::Isolate*’
../multihashing.cc:253:18: error: ‘NewSymbol’ is not a member of ‘v8::String’
exports->Set(String::NewSymbol("x11"), FunctionTemplate::New(x11)->GetFunction());
^
../multihashing.cc:253:69: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle<v8::Value> (&)(const int&))’
exports->Set(String::NewSymbol("x11"), FunctionTemplate::New(x11)->GetFunction());
^
../multihashing.cc:253:69: note: candidate is:
In file included from /root/.node-gyp/0.12.2/src/node.h:61:0,
from ../multihashing.cc:1:
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:3455:34: note: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Handle<v8::Value>, v8::Handle<v8::Signature>, int)
static Local<FunctionTemplate> New(
^
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:3455:34: note: no known conversion for argument 1 from ‘v8::Handle<v8::Value>(const int&)’ to ‘v8::Isolate*’
../multihashing.cc:254:18: error: ‘NewSymbol’ is not a member of ‘v8::String’
exports->Set(String::NewSymbol("scrypt"), FunctionTemplate::New(scrypt)->GetFunction());
^
../multihashing.cc:254:75: error: no matching function for call to ‘v8::FunctionTemplate::New(<unresolved overloaded function type>)’
exports->Set(String::NewSymbol("scrypt"), FunctionTemplate::New(scrypt)->GetFunction());
^
../multihashing.cc:254:75: note: candidate is:
In file included from /root/.node-gyp/0.12.2/src/node.h:61:0,
from ../multihashing.cc:1:
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:3455:34: note: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Handle<v8::Value>, v8::Handle<v8::Signature>, int)
static Local<FunctionTemplate> New(
^
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:3455:34: note: no known conversion for argument 1 from ‘<unresolved overloaded function type>’ to ‘v8::Isolate*’
../multihashing.cc:255:18: error: ‘NewSymbol’ is not a member of ‘v8::String’
exports->Set(String::NewSymbol("scryptn"), FunctionTemplate::New(scryptn)->GetFunction());
^
../multihashing.cc:255:77: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle<v8::Value> (&)(const int&))’
exports->Set(String::NewSymbol("scryptn"), FunctionTemplate::New(scryptn)->GetFunction());
^
../multihashing.cc:255:77: note: candidate is:
In file included from /root/.node-gyp/0.12.2/src/node.h:61:0,
from ../multihashing.cc:1:
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:3455:34: note: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Handle<v8::Value>, v8::Handle<v8::Signature>, int)
static Local<FunctionTemplate> New(
^
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:3455:34: note: no known conversion for argument 1 from ‘v8::Handle<v8::Value>(const int&)’ to ‘v8::Isolate*’
../multihashing.cc:256:18: error: ‘NewSymbol’ is not a member of ‘v8::String’
exports->Set(String::NewSymbol("scryptjane"), FunctionTemplate::New(scryptjane)->GetFunction());
^
../multihashing.cc:256:83: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle<v8::Value> (&)(const int&))’
exports->Set(String::NewSymbol("scryptjane"), FunctionTemplate::New(scryptjane)->GetFunction());
^
../multihashing.cc:256:83: note: candidate is:
In file included from /root/.node-gyp/0.12.2/src/node.h:61:0,
from ../multihashing.cc:1:
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:3455:34: note: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Handle<v8::Value>, v8::Handle<v8::Signature>, int)
static Local<FunctionTemplate> New(
^
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:3455:34: note: no known conversion for argument 1 from ‘v8::Handle<v8::Value>(const int&)’ to ‘v8::Isolate*’
../multihashing.cc:257:18: error: ‘NewSymbol’ is not a member of ‘v8::String’
exports->Set(String::NewSymbol("keccak"), FunctionTemplate::New(keccak)->GetFunction());
^
../multihashing.cc:257:75: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle<v8::Value> (&)(const int&))’
exports->Set(String::NewSymbol("keccak"), FunctionTemplate::New(keccak)->GetFunction());
^
../multihashing.cc:257:75: note: candidate is:
In file included from /root/.node-gyp/0.12.2/src/node.h:61:0,
from ../multihashing.cc:1:
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:3455:34: note: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Handle<v8::Value>, v8::Handle<v8::Signature>, int)
static Local<FunctionTemplate> New(
^
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:3455:34: note: no known conversion for argument 1 from ‘v8::Handle<v8::Value>(const int&)’ to ‘v8::Isolate*’
../multihashing.cc:258:18: error: ‘NewSymbol’ is not a member of ‘v8::String’
exports->Set(String::NewSymbol("bcrypt"), FunctionTemplate::New(keccak)->GetFunction());
^
../multihashing.cc:258:75: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle<v8::Value> (&)(const int&))’
exports->Set(String::NewSymbol("bcrypt"), FunctionTemplate::New(keccak)->GetFunction());
^
../multihashing.cc:258:75: note: candidate is:
In file included from /root/.node-gyp/0.12.2/src/node.h:61:0,
from ../multihashing.cc:1:
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:3455:34: note: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Handle<v8::Value>, v8::Handle<v8::Signature>, int)
static Local<FunctionTemplate> New(
^
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:3455:34: note: no known conversion for argument 1 from ‘v8::Handle<v8::Value>(const int&)’ to ‘v8::Isolate*’
../multihashing.cc: In function ‘v8::Handle<v8::Value> except(const char*)’:
../multihashing.cc:94:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
../multihashing.cc: In function ‘v8::Handle<v8::Value> quark(const int&)’:
../multihashing.cc:114:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
../multihashing.cc: In function ‘v8::Handle<v8::Value> x11(const int&)’:
../multihashing.cc:134:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
../multihashing.cc: In function ‘v8::Handle<v8::Value> scrypt(const int&)’:
../multihashing.cc:154:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
../multihashing.cc: In function ‘v8::Handle<v8::Value> scryptn(const int&)’:
../multihashing.cc:181:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
../multihashing.cc: In function ‘v8::Handle<v8::Value> scryptjane(const int&)’:
../multihashing.cc:208:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
../multihashing.cc: In function ‘v8::Handle<v8::Value> keccak(const int&)’:
../multihashing.cc:228:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
../multihashing.cc: In function ‘v8::Handle<v8::Value> bcrypt(const int&)’:
../multihashing.cc:249:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
make: *** [Release/obj.target/multihashing/multihashing.o] Error 1
make: Leaving directory `/root/node_modules/multi-hashing/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:269:23)
gyp ERR! stack at ChildProcess.emit (events.js:110:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:1074:12)
gyp ERR! System Linux 3.10.0-229.el7.x86_64
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /root/node_modules/multi-hashing
gyp ERR! node -v v0.12.2
gyp ERR! node-gyp -v v1.0.3
gyp ERR! not ok
npm ERR! Linux 3.10.0-229.el7.x86_64
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "multi-hashing"
npm ERR! node v0.12.2
npm ERR! npm v2.7.4
npm ERR! code ELIFECYCLE
npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the multi-hashing package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get their info via:
npm ERR! npm owner ls multi-hashing
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /root/npm-debug.log