reneweb / oauth2orize_client_credentials_example Goto Github PK
View Code? Open in Web Editor NEWThis is an example of the oAuth client credentials flow using oauth2orize, express 4 and mongoDB.
License: MIT License
This is an example of the oAuth client credentials flow using oauth2orize, express 4 and mongoDB.
License: MIT License
Crash on Node 16.5.0 when running 'rpm I'
0 verbose cli [
0 verbose cli '/opt/homebrew/Cellar/node/16.5.0/bin/node',
0 verbose cli '/opt/homebrew/bin/npm',
0 verbose cli 'i'
0 verbose cli ]
1 info using [email protected]
2 info using [email protected]
3 timing npm:load:whichnode Completed in 0ms
4 timing config:load:defaults Completed in 1ms
5 timing config:load:file:/opt/homebrew/lib/node_modules/npm/npmrc Completed in 1ms
6 timing config:load:builtin Completed in 1ms
7 timing config:load:cli Completed in 1ms
8 timing config:load:env Completed in 0ms
9 timing config:load:file:/Users/jackholloway/Dev/oauth2orize_client_credentials_example/.npmrc Completed in 0ms
10 timing config:load:project Completed in 0ms
11 timing config:load:file:/Users/jackholloway/.npmrc Completed in 0ms
12 timing config:load:user Completed in 0ms
13 timing config:load:file:/opt/homebrew/etc/npmrc Completed in 0ms
14 timing config:load:global Completed in 0ms
15 timing config:load:validate Completed in 0ms
16 timing config:load:credentials Completed in 1ms
17 timing config:load:setEnvs Completed in 0ms
18 timing config:load Completed in 4ms
19 timing npm:load:configload Completed in 4ms
20 timing npm:load:setTitle Completed in 3ms
21 timing npm:load:setupLog Completed in 0ms
22 timing config:load:flatten Completed in 1ms
23 timing npm:load:cleanupLog Completed in 1ms
24 timing npm:load:configScope Completed in 0ms
25 timing npm:load:projectScope Completed in 0ms
26 timing npm:load Completed in 9ms
27 timing arborist:ctor Completed in 1ms
28 timing arborist:ctor Completed in 0ms
29 timing idealTree:init Completed in 8ms
30 timing idealTree:userRequests Completed in 0ms
31 silly idealTree buildDeps
32 silly fetch manifest [email protected]
33 http fetch GET 200 https://registry.npmjs.org/express 203ms (cache revalidated)
34 silly fetch manifest [email protected]
35 http fetch GET 200 https://registry.npmjs.org/express-validator 75ms (cache revalidated)
36 silly fetch manifest [email protected]
37 http fetch GET 200 https://registry.npmjs.org/body-parser 77ms (cache revalidated)
38 silly fetch manifest [email protected]
39 http fetch GET 200 https://registry.npmjs.org/mongojs 56ms (cache revalidated)
40 silly fetch manifest [email protected]
41 http fetch GET 200 https://registry.npmjs.org/oauth2orize 68ms (cache revalidated)
42 silly fetch manifest [email protected]
43 http fetch GET 200 https://registry.npmjs.org/passport 55ms (cache revalidated)
44 silly fetch manifest [email protected]
45 http fetch GET 200 https://registry.npmjs.org/passport-http-bearer 87ms (cache revalidated)
46 silly fetch manifest [email protected]
47 http fetch GET 200 https://registry.npmjs.org/passport-http 739ms (cache revalidated)
48 silly fetch manifest [email protected]
49 http fetch GET 200 https://registry.npmjs.org/passport-oauth2-client-password 70ms (cache revalidated)
50 silly fetch manifest [email protected]
51 http fetch GET 200 https://registry.npmjs.org/bcrypt 63ms (cache revalidated)
52 silly placeDep ROOT [email protected] OK for: [email protected] want: 0.7.x
53 silly placeDep ROOT [email protected] OK for: [email protected] want: 1.x.x
54 silly placeDep ROOT [email protected] OK for: [email protected] want: 4.x.x
55 silly placeDep ROOT [email protected] OK for: [email protected] want: 2.x.x
56 silly placeDep ROOT [email protected] OK for: [email protected] want: 0.x.x
57 silly placeDep ROOT [email protected] OK for: [email protected] want: 1.x.x
58 silly placeDep ROOT [email protected] OK for: [email protected] want: 0.2.x
59 silly placeDep ROOT [email protected] OK for: [email protected] want: 0.2.x
60 silly placeDep ROOT [email protected] OK for: [email protected] want: 1.x.x
61 silly placeDep ROOT [email protected] OK for: [email protected] want: 0.1.x
62 silly fetch manifest [email protected]
63 silly fetch manifest [email protected]
64 silly fetch manifest content-type@~1.0.4
65 silly fetch manifest [email protected]
66 silly fetch manifest depd@~1.1.2
67 silly fetch manifest [email protected]
68 silly fetch manifest [email protected]
69 silly fetch manifest on-finished@~2.3.0
70 silly fetch manifest [email protected]
71 silly fetch manifest [email protected]
72 silly fetch manifest type-is@~1.6.17
73 silly fetch manifest accepts@~1.3.7
74 silly fetch manifest [email protected]
75 silly fetch manifest [email protected]
76 silly fetch manifest [email protected]
77 silly fetch manifest [email protected]
78 silly fetch manifest encodeurl@~1.0.2
79 silly fetch manifest escape-html@~1.0.3
80 silly fetch manifest etag@~1.8.1
81 silly fetch manifest finalhandler@~1.1.2
82 silly fetch manifest [email protected]
83 silly fetch manifest [email protected]
84 silly fetch manifest methods@~1.1.2
85 silly fetch manifest parseurl@~1.3.3
86 silly fetch manifest [email protected]
87 silly fetch manifest proxy-addr@~2.0.5
88 silly fetch manifest range-parser@~1.2.1
89 silly fetch manifest [email protected]
90 silly fetch manifest [email protected]
91 silly fetch manifest [email protected]
92 silly fetch manifest [email protected]
93 silly fetch manifest statuses@~1.5.0
94 silly fetch manifest type-is@~1.6.18
95 silly fetch manifest [email protected]
96 silly fetch manifest vary@~1.1.2
97 silly fetch manifest [email protected]
98 silly fetch manifest [email protected]
99 silly fetch manifest [email protected]
100 silly fetch manifest thunky@~0.1.0
101 silly fetch manifest readable-stream@~1.1.9
102 silly fetch manifest [email protected]
103 silly fetch manifest [email protected]
104 silly fetch manifest [email protected]
105 silly fetch manifest [email protected]
106 silly fetch manifest [email protected]
107 silly fetch manifest [email protected]
108 silly fetch manifest [email protected]
109 silly fetch manifest passport@~0.1.3
110 http fetch GET 200 https://registry.npmjs.org/debug 112ms (cache revalidated)
111 http fetch GET 200 https://registry.npmjs.org/safe-buffer 149ms (cache revalidated)
112 http fetch GET 200 https://registry.npmjs.org/qs 242ms (cache revalidated)
113 http fetch GET 200 https://registry.npmjs.org/bytes 254ms (cache revalidated)
114 http fetch GET 200 https://registry.npmjs.org/methods 244ms (cache revalidated)
115 http fetch GET 200 https://registry.npmjs.org/content-type 267ms (cache revalidated)
116 http fetch GET 200 https://registry.npmjs.org/depd 274ms (cache revalidated)
117 http fetch GET 200 https://registry.npmjs.org/accepts 281ms (cache revalidated)
118 http fetch GET 200 https://registry.npmjs.org/encodeurl 288ms (cache revalidated)
119 http fetch GET 200 https://registry.npmjs.org/escape-html 290ms (cache revalidated)
120 http fetch GET 200 https://registry.npmjs.org/bindings 304ms (cache revalidated)
121 http fetch GET 200 https://registry.npmjs.org/fresh 301ms (cache revalidated)
122 http fetch GET 200 https://registry.npmjs.org/cookie 315ms (cache revalidated)
123 http fetch GET 200 https://registry.npmjs.org/iconv-lite 318ms (cache revalidated)
124 http fetch GET 200 https://registry.npmjs.org/raw-body 324ms (cache revalidated)
125 http fetch GET 200 https://registry.npmjs.org/on-finished 335ms (cache revalidated)
126 http fetch GET 200 https://registry.npmjs.org/etag 331ms (cache revalidated)
127 http fetch GET 200 https://registry.npmjs.org/content-disposition 348ms (cache revalidated)
128 http fetch GET 200 https://registry.npmjs.org/type-is 368ms (cache revalidated)
129 http fetch GET 200 https://registry.npmjs.org/http-errors 370ms (cache revalidated)
130 http fetch GET 200 https://registry.npmjs.org/path-to-regexp 384ms (cache revalidated)
131 http fetch GET 200 https://registry.npmjs.org/proxy-addr 393ms (cache revalidated)
132 http fetch GET 200 https://registry.npmjs.org/bluebird 389ms (cache revalidated)
133 http fetch GET 200 https://registry.npmjs.org/range-parser 401ms (cache revalidated)
134 http fetch GET 200 https://registry.npmjs.org/array-flatten 425ms (cache revalidated)
135 http fetch GET 200 https://registry.npmjs.org/pause 407ms (cache revalidated)
136 http fetch GET 200 https://registry.npmjs.org/serve-static 416ms (cache revalidated)
137 http fetch GET 200 https://registry.npmjs.org/utils-merge 416ms (cache revalidated)
138 http fetch GET 200 https://registry.npmjs.org/send 419ms (cache revalidated)
139 http fetch GET 200 https://registry.npmjs.org/validator 416ms (cache revalidated)
140 http fetch GET 200 https://registry.npmjs.org/setprototypeof 422ms (cache revalidated)
141 http fetch GET 200 https://registry.npmjs.org/mongodb 419ms (cache revalidated)
142 http fetch GET 200 https://registry.npmjs.org/statuses 427ms (cache revalidated)
143 http fetch GET 200 https://registry.npmjs.org/cookie-signature 436ms (cache revalidated)
144 http fetch GET 200 https://registry.npmjs.org/parseurl 432ms (cache revalidated)
145 http fetch GET 200 https://registry.npmjs.org/pkginfo 425ms (cache revalidated)
146 http fetch GET 200 https://registry.npmjs.org/merge-descriptors 443ms (cache revalidated)
147 http fetch GET 200 https://registry.npmjs.org/thunky 436ms (cache revalidated)
148 http fetch GET 200 https://registry.npmjs.org/finalhandler 465ms (cache revalidated)
149 http fetch GET 200 https://registry.npmjs.org/lodash 458ms (cache revalidated)
150 http fetch GET 200 https://registry.npmjs.org/uid2 462ms (cache revalidated)
151 http fetch GET 200 https://registry.npmjs.org/readable-stream 464ms (cache revalidated)
152 http fetch GET 200 https://registry.npmjs.org/vary 474ms (cache revalidated)
153 http fetch GET 200 https://registry.npmjs.org/passport-strategy 479ms (cache revalidated)
154 timing idealTree:#root Completed in 2052ms
155 silly placeDep ROOT [email protected] OK for: [email protected] want: 1.0.0
156 timing idealTree:node_modules/bcrypt Completed in 1ms
157 timing idealTree:node_modules/bindings Completed in 0ms
158 silly placeDep ROOT [email protected] OK for: [email protected] want: 3.1.0
159 silly placeDep ROOT [email protected] OK for: [email protected] want: ~1.0.4
160 silly placeDep ROOT [email protected] OK for: [email protected] want: 2.6.9
161 silly placeDep ROOT [email protected] OK for: [email protected] want: ~1.1.2
162 silly placeDep ROOT [email protected] OK for: [email protected] want: 1.7.2
163 silly placeDep ROOT [email protected] OK for: [email protected] want: 0.4.24
164 silly placeDep ROOT [email protected] OK for: [email protected] want: ~2.3.0
165 silly placeDep ROOT [email protected] OK for: [email protected] want: 6.7.0
166 silly placeDep ROOT [email protected] OK for: [email protected] want: 2.4.0
167 silly placeDep ROOT [email protected] OK for: [email protected] want: ~1.6.17
168 silly fetch manifest [email protected]
169 silly fetch manifest [email protected]
170 silly fetch manifest statuses@>= 1.5.0 < 2
171 silly fetch manifest [email protected]
172 silly fetch manifest safer-buffer@>= 2.1.2 < 3
173 silly fetch manifest [email protected]
174 silly fetch manifest [email protected]
175 silly fetch manifest [email protected]
176 silly fetch manifest mime-types@~2.1.24
177 http fetch GET 200 https://registry.npmjs.org/ms 71ms (cache revalidated)
178 http fetch GET 200 https://registry.npmjs.org/mime-types 70ms (cache revalidated)
179 http fetch GET 200 https://registry.npmjs.org/toidentifier 81ms (cache revalidated)
180 http fetch GET 200 https://registry.npmjs.org/unpipe 80ms (cache revalidated)
181 http fetch GET 200 https://registry.npmjs.org/inherits 81ms (cache revalidated)
182 http fetch GET 200 https://registry.npmjs.org/media-typer 81ms (cache revalidated)
183 http fetch GET 200 https://registry.npmjs.org/safer-buffer 83ms (cache revalidated)
184 http fetch GET 200 https://registry.npmjs.org/ee-first 82ms (cache revalidated)
185 timing idealTree:node_modules/body-parser Completed in 89ms
186 timing idealTree:node_modules/bytes Completed in 0ms
187 timing idealTree:node_modules/content-type Completed in 0ms
188 silly placeDep ROOT [email protected] OK for: [email protected] want: 2.0.0
189 timing idealTree:node_modules/debug Completed in 0ms
190 timing idealTree:node_modules/depd Completed in 0ms
191 silly placeDep ROOT [email protected] OK for: [email protected] want: ~1.3.7
192 silly placeDep ROOT [email protected] OK for: [email protected] want: 1.1.1
193 silly placeDep ROOT [email protected] OK for: [email protected] want: 0.5.3
194 silly placeDep ROOT [email protected] OK for: [email protected] want: 0.4.0
195 silly placeDep ROOT [email protected] OK for: [email protected] want: 1.0.6
196 silly placeDep ROOT [email protected] OK for: [email protected] want: ~1.0.2
197 silly placeDep ROOT [email protected] OK for: [email protected] want: ~1.0.3
198 silly placeDep ROOT [email protected] OK for: [email protected] want: ~1.8.1
199 silly placeDep ROOT [email protected] OK for: [email protected] want: ~1.1.2
200 silly placeDep ROOT [email protected] OK for: [email protected] want: 0.5.2
201 silly placeDep ROOT [email protected] OK for: [email protected] want: 1.0.1
202 silly placeDep ROOT [email protected] OK for: [email protected] want: ~1.1.2
203 silly placeDep ROOT [email protected] OK for: [email protected] want: ~1.3.3
204 silly placeDep ROOT [email protected] OK for: [email protected] want: 0.1.7
205 silly placeDep ROOT [email protected] OK for: [email protected] want: ~2.0.5
206 silly placeDep ROOT [email protected] OK for: [email protected] want: ~1.2.1
207 silly placeDep ROOT [email protected] OK for: [email protected] want: 5.1.2
208 silly placeDep ROOT [email protected] OK for: [email protected] want: 0.17.1
209 silly placeDep ROOT [email protected] OK for: [email protected] want: 1.14.1
210 silly placeDep ROOT [email protected] OK for: [email protected] want: 1.1.1
211 silly placeDep ROOT [email protected] OK for: [email protected] want: ~1.5.0
212 silly placeDep ROOT [email protected] OK for: [email protected] want: 1.0.1
213 silly placeDep ROOT [email protected] OK for: [email protected] want: ~1.1.2
214 silly fetch manifest [email protected]
215 silly fetch manifest unpipe@~1.0.0
216 silly fetch manifest [email protected]
217 silly fetch manifest [email protected]
218 silly fetch manifest destroy@~1.0.4
219 silly fetch manifest [email protected]
220 silly fetch manifest [email protected]
221 http fetch GET 200 https://registry.npmjs.org/negotiator 53ms (cache revalidated)
222 http fetch GET 200 https://registry.npmjs.org/destroy 62ms (cache revalidated)
223 http fetch GET 200 https://registry.npmjs.org/mime 61ms (cache revalidated)
224 http fetch GET 200 https://registry.npmjs.org/ipaddr.js 68ms (cache revalidated)
225 http fetch GET 200 https://registry.npmjs.org/forwarded 77ms (cache revalidated)
226 timing idealTree:node_modules/express Completed in 87ms
227 silly placeDep ROOT [email protected] OK for: [email protected] want: ~2.1.24
228 silly placeDep ROOT [email protected] OK for: [email protected] want: 0.6.2
229 silly fetch manifest [email protected]
230 http fetch GET 200 https://registry.npmjs.org/mime-db 69ms (cache revalidated)
231 timing idealTree:node_modules/accepts Completed in 71ms
232 timing idealTree:node_modules/array-flatten Completed in 0ms
233 timing idealTree:node_modules/content-disposition Completed in 0ms
234 timing idealTree:node_modules/cookie Completed in 0ms
235 timing idealTree:node_modules/cookie-signature Completed in 0ms
236 timing idealTree:node_modules/encodeurl Completed in 0ms
237 timing idealTree:node_modules/escape-html Completed in 0ms
238 timing idealTree:node_modules/etag Completed in 0ms
239 silly placeDep ROOT [email protected] OK for: [email protected] want: 3.4.x
240 silly placeDep ROOT [email protected] OK for: [email protected] want: 4.16.x
241 silly placeDep ROOT [email protected] OK for: [email protected] want: 5.7.x
242 timing idealTree:node_modules/express-validator Completed in 1ms
243 timing idealTree:node_modules/bluebird Completed in 0ms
244 silly placeDep ROOT [email protected] OK for: [email protected] want: ~1.0.0
245 timing idealTree:node_modules/finalhandler Completed in 0ms
246 timing idealTree:node_modules/fresh Completed in 0ms
247 silly placeDep ROOT [email protected] OK for: [email protected] want: 2.0.3
248 silly placeDep ROOT [email protected] OK for: [email protected] want: 1.0.0
249 timing idealTree:node_modules/http-errors Completed in 3ms
250 silly placeDep ROOT [email protected] OK for: [email protected] want: >= 2.1.2 < 3
251 timing idealTree:node_modules/iconv-lite Completed in 1ms
252 timing idealTree:node_modules/inherits Completed in 0ms
253 timing idealTree:node_modules/lodash Completed in 0ms
254 timing idealTree:node_modules/merge-descriptors Completed in 0ms
255 timing idealTree:node_modules/methods Completed in 0ms
256 silly placeDep ROOT [email protected] OK for: [email protected] want: 1.49.0
257 timing idealTree:node_modules/mime-types Completed in 1ms
258 timing idealTree:node_modules/mime-db Completed in 0ms
259 silly placeDep ROOT [email protected] OK for: [email protected] want: 1.4.32
260 silly placeDep ROOT [email protected] OK for: [email protected] want: ~1.1.9
261 silly placeDep ROOT [email protected] OK for: [email protected] want: ~0.1.0
262 silly fetch manifest bson@~0.2
263 silly fetch manifest [email protected]
264 silly fetch manifest core-util-is@~1.0.0
265 silly fetch manifest [email protected]
266 silly fetch manifest string_decoder@~0.10.x
267 http fetch GET 200 https://registry.npmjs.org/core-util-is 63ms (cache revalidated)
268 http fetch GET 200 https://registry.npmjs.org/isarray 71ms (cache revalidated)
269 http fetch GET 200 https://registry.npmjs.org/bson 73ms (cache revalidated)
270 http fetch GET 200 https://registry.npmjs.org/string_decoder 78ms (cache revalidated)
271 http fetch GET 200 https://registry.npmjs.org/kerberos 88ms (cache revalidated)
272 timing idealTree:node_modules/mongojs Completed in 92ms
273 silly placeDep ROOT [email protected] OK for: [email protected] want: ~0.2
274 silly placeDep ROOT [email protected] OK for: [email protected] want: 0.0.9
275 silly fetch manifest nan@~1.8
276 silly fetch manifest [email protected]
277 http fetch GET 200 https://registry.npmjs.org/nan 62ms (cache revalidated)
278 timing idealTree:node_modules/mongodb Completed in 67ms
279 silly placeDep ROOT [email protected] OK for: [email protected] want: ~1.8
280 timing idealTree:node_modules/bson Completed in 1ms
281 silly placeDep node_modules/kerberos [email protected] OK for: [email protected] want: 1.6.2
282 timing idealTree:node_modules/kerberos Completed in 1ms
283 timing idealTree:node_modules/ms Completed in 0ms
284 timing idealTree:node_modules/nan Completed in 0ms
285 timing idealTree:node_modules/negotiator Completed in 0ms
286 silly placeDep ROOT [email protected] OK for: [email protected] want: 0.0.x
287 timing idealTree:node_modules/oauth2orize Completed in 1ms
288 silly placeDep ROOT [email protected] OK for: [email protected] want: 1.1.1
289 timing idealTree:node_modules/on-finished Completed in 1ms
290 timing idealTree:node_modules/ee-first Completed in 0ms
291 timing idealTree:node_modules/parseurl Completed in 0ms
292 silly placeDep ROOT [email protected] OK for: [email protected] want: 1.x.x
293 silly placeDep ROOT [email protected] OK for: [email protected] want: 0.0.1
294 timing idealTree:node_modules/passport Completed in 1ms
295 silly placeDep node_modules/passport-http [email protected] OK for: [email protected] want: ~0.1.3
296 silly placeDep ROOT [email protected] OK for: [email protected] want: 0.2.x
297 timing idealTree:node_modules/passport-http Completed in 1ms
298 timing idealTree:node_modules/passport-http-bearer Completed in 0ms
299 timing idealTree:node_modules/passport-oauth2-client-password Completed in 0ms
300 timing idealTree:node_modules/passport-strategy Completed in 0ms
301 timing idealTree:node_modules/path-to-regexp Completed in 0ms
302 timing idealTree:node_modules/pause Completed in 0ms
303 timing idealTree:node_modules/pkginfo Completed in 0ms
304 silly placeDep ROOT [email protected] OK for: [email protected] want: 0.2.0
305 silly placeDep ROOT [email protected] OK for: [email protected] want: 1.9.1
306 timing idealTree:node_modules/proxy-addr Completed in 1ms
307 timing idealTree:node_modules/forwarded Completed in 0ms
308 timing idealTree:node_modules/ipaddr.js Completed in 0ms
309 timing idealTree:node_modules/qs Completed in 0ms
310 timing idealTree:node_modules/range-parser Completed in 0ms
311 timing idealTree:node_modules/raw-body Completed in 0ms
312 silly placeDep ROOT [email protected] OK for: [email protected] want: ~1.0.0
313 silly placeDep ROOT [email protected] OK for: [email protected] want: 0.0.1
314 silly placeDep ROOT [email protected] OK for: [email protected] want: ~0.10.x
315 timing idealTree:node_modules/readable-stream Completed in 1ms
316 timing idealTree:node_modules/core-util-is Completed in 0ms
317 timing idealTree:node_modules/isarray Completed in 0ms
318 timing idealTree:node_modules/safe-buffer Completed in 0ms
319 timing idealTree:node_modules/safer-buffer Completed in 0ms
320 silly placeDep ROOT [email protected] OK for: [email protected] want:1.0.4
321 silly placeDep ROOT [email protected] OK for: [email protected] want: 1.6.0
322 silly placeDep node_modules/send [email protected] OK for: [email protected] want: 2.1.1
323 timing idealTree:node_modules/send Completed in 1ms
324 timing idealTree:node_modules/destroy Completed in 0ms
325 timing idealTree:node_modules/mime Completed in 0ms
326 timing idealTree:node_modules/serve-static Completed in 0ms
327 timing idealTree:node_modules/setprototypeof Completed in 0ms
328 timing idealTree:node_modules/statuses Completed in 0ms
329 timing idealTree:node_modules/string_decoder Completed in 0ms
330 timing idealTree:node_modules/thunky Completed in 0ms
331 timing idealTree:node_modules/toidentifier Completed in 0ms
332 silly placeDep ROOT [email protected] OK for: [email protected] want: 0.3.0
333 timing idealTree:node_modules/type-is Completed in 0ms
334 timing idealTree:node_modules/media-typer Completed in 0ms
335 timing idealTree:node_modules/uid2 Completed in 0ms
336 timing idealTree:node_modules/unpipe Completed in 0ms
337 timing idealTree:node_modules/utils-merge Completed in 1ms
338 timing idealTree:node_modules/validator Completed in 0ms
339 timing idealTree:node_modules/vary Completed in 0ms
340 timing idealTree:node_modules/kerberos/node_modules/nan Completed in 0ms
341 timing idealTree:node_modules/passport-http/node_modules/passport Completed in 0ms
342 timing idealTree:node_modules/send/node_modules/ms Completed in 0ms
343 timing idealTree:buildDeps Completed in 2481ms
344 timing idealTree:fixDepFlags Completed in 1ms
345 timing idealTree Completed in 2492ms
346 timing reify:loadTrees Completed in 2492ms
347 timing reify:diffTrees Completed in 2ms
348 silly reify moves {}
349 timing reify:retireShallow Completed in 0ms
350 timing reify:createSparse Completed in 8ms
351 timing reify:loadBundles Completed in 0ms
352 silly audit bulk request {
352 silly audit bcrypt: [ '0.7.8' ],
352 silly audit 'body-parser': [ '1.19.0' ],
352 silly audit express: [ '4.17.1' ],
352 silly audit 'express-validator': [ '2.21.0' ],
352 silly audit mongojs: [ '0.18.2' ],
352 silly audit oauth2orize: [ '1.11.0' ],
352 silly audit passport: [ '0.2.2', '0.1.18' ],
352 silly audit 'passport-http': [ '0.2.2' ],
352 silly audit 'passport-http-bearer': [ '1.0.1' ],
352 silly audit 'passport-oauth2-client-password': [ '0.1.2' ],
352 silly audit bindings: [ '1.0.0' ],
352 silly audit bytes: [ '3.1.0' ],
352 silly audit 'content-type': [ '1.0.4' ],
352 silly audit debug: [ '2.6.9' ],
352 silly audit depd: [ '1.1.2' ],
352 silly audit 'http-errors': [ '1.7.2' ],
352 silly audit 'iconv-lite': [ '0.4.24' ],
352 silly audit 'on-finished': [ '2.3.0' ],
352 silly audit qs: [ '6.7.0' ],
352 silly audit 'raw-body': [ '2.4.0' ],
352 silly audit 'type-is': [ '1.6.18' ],
352 silly audit ms: [ '2.0.0', '2.1.1' ],
352 silly audit accepts: [ '1.3.7' ],
352 silly audit 'array-flatten': [ '1.1.1' ],
352 silly audit 'content-disposition': [ '0.5.3' ],
352 silly audit cookie: [ '0.4.0' ],
352 silly audit 'cookie-signature': [ '1.0.6' ],
352 silly audit encodeurl: [ '1.0.2' ],
352 silly audit 'escape-html': [ '1.0.3' ],
352 silly audit etag: [ '1.8.1' ],
352 silly audit finalhandler: [ '1.1.2' ],
352 silly audit fresh: [ '0.5.2' ],
352 silly audit 'merge-descriptors': [ '1.0.1' ],
352 silly audit methods: [ '1.1.2' ],
352 silly audit parseurl: [ '1.3.3' ],
352 silly audit 'path-to-regexp': [ '0.1.7' ],
352 silly audit 'proxy-addr': [ '2.0.7' ],
352 silly audit 'range-parser': [ '1.2.1' ],
352 silly audit 'safe-buffer': [ '5.1.2' ],
352 silly audit send: [ '0.17.1' ],
352 silly audit 'serve-static': [ '1.14.1' ],
352 silly audit setprototypeof: [ '1.1.1' ],
352 silly audit statuses: [ '1.5.0' ],
352 silly audit 'utils-merge': [ '1.0.1' ],
352 silly audit vary: [ '1.1.2' ],
352 silly audit 'mime-types': [ '2.1.32' ],
352 silly audit negotiator: [ '0.6.2' ],
352 silly audit bluebird: [ '3.4.7' ],
352 silly audit lodash: [ '4.16.6' ],
352 silly audit validator: [ '5.7.0' ],
352 silly audit unpipe: [ '1.0.0' ],
352 silly audit inherits: [ '2.0.3' ],
352 silly audit toidentifier: [ '1.0.0' ],
352 silly audit 'safer-buffer': [ '2.1.2' ],
352 silly audit 'mime-db': [ '1.49.0' ],
352 silly audit mongodb: [ '1.4.32' ],
352 silly audit 'readable-stream': [ '1.1.14' ],
352 silly audit thunky: [ '0.1.0' ],
352 silly audit bson: [ '0.2.22' ],
352 silly audit kerberos: [ '0.0.9' ],
352 silly audit nan: [ '1.8.4', '1.6.2' ],
352 silly audit uid2: [ '0.0.3' ],
352 silly audit 'ee-first': [ '1.1.1' ],
352 silly audit 'passport-strategy': [ '1.0.0' ],
352 silly audit pause: [ '0.0.1' ],
352 silly audit pkginfo: [ '0.2.3' ],
352 silly audit forwarded: [ '0.2.0' ],
352 silly audit 'ipaddr.js': [ '1.9.1' ],
352 silly audit 'core-util-is': [ '1.0.2' ],
352 silly audit isarray: [ '0.0.1' ],
352 silly audit string_decoder: [ '0.10.31' ],
352 silly audit destroy: [ '1.0.4' ],
352 silly audit mime: [ '1.6.0' ],
352 silly audit 'media-typer': [ '0.3.0' ]
352 silly audit }
353 timing reifyNode:node_modules/uid2 Completed in 100ms
354 timing reifyNode:node_modules/thunky Completed in 99ms
355 timing reifyNode:node_modules/bindings Completed in 99ms
356 timing reifyNode:node_modules/destroy Completed in 101ms
357 timing reifyNode:node_modules/ee-first Completed in 101ms
358 timing reifyNode:node_modules/toidentifier Completed in 100ms
359 timing reifyNode:node_modules/send/node_modules/ms Completed in 101ms
360 timing reifyNode:node_modules/escape-html Completed in 100ms
361 timing reifyNode:node_modules/array-flatten Completed in 100ms
362 timing reifyNode:node_modules/ms Completed in 100ms
363 timing reifyNode:node_modules/string_decoder Completed in 103ms
364 timing reifyNode:node_modules/media-typer Completed in 103ms
365 timing reifyNode:node_modules/forwarded Completed in 103ms
366 timing reifyNode:node_modules/unpipe Completed in 102ms
367 timing reifyNode:node_modules/vary Completed in 103ms
368 timing reifyNode:node_modules/utils-merge Completed in 103ms
369 timing reifyNode:node_modules/inherits Completed in 103ms
370 timing reifyNode:node_modules/path-to-regexp Completed in 103ms
371 timing reifyNode:node_modules/range-parser Completed in 103ms
372 timing reifyNode:node_modules/parseurl Completed in 102ms
373 timing reifyNode:node_modules/etag Completed in 102ms
374 timing reifyNode:node_modules/fresh Completed in 102ms
375 timing reifyNode:node_modules/finalhandler Completed in 102ms
376 timing reifyNode:node_modules/merge-descriptors Completed in 102ms
377 timing reifyNode:node_modules/encodeurl Completed in 102ms
378 timing reifyNode:node_modules/methods Completed in 102ms
379 timing reifyNode:node_modules/cookie-signature Completed in 102ms
380 timing reifyNode:node_modules/accepts Completed in 102ms
381 timing reifyNode:node_modules/on-finished Completed in 102ms
382 timing reifyNode:node_modules/type-is Completed in 102ms
383 timing reifyNode:node_modules/content-type Completed in 102ms
384 timing reifyNode:node_modules/bytes Completed in 102ms
385 timing reifyNode:node_modules/isarray Completed in 105ms
386 timing reifyNode:node_modules/pause Completed in 105ms
387 timing reifyNode:node_modules/cookie Completed in 103ms
388 timing reifyNode:node_modules/http-errors Completed in 103ms
389 timing reifyNode:node_modules/proxy-addr Completed in 104ms
390 timing reifyNode:node_modules/serve-static Completed in 105ms
391 timing reifyNode:node_modules/setprototypeof Completed in 105ms
392 timing reifyNode:node_modules/content-disposition Completed in 104ms
393 timing reifyNode:node_modules/mime-types Completed in 105ms
394 timing reifyNode:node_modules/passport-oauth2-client-password Completed in 104ms
395 timing reifyNode:node_modules/safe-buffer Completed in 106ms
396 timing reifyNode:node_modules/passport-strategy Completed in 107ms
397 timing reifyNode:node_modules/send Completed in 106ms
398 timing reifyNode:node_modules/raw-body Completed in 105ms
399 timing reifyNode:node_modules/passport-http-bearer Completed in 105ms
400 timing reifyNode:node_modules/core-util-is Completed in 108ms
401 timing reifyNode:node_modules/statuses Completed in 107ms
402 timing reifyNode:node_modules/safer-buffer Completed in 107ms
403 timing reifyNode:node_modules/ipaddr.js Completed in 109ms
404 timing reifyNode:node_modules/negotiator Completed in 108ms
405 timing reifyNode:node_modules/passport-http Completed in 109ms
406 timing reifyNode:node_modules/mime Completed in 112ms
407 timing reifyNode:node_modules/depd Completed in 112ms
408 timing reifyNode:node_modules/body-parser Completed in 111ms
409 timing reifyNode:node_modules/passport Completed in 112ms
410 timing reifyNode:node_modules/kerberos/node_modules/nan Completed in 114ms
411 timing reifyNode:node_modules/mime-db Completed in 113ms
412 timing reifyNode:node_modules/pkginfo Completed in 114ms
413 timing reifyNode:node_modules/readable-stream Completed in 114ms
414 timing reifyNode:node_modules/debug Completed in 113ms
415 timing reifyNode:node_modules/nan Completed in 116ms
416 timing reifyNode:node_modules/passport-http/node_modules/passport Completed in 116ms
417 warn deprecated [email protected]: versions < v5.0.0 do not handle NUL in passwords properly
418 timing reifyNode:node_modules/bcrypt Completed in 116ms
419 timing reifyNode:node_modules/qs Completed in 117ms
420 timing reifyNode:node_modules/express Completed in 117ms
421 timing reifyNode:node_modules/oauth2orize Completed in 122ms
422 timing reifyNode:node_modules/iconv-lite Completed in 122ms
423 timing reifyNode:node_modules/express-validator Completed in 123ms
424 timing reifyNode:node_modules/mongojs Completed in 123ms
425 timing reifyNode:node_modules/kerberos Completed in 128ms
426 timing reifyNode:node_modules/validator Completed in 128ms
427 timing reifyNode:node_modules/bluebird Completed in 130ms
428 warn deprecated [email protected]: Please upgrade to 2.2.19 or higher
429 timing reifyNode:node_modules/mongodb Completed in 136ms
430 warn deprecated [email protected]: Fixed a critical issue with BSON serialization documented in CVE-2019-2391, see https://bit.ly/2KcpXdo for more details
431 timing reifyNode:node_modules/bson Completed in 138ms
432 timing reifyNode:node_modules/lodash Completed in 177ms
433 timing reify:unpack Completed in 178ms
434 timing reify:unretire Completed in 0ms
435 timing build:queue Completed in 0ms
436 timing build:link:node_modules/mime Completed in 0ms
437 timing build:link Completed in 0ms
438 info run [email protected] install node_modules/bcrypt node-gyp rebuild
439 info run [email protected] install node_modules/bson (node-gyp rebuild 2> builderror.log) || (exit 0)
440 info run [email protected] install node_modules/kerberos (node-gyp rebuild 2> builderror.log) || (exit 0)
441 http fetch POST 200 https://registry.npmjs.org/-/npm/v1/security/advisories/bulk 237ms
442 timing auditReport:getReport Completed in 239ms
443 silly audit report {
443 silly audit report lodash: [
443 silly audit report {
443 silly audit report id: 782,
443 silly audit report url: 'https://npmjs.com/advisories/782',
443 silly audit report title: 'Prototype Pollution',
443 silly audit report severity: 'high',
443 silly audit report vulnerable_versions: '<4.17.11'
443 silly audit report },
443 silly audit report {
443 silly audit report id: 1065,
443 silly audit report url: 'https://npmjs.com/advisories/1065',
443 silly audit report title: 'Prototype Pollution',
443 silly audit report severity: 'high',
443 silly audit report vulnerable_versions: '<4.17.12'
443 silly audit report },
443 silly audit report {
443 silly audit report id: 577,
443 silly audit report url: 'https://npmjs.com/advisories/577',
443 silly audit report title: 'Prototype Pollution',
443 silly audit report severity: 'low',
443 silly audit report vulnerable_versions: '<4.17.5'
443 silly audit report },
443 silly audit report {
443 silly audit report id: 1523,
443 silly audit report url: 'https://npmjs.com/advisories/1523',
443 silly audit report title: 'Prototype Pollution',
443 silly audit report severity: 'low',
443 silly audit report vulnerable_versions: '<4.17.19'
443 silly audit report },
443 silly audit report {
443 silly audit report id: 1673,
443 silly audit report url: 'https://npmjs.com/advisories/1673',
443 silly audit report title: 'Command Injection',
443 silly audit report severity: 'high',
443 silly audit report vulnerable_versions: '<4.17.21'
443 silly audit report }
443 silly audit report ],
443 silly audit report mongodb: [
443 silly audit report {
443 silly audit report id: 1203,
443 silly audit report url: 'https://npmjs.com/advisories/1203',
443 silly audit report title: 'Denial of Service',
443 silly audit report severity: 'high',
443 silly audit report vulnerable_versions: '<3.1.13'
443 silly audit report }
443 silly audit report ],
443 silly audit report kerberos: [
443 silly audit report {
443 silly audit report id: 1514,
443 silly audit report url: 'https://npmjs.com/advisories/1514',
443 silly audit report title: 'DLL Injection',
443 silly audit report severity: 'high',
443 silly audit report vulnerable_versions: '<1.0.0'
443 silly audit report }
443 silly audit report ],
443 silly audit report bcrypt: [
443 silly audit report {
443 silly audit report id: 1553,
443 silly audit report url: 'https://npmjs.com/advisories/1553',
443 silly audit report title: 'Inadequate Encryption Strength',
443 silly audit report severity: 'moderate',
443 silly audit report vulnerable_versions: '<5.0.0'
443 silly audit report }
443 silly audit report ],
443 silly audit report bson: [
443 silly audit report {
443 silly audit report id: 1686,
443 silly audit report url: 'https://npmjs.com/advisories/1686',
443 silly audit report title: 'Deserialization of Untrusted Data in bson',
443 silly audit report severity: 'high',
443 silly audit report vulnerable_versions: '<1.1.4'
443 silly audit report }
443 silly audit report ]
443 silly audit report }
444 timing metavuln:packument:lodash Completed in 1ms
445 timing metavuln:packument:mongodb Completed in 1ms
446 timing metavuln:packument:kerberos Completed in 0ms
447 timing metavuln:packument:bcrypt Completed in 0ms
448 timing metavuln:packument:bson Completed in 0ms
449 timing metavuln:cache:get:security-advisory:kerberos:vGBg3Fo0g9ixkaMBM3U06v6+0cdehXzsb3NZRKkmv4IpkTpvM8a1selrwETqqGC8OnXqBefqInbwY7Y8nnCCYg== Completed in 2ms
450 timing metavuln:load:security-advisory:kerberos:1514 Completed in 0ms
451 timing metavuln:calculate:security-advisory:kerberos:1514 Completed in 2ms
452 timing metavuln:cache:get:security-advisory:mongodb:NdUOGe7T6jdyLmZfCEf027sYD1xeCVAVSiQN9ACvw56wwQNAAOAFnoyW+oSmzxQU2NLCsICLeFDem3AJzFb3pA== Completed in 3ms
453 timing metavuln:load:security-advisory:mongodb:1203 Completed in 2ms
454 timing metavuln:calculate:security-advisory:mongodb:1203 Completed in 6ms
455 timing metavuln:cache:get:security-advisory:lodash:QECQhqENwQoNVl6da4JbJcLbJD29giB5sLJN+gaFqW+TzG4UNvuVAr/wBc9mvIFVshry+iHa5VIaBdTVItbLtg== Completed in 6ms
456 timing metavuln:load:security-advisory:lodash:1673 Completed in 0ms
457 timing metavuln:calculate:security-advisory:lodash:1673 Completed in 6ms
458 timing metavuln:cache:get:security-advisory:lodash:QfqeVpSKfkySSADJYMQTKymXBAczpJs/SekVCmE37hq8SBonO1nvomkBoqXEb2MLYW9M5P0TuZss2VLSdZFJUg== Completed in 6ms
459 timing metavuln:load:security-advisory:lodash:1523 Completed in 0ms
460 timing metavuln:calculate:security-advisory:lodash:1523 Completed in 7ms
461 timing metavuln:cache:get:security-advisory:bcrypt:g80Riq6C4fXc2tfXm/0x8m0UWzy3nHcprSAY378DK1By3bmmIKCgECEP8ppzpd4iQr7xfuCR0YGKMgsLxdE88g== Completed in 7ms
462 timing metavuln:load:security-advisory:bcrypt:1553 Completed in 0ms
463 timing metavuln:calculate:security-advisory:bcrypt:1553 Completed in 7ms
464 timing metavuln:cache:get:security-advisory:lodash:UUDfkp8gTNO0jgwi5MdhbJtYDzGMaHtywaArUzlnX5R01PEtxL53Hb5FrWEFo+WdAb0dUzADurQOUP+v+2+kdw== Completed in 8ms
465 timing metavuln:load:security-advisory:lodash:782 Completed in 1ms
466 timing metavuln:calculate:security-advisory:lodash:782 Completed in 9ms
467 timing metavuln:cache:get:security-advisory:bson:OVEl2nhiJZJW5+rUAthclmUbfZJSeRqgnWTG3Sl67Ay6JfgMdgpyF07G7w4pwBzlCu6Hisc0U9FVT/UyfIt72Q== Completed in 8ms
468 timing metavuln:load:security-advisory:bson:1686 Completed in 1ms
469 timing metavuln:calculate:security-advisory:bson:1686 Completed in 9ms
470 timing metavuln:cache:get:security-advisory:lodash:FmDmUEUw1v6sbgOPyqj5uZxCBuHZf+TfRfgk9IzIV0qdu6MHioih0isVcZ/ndJ0lL2hpnvbPSCb2lRCR8FQBvw== Completed in 10ms
471 timing metavuln:load:security-advisory:lodash:577 Completed in 0ms
472 timing metavuln:calculate:security-advisory:lodash:577 Completed in 10ms
473 timing metavuln:cache:get:security-advisory:lodash:3j75gLVQLNQxx/EGsxgpuOZEb4+ucHeNht0L58Z3HfXaC6ZTu1/fbe/vkaA4IhRRlhtVY+RKRsBAdGrvGJ1flw== Completed in 10ms
474 timing metavuln:load:security-advisory:lodash:1065 Completed in 1ms
475 timing metavuln:calculate:security-advisory:lodash:1065 Completed in 11ms
476 timing metavuln:packument:express-validator Completed in 0ms
477 timing metavuln:cache:get:security-advisory:express-validator:VLqU1WGfpAeW6Q02ukjAMHwAWEdv/FQF9fBfqiErwrJuoOFMZ6lVuNCiRIUFMcCLvTkUCcZFj7+DDD8hE7ByPQ== Completed in 1ms
478 timing metavuln:load:security-advisory:express-validator:UUDfkp8gTNO0jgwi5MdhbJtYDzGMaHtywaArUzlnX5R01PEtxL53Hb5FrWEFo+WdAb0dUzADurQOUP+v+2+kdw== Completed in 1ms
479 timing metavuln:calculate:security-advisory:express-validator:UUDfkp8gTNO0jgwi5MdhbJtYDzGMaHtywaArUzlnX5R01PEtxL53Hb5FrWEFo+WdAb0dUzADurQOUP+v+2+kdw== Completed in 2ms
480 timing metavuln:packument:mongojs Completed in 0ms
481 timing metavuln:cache:get:security-advisory:mongojs:ThUU9whL7AWg16mCe7G5MVqge6GSmUPeJqz2kA06hgKd3fUA5UC2Qyaf16VoE5gj5FTFJQ1gjs6psAynmWuApQ== Completed in 1ms
482 timing metavuln:load:security-advisory:mongojs:NdUOGe7T6jdyLmZfCEf027sYD1xeCVAVSiQN9ACvw56wwQNAAOAFnoyW+oSmzxQU2NLCsICLeFDem3AJzFb3pA== Completed in 0ms
483 timing metavuln:calculate:security-advisory:mongojs:NdUOGe7T6jdyLmZfCEf027sYD1xeCVAVSiQN9ACvw56wwQNAAOAFnoyW+oSmzxQU2NLCsICLeFDem3AJzFb3pA== Completed in 1ms
484 timing metavuln:cache:get:security-advisory:mongodb:fpD5eYG5UELWdeu2UJnYV2gqhy6PfxOxPwUKzPfqdk8MgU7rtCH2+262JuL2O6UZqftqjBHYbYoSPJmVczzTAw== Completed in 1ms
485 timing metavuln:load:security-advisory:mongodb:vGBg3Fo0g9ixkaMBM3U06v6+0cdehXzsb3NZRKkmv4IpkTpvM8a1selrwETqqGC8OnXqBefqInbwY7Y8nnCCYg== Completed in 1ms
486 timing metavuln:calculate:security-advisory:mongodb:vGBg3Fo0g9ixkaMBM3U06v6+0cdehXzsb3NZRKkmv4IpkTpvM8a1selrwETqqGC8OnXqBefqInbwY7Y8nnCCYg== Completed in 2ms
487 timing metavuln:cache:get:security-advisory:mongodb:oI399GGDwPhl6to5gYVgdkwkT/G0fkGhAQSjUmRACIBNvQbTo2Kmqhv2kx4srCtNJw0lzi5zy2OsnlKkuSm67Q== Completed in 1ms
488 timing metavuln:load:security-advisory:mongodb:OVEl2nhiJZJW5+rUAthclmUbfZJSeRqgnWTG3Sl67Ay6JfgMdgpyF07G7w4pwBzlCu6Hisc0U9FVT/UyfIt72Q== Completed in 1ms
489 timing metavuln:calculate:security-advisory:mongodb:OVEl2nhiJZJW5+rUAthclmUbfZJSeRqgnWTG3Sl67Ay6JfgMdgpyF07G7w4pwBzlCu6Hisc0U9FVT/UyfIt72Q== Completed in 2ms
490 timing auditReport:init Completed in 21ms
491 timing reify:audit Completed in 260ms
492 info run [email protected] install { code: 0, signal: null }
493 timing build:run:install:node_modules/kerberos Completed in 794ms
494 info run [email protected] install { code: 0, signal: null }
495 timing build:run:install:node_modules/bson Completed in 830ms
496 info run [email protected] install { code: 1, signal: null }
497 timing reify:rollback:createSparse Completed in 84ms
498 timing reify:rollback:retireShallow Completed in 0ms
499 timing command:install Completed in 3708ms
500 verbose stack Error: command failed
500 verbose stack at ChildProcess. (/opt/homebrew/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/index.js:64:27)
500 verbose stack at ChildProcess.emit (node:events:394:28)
500 verbose stack at maybeClose (node:internal/child_process:1067:16)
500 verbose stack at Socket. (node:internal/child_process:453:11)
500 verbose stack at Socket.emit (node:events:394:28)
500 verbose stack at Pipe. (node:net:672:12)
501 verbose pkgid [email protected]
502 verbose cwd /Users/jackholloway/Dev/oauth2orize_client_credentials_example
503 verbose Darwin 20.6.0
504 verbose argv "/opt/homebrew/Cellar/node/16.5.0/bin/node" "/opt/homebrew/bin/npm" "i"
505 verbose node v16.5.0
506 verbose npm v7.20.1
507 error code 1
508 error path /Users/jackholloway/Dev/oauth2orize_client_credentials_example/node_modules/bcrypt
509 error command failed
510 error command sh -c node-gyp rebuild
511 error CXX(target) Release/obj.target/bcrypt_lib/src/blowfish.o
511 error CXX(target) Release/obj.target/bcrypt_lib/src/bcrypt.o
511 error CXX(target) Release/obj.target/bcrypt_lib/src/bcrypt_node.o
512 error gyp info it worked if it ends with ok
512 error gyp info using [email protected]
512 error gyp info using [email protected] | darwin | arm64
512 error gyp info find Python using Python version 3.8.2 found at "/Library/Developer/CommandLineTools/usr/bin/python3"
512 error (node:11968) [DEP0150] DeprecationWarning: Setting process.config is deprecated. In the future the property will be read-only.
512 error (Usenode --trace-deprecation ...
to show where the warning was created)
512 error gyp info spawn /Library/Developer/CommandLineTools/usr/bin/python3
512 error gyp info spawn args [
512 error gyp info spawn args '/opt/homebrew/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
512 error gyp info spawn args 'binding.gyp',
512 error gyp info spawn args '-f',
512 error gyp info spawn args 'make',
512 error gyp info spawn args '-I',
512 error gyp info spawn args '/Users/jackholloway/Dev/oauth2orize_client_credentials_example/node_modules/bcrypt/build/config.gypi',
512 error gyp info spawn args '-I',
512 error gyp info spawn args '/opt/homebrew/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
512 error gyp info spawn args '-I',
512 error gyp info spawn args '/Users/jackholloway/Library/Caches/node-gyp/16.5.0/include/node/common.gypi',
512 error gyp info spawn args '-Dlibrary=shared_library',
512 error gyp info spawn args '-Dvisibility=default',
512 error gyp info spawn args '-Dnode_root_dir=/Users/jackholloway/Library/Caches/node-gyp/16.5.0',
512 error gyp info spawn args '-Dnode_gyp_dir=/opt/homebrew/lib/node_modules/npm/node_modules/node-gyp',
512 error gyp info spawn args '-Dnode_lib_file=/Users/jackholloway/Library/Caches/node-gyp/16.5.0/<(target_arch)/node.lib',
512 error gyp info spawn args '-Dmodule_root_dir=/Users/jackholloway/Dev/oauth2orize_client_credentials_example/node_modules/bcrypt',
512 error gyp info spawn args '-Dnode_engine=v8',
512 error gyp info spawn args '--depth=.',
512 error gyp info spawn args '--no-parallel',
512 error gyp info spawn args '--generator-output',
512 error gyp info spawn args 'build',
512 error gyp info spawn args '-Goutput_dir=.'
512 error gyp info spawn args ]
512 error gyp info spawn make
512 error gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
512 error ../src/bcrypt_node.cc:54:18: error: no member named 'Dispose' in 'v8::Persistentv8::Function'
512 error callback.Dispose();
512 error ~~~~~~~~ ^
512 error ../src/bcrypt_node.cc:128:19: error: unknown type name 'uv_work_t'
512 error void GenSaltAsync(uv_work_t* req) {
512 error ^
512 error ../src/bcrypt_node.cc:137:24: error: unknown type name 'uv_work_t'
512 error void GenSaltAsyncAfter(uv_work_t* req) {
512 error ^
512 error ../src/bcrypt_node.cc:138:17: error: calling a protected constructor of class 'v8::HandleScope'
512 error HandleScope scope;
512 error ^
512 error /Users/jackholloway/Library/Caches/node-gyp/16.5.0/include/node/v8.h:1219:13: note: declared protected here
512 error V8_INLINE HandleScope() = default;
512 error ^
512 error ../src/bcrypt_node.cc:143:5: error: no template named 'Handle'
512 error Handle argv[2];
512 error ^
512 error ../src/bcrypt_node.cc:146:44: error: no member named 'New' in 'v8::String'
512 error argv[0] = Exception::Error(String::New(baton->error.c_str()));
512 error ~~~~~~~~^
512 error ../src/bcrypt_node.cc:147:19: error: no matching function for call to 'Undefined'
512 error argv[1] = Undefined();
512 error ^~~~~~~~~
512 error /Users/jackholloway/Library/Caches/node-gyp/16.5.0/include/node/v8.h:12380:18: note: candidate function not viable: requires single argument 'isolate', but no arguments were provided
512 error Local Undefined(Isolate* isolate) {
512 error ^
512 error ../src/bcrypt_node.cc:150:19: error: no matching function for call to 'Undefined'
512 error argv[0] = Undefined();
512 error ^~~~~~~~~
512 error /Users/jackholloway/Library/Caches/node-gyp/16.5.0/include/node/v8.h:12380:18: note: candidate function not viable: requires single argument 'isolate', but no arguments were provided
512 error Local Undefined(Isolate* isolate) {
512 error ^
512 error ../src/bcrypt_node.cc:151:19: error: no matching function for call to 'Encode'
512 error argv[1] = Encode(baton->salt.c_str(), baton->salt.size(), BINARY);
512 error ^~~~~~
512 error /Users/jackholloway/Library/Caches/node-gyp/16.5.0/include/node/node.h:711:34: note: candidate function not viable: no known conversion from 'const std::__1::basic_string::value_type *' (aka 'const char *') to 'v8::Isolate ' for 1st argument
512 error NODE_EXTERN v8::Localv8::Value Encode(v8::Isolate isolate,
512 error ^
512 error /Users/jackholloway/Library/Caches/node-gyp/16.5.0/include/node/node.h:718:34: note: candidate function not viable: no known conversion from 'const std::__1::basic_string::value_type *' (aka 'const char ') to 'v8::Isolate ' for 1st argument
512 error NODE_EXTERN v8::Localv8::Value Encode(v8::Isolate isolate,
512 error ^
512 error ../src/bcrypt_node.cc:154:14: error: no matching constructor for initialization of 'v8::TryCatch'
512 error TryCatch try_catch; // don't quite see the necessity of this
512 error ^
512 error /Users/jackholloway/Library/Caches/node-gyp/16.5.0/include/node/v8.h:10423:12: note: candidate constructor not viable: requires single argument 'isolate', but no arguments were provided
512 error explicit TryCatch(Isolate isolate);
512 error ^
512 error /Users/jackholloway/Library/Caches/node-gyp/16.5.0/include/node/v8.h:10545:3: note: candidate constructor not viable: requires 1 argument, but 0 were provided
512 error TryCatch(const TryCatch&) = delete;
512 error ^
512 error ../src/bcrypt_node.cc:156:20: error: member reference type 'v8::Persistentv8::Function' is not a pointer; did you mean to use '.'?
512 error baton->callback->Call(Context::GetCurrent()->Global(), 2, argv);
512 error ~~~~~~~~~~~~~~~^
512 error .
512 error ../src/bcrypt_node.cc:156:22: error: no member named 'Call' in 'v8::Persistentv8::Function'
512 error baton->callback->Call(Context::GetCurrent()->Global(), 2, argv);
512 error ~~~~~~~~~~~~~~~ ^
512 error ../src/bcrypt_node.cc:156:36: error: no member named 'GetCurrent' in 'v8::Context'
512 error baton->callback->Call(Context::GetCurrent()->Global(), 2, argv);
512 error ~~~~~~~~~^
512 error ../src/bcrypt_node.cc:159:9: error: no matching function for call to 'FatalException'
512 error FatalException(try_catch);
512 error ^~~~~~~~~~~~~~
512 error /Users/jackholloway/Library/Caches/node-gyp/16.5.0/include/node/node.h:708:18: note: candidate function not viable: requires 2 arguments, but 1 was provided
512 error NODE_EXTERN void FatalException(v8::Isolate* isolate,
512 error ^
512 error ../src/bcrypt_node.cc:164:1: error: no template named 'Handle'
512 error Handle GenerateSalt(const Arguments &args) {
512 error ^
512 error ../src/bcrypt_node.cc:164:34: error: unknown type name 'Arguments'
512 error Handle GenerateSalt(const Arguments &args) {
512 error ^
512 error ../src/bcrypt_node.cc:165:17: error: calling a protected constructor of class 'v8::HandleScope'
512 error HandleScope scope;
512 error ^
512 error /Users/jackholloway/Library/Caches/node-gyp/16.5.0/include/node/v8.h:1219:13: note: declared protected here
512 error V8_INLINE HandleScope() = default;
512 error ^
512 error ../src/bcrypt_node.cc:168:60: error: no member named 'New' in 'v8::String'
512 error return ThrowException(Exception::TypeError(String::New("3 arguments expected")));
512 error ~~~~~~~~^
512 error ../src/bcrypt_node.cc:172:60: error: no member named 'New' in 'v8::String'
512 error return ThrowException(Exception::TypeError(String::New("Second argument must be a 16 byte Buffer")));
512 error ~~~~~~~~^
512 error fatal error: too many errors emitted, stopping now [-ferror-limit=]
512 error 20 errors generated.
512 error make: *** [Release/obj.target/bcrypt_lib/src/bcrypt_node.o] Error 1
512 error gyp ERR! build error
512 error gyp ERR! stack Error:make
failed with exit code: 2
512 error gyp ERR! stack at ChildProcess.onExit (/opt/homebrew/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
512 error gyp ERR! stack at ChildProcess.emit (node:events:394:28)
512 error gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:290:12)
512 error gyp ERR! System Darwin 20.6.0
512 error gyp ERR! command "/opt/homebrew/Cellar/node/16.5.0/bin/node" "/opt/homebrew/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
512 error gyp ERR! cwd /Users/jackholloway/Dev/oauth2orize_client_credentials_example/node_modules/bcrypt
512 error gyp ERR! node -v v16.5.0
512 error gyp ERR! node-gyp -v v7.1.2
512 error gyp ERR! not ok
513 verbose exit 1
Hi, I'm just curious about the way an access token is saved. Should a userId be saved as well in the accessToken collection? I'm struggling to see how the userId is retrieved from the token when authenticating it.
Thanks very much
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.