-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfirebase-debug.log
595 lines (589 loc) · 163 KB
/
firebase-debug.log
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
[debug] [2021-11-24T14:30:10.790Z] ----------------------------------------------------------------------
[debug] [2021-11-24T14:30:10.796Z] Command: C:\Program Files\nodejs\node.exe C:\Users\acer\AppData\Roaming\npm\node_modules\firebase-tools\lib\bin\firebase.js emulators:start
[debug] [2021-11-24T14:30:10.797Z] CLI Version: 9.21.0
[debug] [2021-11-24T14:30:10.797Z] Platform: win32
[debug] [2021-11-24T14:30:10.797Z] Node Version: v14.16.0
[debug] [2021-11-24T14:30:10.800Z] Time: Wed Nov 24 2021 20:00:10 GMT+0530 (India Standard Time)
[debug] [2021-11-24T14:30:10.800Z] ----------------------------------------------------------------------
[debug]
[debug] [2021-11-24T14:30:11.076Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
[debug] [2021-11-24T14:30:11.076Z] > authorizing via signed-in user ([email protected])
[info] i emulators: Starting emulators: functions, hosting {"metadata":{"emulator":{"name":"hub"},"message":"Starting emulators: functions, hosting"}}
[warn] ! emulators: It seems that you are running multiple instances of the emulator suite for project ecommerce-clone-frontend. This may result in unexpected behavior.
[debug] [2021-11-24T14:30:11.145Z] [hub] writing locator at C:\Users\acer\AppData\Local\Temp\hub-ecommerce-clone-frontend.json
[warn] ! functions: The following emulators are not running, calls to these services from the Functions emulator will affect production: auth, firestore, database, pubsub, storage {"metadata":{"emulator":{"name":"functions"},"message":"The following emulators are not running, calls to these services from the Functions emulator will affect production: \u001b[1mauth, firestore, database, pubsub, storage\u001b[22m"}}
[info] + functions: Using node@14 from host. {"metadata":{"emulator":{"name":"functions"},"message":"Using node@14 from host."}}
[debug] [2021-11-24T14:30:11.266Z] defaultcredentials: writing to file C:\Users\acer\AppData\Roaming\firebase\ujjwalshukla2005_gmail_com_application_default_credentials.json
[debug] [2021-11-24T14:30:11.276Z] Setting GAC to C:\Users\acer\AppData\Roaming\firebase\ujjwalshukla2005_gmail_com_application_default_credentials.json {"metadata":{"emulator":{"name":"functions"},"message":"Setting GAC to C:\\Users\\acer\\AppData\\Roaming\\firebase\\ujjwalshukla2005_gmail_com_application_default_credentials.json"}}
[debug] [2021-11-24T14:30:11.283Z] > refreshing access token with scopes: []
[debug] [2021-11-24T14:30:11.286Z] >>> HTTP REQUEST POST https://www.googleapis.com/oauth2/v3/token
<request body omitted>
[debug] [2021-11-24T14:30:11.546Z] <<< HTTP RESPONSE 200 {"expires":"Mon, 01 Jan 1990 00:00:00 GMT","pragma":"no-cache","date":"Wed, 24 Nov 2021 14:30:11 GMT","cache-control":"no-cache, no-store, max-age=0, must-revalidate","content-type":"application/json; charset=utf-8","vary":"X-Origin, Referer, Origin,Accept-Encoding","server":"scaffolding on HTTPServer2","x-xss-protection":"0","x-frame-options":"SAMEORIGIN","x-content-type-options":"nosniff","alt-svc":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\"","accept-ranges":"none","transfer-encoding":"chunked"}
[debug] [2021-11-24T14:30:11.745Z] >>> [apiv2][query] GET https://firebase.googleapis.com/v1beta1/projects/ecommerce-clone-frontend/adminSdkConfig [none]
[debug] [2021-11-24T14:30:12.297Z] <<< [apiv2][status] GET https://firebase.googleapis.com/v1beta1/projects/ecommerce-clone-frontend/adminSdkConfig 200
[debug] [2021-11-24T14:30:12.298Z] <<< [apiv2][body] GET https://firebase.googleapis.com/v1beta1/projects/ecommerce-clone-frontend/adminSdkConfig {"projectId":"ecommerce-clone-frontend","storageBucket":"ecommerce-clone-frontend.appspot.com","locationId":"us-central"}
[debug] [2021-11-24T14:30:12.493Z] >>> [apiv2][query] GET https://firebasehosting.googleapis.com/v1beta1/projects/ecommerce-clone-frontend/sites
[debug] [2021-11-24T14:30:14.411Z] <<< [apiv2][status] GET https://firebasehosting.googleapis.com/v1beta1/projects/ecommerce-clone-frontend/sites 200
[debug] [2021-11-24T14:30:14.412Z] <<< [apiv2][body] GET https://firebasehosting.googleapis.com/v1beta1/projects/ecommerce-clone-frontend/sites {"sites":[{"name":"projects/183282373407/sites/ecommerce-clone-frontend","defaultUrl":"https://ecommerce-clone-frontend.web.app","appId":"1:183282373407:web:228ce0696706ae063b962a","type":"DEFAULT_SITE"}]}
[debug] [2021-11-24T14:30:14.412Z] >>> [apiv2][query] GET https://firebase.googleapis.com/v1beta1/projects/ecommerce-clone-frontend/webApps/1:183282373407:web:228ce0696706ae063b962a/config [none]
[debug] [2021-11-24T14:30:16.007Z] <<< [apiv2][status] GET https://firebase.googleapis.com/v1beta1/projects/ecommerce-clone-frontend/webApps/1:183282373407:web:228ce0696706ae063b962a/config 200
[debug] [2021-11-24T14:30:16.007Z] <<< [apiv2][body] GET https://firebase.googleapis.com/v1beta1/projects/ecommerce-clone-frontend/webApps/1:183282373407:web:228ce0696706ae063b962a/config {"projectId":"ecommerce-clone-frontend","appId":"1:183282373407:web:228ce0696706ae063b962a","storageBucket":"ecommerce-clone-frontend.appspot.com","locationId":"us-central","apiKey":"AIzaSyCRZtXiXcL2OTRGZlPUfl-9BVCNPXamQp8","authDomain":"ecommerce-clone-frontend.firebaseapp.com","messagingSenderId":"183282373407","measurementId":"G-TBBRH2QGH7"}
[info] i hosting: Serving hosting files from: build {"metadata":{"emulator":{"name":"hosting"},"message":"Serving hosting files from: \u001b[1mbuild\u001b[22m"}}
[info] + hosting: Local server: http://localhost:5000 {"metadata":{"emulator":{"name":"hosting"},"message":"Local server: \u001b[4m\u001b[1mhttp://localhost:5000\u001b[22m\u001b[24m"}}
[warn] ! ui: Emulator UI unable to start on port 4000, starting on 4001 instead. {"metadata":{"emulator":{"name":"ui"},"message":"Emulator UI unable to start on port 4000, starting on 4001 instead."}}
[debug] [2021-11-24T14:30:16.507Z] Ignoring unsupported arg: auto_download {"metadata":{"emulator":{"name":"ui"},"message":"Ignoring unsupported arg: auto_download"}}
[debug] [2021-11-24T14:30:16.507Z] Ignoring unsupported arg: port {"metadata":{"emulator":{"name":"ui"},"message":"Ignoring unsupported arg: port"}}
[debug] [2021-11-24T14:30:16.508Z] Starting Emulator UI with command {"binary":"node","args":["C:\\Users\\acer\\.cache\\firebase\\emulators\\ui-v1.6.4\\server.bundle.js"],"optionalArgs":[],"joinArgs":false} {"metadata":{"emulator":{"name":"ui"},"message":"Starting Emulator UI with command {\"binary\":\"node\",\"args\":[\"C:\\\\Users\\\\acer\\\\.cache\\\\firebase\\\\emulators\\\\ui-v1.6.4\\\\server.bundle.js\"],\"optionalArgs\":[],\"joinArgs\":false}"}}
[info] i ui: Emulator UI logging to ui-debug.log {"metadata":{"emulator":{"name":"ui"},"message":"Emulator UI logging to \u001b[1mui-debug.log\u001b[22m"}}
[debug] [2021-11-24T14:30:17.135Z] Web / API server started at localhost:4001
{"metadata":{"emulator":{"name":"ui"},"message":"Web / API server started at localhost:4001\n"}}
[info] i functions: Watching "C:\Users\acer\Desktop\Amazon Clone -1\amazon-clone\functions" for Cloud Functions... {"metadata":{"emulator":{"name":"functions"},"message":"Watching \"C:\\Users\\acer\\Desktop\\Amazon Clone -1\\amazon-clone\\functions\" for Cloud Functions..."}}
[debug] [2021-11-24T14:30:22.824Z] [worker-pool] addWorker(~diagnostic~) {"metadata":{"emulator":{"name":"functions"},"message":"[worker-pool] addWorker(~diagnostic~)"}}
[debug] [2021-11-24T14:30:22.824Z] [worker-pool] Adding worker with key ~diagnostic~, total=1 {"metadata":{"emulator":{"name":"functions"},"message":"[worker-pool] Adding worker with key ~diagnostic~, total=1"}}
[debug] [2021-11-24T14:30:22.825Z] [worker-pool] submitWork(triggerId=) {"metadata":{"emulator":{"name":"functions"},"message":"[worker-pool] submitWork(triggerId=)"}}
[debug] [2021-11-24T14:30:22.825Z] [worker-~diagnostic~-3e777e12-24fb-435a-be75-b66fcc19b480]: Assigning socketPath: \\?\pipe\C:\Users\acer\Desktop\Amazon Clone -1\amazon-clone\functions\3776 {"metadata":{"emulator":{"name":"functions"},"message":"[worker-~diagnostic~-3e777e12-24fb-435a-be75-b66fcc19b480]: Assigning socketPath: \\\\?\\pipe\\C:\\Users\\acer\\Desktop\\Amazon Clone -1\\amazon-clone\\functions\\3776"}}
[debug] [2021-11-24T14:30:22.826Z] [worker-~diagnostic~-3e777e12-24fb-435a-be75-b66fcc19b480]: BUSY {"metadata":{"emulator":{"name":"functions"},"message":"[worker-~diagnostic~-3e777e12-24fb-435a-be75-b66fcc19b480]: BUSY"}}
[debug] [2021-11-24T14:30:23.387Z] [runtime-status] [3776] Functions runtime initialized. {"cwd":"C:\\Users\\acer\\Desktop\\Amazon Clone -1\\amazon-clone\\functions","node_version":"14.16.0"} {"metadata":{"emulator":{"name":"functions"},"message":"[runtime-status] [3776] Functions runtime initialized. {\"cwd\":\"C:\\\\Users\\\\acer\\\\Desktop\\\\Amazon Clone -1\\\\amazon-clone\\\\functions\",\"node_version\":\"14.16.0\"}"}}
[debug] [2021-11-24T14:30:23.392Z] [runtime-status] [3776] Disabled runtime features: undefined {"metadata":{"emulator":{"name":"functions"},"message":"[runtime-status] [3776] Disabled runtime features: undefined"}}
[debug] [2021-11-24T14:30:23.402Z] [runtime-status] [3776] Resolved module firebase-admin {"declared":true,"installed":true,"version":"9.12.0","resolution":"C:\\Users\\acer\\Desktop\\Amazon Clone -1\\amazon-clone\\functions\\node_modules\\firebase-admin\\lib\\index.js"} {"metadata":{"emulator":{"name":"functions"},"message":"[runtime-status] [3776] Resolved module firebase-admin {\"declared\":true,\"installed\":true,\"version\":\"9.12.0\",\"resolution\":\"C:\\\\Users\\\\acer\\\\Desktop\\\\Amazon Clone -1\\\\amazon-clone\\\\functions\\\\node_modules\\\\firebase-admin\\\\lib\\\\index.js\"}"}}
[debug] [2021-11-24T14:30:23.411Z] [runtime-status] [3776] Resolved module firebase-functions {"declared":true,"installed":true,"version":"3.16.0","resolution":"C:\\Users\\acer\\Desktop\\Amazon Clone -1\\amazon-clone\\functions\\node_modules\\firebase-functions\\lib\\index.js"} {"metadata":{"emulator":{"name":"functions"},"message":"[runtime-status] [3776] Resolved module firebase-functions {\"declared\":true,\"installed\":true,\"version\":\"3.16.0\",\"resolution\":\"C:\\\\Users\\\\acer\\\\Desktop\\\\Amazon Clone -1\\\\amazon-clone\\\\functions\\\\node_modules\\\\firebase-functions\\\\lib\\\\index.js\"}"}}
[debug] [2021-11-24T14:30:23.416Z] [runtime-status] [3776] Outgoing network have been stubbed. [{"name":"http","status":"mocked"},{"name":"http","status":"mocked"},{"name":"https","status":"mocked"},{"name":"https","status":"mocked"},{"name":"net","status":"mocked"}] {"metadata":{"emulator":{"name":"functions"},"message":"[runtime-status] [3776] Outgoing network have been stubbed. [{\"name\":\"http\",\"status\":\"mocked\"},{\"name\":\"http\",\"status\":\"mocked\"},{\"name\":\"https\",\"status\":\"mocked\"},{\"name\":\"https\",\"status\":\"mocked\"},{\"name\":\"net\",\"status\":\"mocked\"}]"}}
[debug] [2021-11-24T14:30:23.418Z] [runtime-status] [3776] Resolved module firebase-functions {"declared":true,"installed":true,"version":"3.16.0","resolution":"C:\\Users\\acer\\Desktop\\Amazon Clone -1\\amazon-clone\\functions\\node_modules\\firebase-functions\\lib\\index.js"} {"metadata":{"emulator":{"name":"functions"},"message":"[runtime-status] [3776] Resolved module firebase-functions {\"declared\":true,\"installed\":true,\"version\":\"3.16.0\",\"resolution\":\"C:\\\\Users\\\\acer\\\\Desktop\\\\Amazon Clone -1\\\\amazon-clone\\\\functions\\\\node_modules\\\\firebase-functions\\\\lib\\\\index.js\"}"}}
[debug] [2021-11-24T14:30:25.527Z] [runtime-status] [3776] Checked functions.config() {"config":{}} {"metadata":{"emulator":{"name":"functions"},"message":"[runtime-status] [3776] Checked functions.config() {\"config\":{}}"}}
[debug] [2021-11-24T14:30:25.528Z] [runtime-status] [3776] firebase-functions has been stubbed. {"functionsResolution":{"declared":true,"installed":true,"version":"3.16.0","resolution":"C:\\Users\\acer\\Desktop\\Amazon Clone -1\\amazon-clone\\functions\\node_modules\\firebase-functions\\lib\\index.js"}} {"metadata":{"emulator":{"name":"functions"},"message":"[runtime-status] [3776] firebase-functions has been stubbed. {\"functionsResolution\":{\"declared\":true,\"installed\":true,\"version\":\"3.16.0\",\"resolution\":\"C:\\\\Users\\\\acer\\\\Desktop\\\\Amazon Clone -1\\\\amazon-clone\\\\functions\\\\node_modules\\\\firebase-functions\\\\lib\\\\index.js\"}}"}}
[debug] [2021-11-24T14:30:25.530Z] [runtime-status] [3776] Resolved module firebase-functions {"declared":true,"installed":true,"version":"3.16.0","resolution":"C:\\Users\\acer\\Desktop\\Amazon Clone -1\\amazon-clone\\functions\\node_modules\\firebase-functions\\lib\\index.js"} {"metadata":{"emulator":{"name":"functions"},"message":"[runtime-status] [3776] Resolved module firebase-functions {\"declared\":true,\"installed\":true,\"version\":\"3.16.0\",\"resolution\":\"C:\\\\Users\\\\acer\\\\Desktop\\\\Amazon Clone -1\\\\amazon-clone\\\\functions\\\\node_modules\\\\firebase-functions\\\\lib\\\\index.js\"}"}}
[debug] [2021-11-24T14:30:25.534Z] [runtime-status] [3776] Resolved module firebase-admin {"declared":true,"installed":true,"version":"9.12.0","resolution":"C:\\Users\\acer\\Desktop\\Amazon Clone -1\\amazon-clone\\functions\\node_modules\\firebase-admin\\lib\\index.js"} {"metadata":{"emulator":{"name":"functions"},"message":"[runtime-status] [3776] Resolved module firebase-admin {\"declared\":true,\"installed\":true,\"version\":\"9.12.0\",\"resolution\":\"C:\\\\Users\\\\acer\\\\Desktop\\\\Amazon Clone -1\\\\amazon-clone\\\\functions\\\\node_modules\\\\firebase-admin\\\\lib\\\\index.js\"}"}}
[debug] [2021-11-24T14:30:25.537Z] [runtime-status] [3776] Resolved module firebase-functions {"declared":true,"installed":true,"version":"3.16.0","resolution":"C:\\Users\\acer\\Desktop\\Amazon Clone -1\\amazon-clone\\functions\\node_modules\\firebase-functions\\lib\\index.js"} {"metadata":{"emulator":{"name":"functions"},"message":"[runtime-status] [3776] Resolved module firebase-functions {\"declared\":true,\"installed\":true,\"version\":\"3.16.0\",\"resolution\":\"C:\\\\Users\\\\acer\\\\Desktop\\\\Amazon Clone -1\\\\amazon-clone\\\\functions\\\\node_modules\\\\firebase-functions\\\\lib\\\\index.js\"}"}}
[debug] [2021-11-24T14:30:25.538Z] [runtime-status] [3776] firebase-admin has been stubbed. {"adminResolution":{"declared":true,"installed":true,"version":"9.12.0","resolution":"C:\\Users\\acer\\Desktop\\Amazon Clone -1\\amazon-clone\\functions\\node_modules\\firebase-admin\\lib\\index.js"}} {"metadata":{"emulator":{"name":"functions"},"message":"[runtime-status] [3776] firebase-admin has been stubbed. {\"adminResolution\":{\"declared\":true,\"installed\":true,\"version\":\"9.12.0\",\"resolution\":\"C:\\\\Users\\\\acer\\\\Desktop\\\\Amazon Clone -1\\\\amazon-clone\\\\functions\\\\node_modules\\\\firebase-admin\\\\lib\\\\index.js\"}}"}}
[info] + functions[us-central1-api]: http function initialized (http://localhost:5001/ecommerce-clone-frontend/us-central1/api). {"metadata":{"emulator":{"name":"functions"},"message":"\u001b[1mhttp\u001b[22m function initialized (http://localhost:5001/ecommerce-clone-frontend/us-central1/api)."}}
[info]
┌─────────────────────────────────────────────────────────────┐
│ ✔ All emulators ready! It is now safe to connect your app. │
│ i View Emulator UI at http://localhost:4001 │
└─────────────────────────────────────────────────────────────┘
┌───────────┬────────────────┬─────────────────────────────────┐
│ Emulator │ Host:Port │ View in Emulator UI │
├───────────┼────────────────┼─────────────────────────────────┤
│ Functions │ localhost:5001 │ http://localhost:4001/functions │
├───────────┼────────────────┼─────────────────────────────────┤
│ Hosting │ localhost:5000 │ n/a │
└───────────┴────────────────┴─────────────────────────────────┘
Emulator Hub running at localhost:4400
Other reserved ports: 4500
Issues? Report them at https://github.com/firebase/firebase-tools/issues and attach the *-debug.log files.
[debug] [2021-11-24T14:30:33.805Z] [worker-~diagnostic~-3e777e12-24fb-435a-be75-b66fcc19b480]: IDLE {"metadata":{"emulator":{"name":"functions"},"message":"[worker-~diagnostic~-3e777e12-24fb-435a-be75-b66fcc19b480]: IDLE"}}
[debug] [2021-11-24T14:36:55.692Z] [work-queue] {"queueLength":1,"workRunningCount":0}
[debug] [2021-11-24T14:36:55.692Z] [work-queue] {"queueLength":0,"workRunningCount":1}
[debug] [2021-11-24T14:36:55.693Z] Accepted request POST /ecommerce-clone-frontend/us-central1/api/payments/create?total=116696 --> us-central1-api
[debug] [2021-11-24T14:36:55.710Z] [worker-pool] addWorker(us-central1-api) {"metadata":{"emulator":{"name":"functions"},"message":"[worker-pool] addWorker(us-central1-api)"}}
[debug] [2021-11-24T14:36:55.711Z] [worker-pool] Adding worker with key us-central1-api, total=1 {"metadata":{"emulator":{"name":"functions"},"message":"[worker-pool] Adding worker with key us-central1-api, total=1"}}
[debug] [2021-11-24T14:36:55.711Z] [worker-pool] submitWork(triggerId=us-central1-api) {"metadata":{"emulator":{"name":"functions"},"message":"[worker-pool] submitWork(triggerId=us-central1-api)"}}
[debug] [2021-11-24T14:36:55.711Z] [worker-us-central1-api-79b83778-7c55-4470-a871-01140cba08ef]: Assigning socketPath: \\?\pipe\C:\Users\acer\Desktop\Amazon Clone -1\amazon-clone\functions\11336 {"metadata":{"emulator":{"name":"functions"},"message":"[worker-us-central1-api-79b83778-7c55-4470-a871-01140cba08ef]: Assigning socketPath: \\\\?\\pipe\\C:\\Users\\acer\\Desktop\\Amazon Clone -1\\amazon-clone\\functions\\11336"}}
[debug] [2021-11-24T14:36:55.712Z] [worker-us-central1-api-79b83778-7c55-4470-a871-01140cba08ef]: BUSY {"metadata":{"emulator":{"name":"functions"},"message":"[worker-us-central1-api-79b83778-7c55-4470-a871-01140cba08ef]: BUSY"}}
[debug] [2021-11-24T14:36:56.351Z] [runtime-status] [11336] Functions runtime initialized. {"cwd":"C:\\Users\\acer\\Desktop\\Amazon Clone -1\\amazon-clone\\functions","node_version":"14.16.0"} {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [11336] Functions runtime initialized. {\"cwd\":\"C:\\\\Users\\\\acer\\\\Desktop\\\\Amazon Clone -1\\\\amazon-clone\\\\functions\",\"node_version\":\"14.16.0\"}"}}
[debug] [2021-11-24T14:36:56.357Z] [runtime-status] [11336] Disabled runtime features: undefined {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [11336] Disabled runtime features: undefined"}}
[debug] [2021-11-24T14:36:56.369Z] [runtime-status] [11336] Resolved module firebase-admin {"declared":true,"installed":true,"version":"9.12.0","resolution":"C:\\Users\\acer\\Desktop\\Amazon Clone -1\\amazon-clone\\functions\\node_modules\\firebase-admin\\lib\\index.js"} {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [11336] Resolved module firebase-admin {\"declared\":true,\"installed\":true,\"version\":\"9.12.0\",\"resolution\":\"C:\\\\Users\\\\acer\\\\Desktop\\\\Amazon Clone -1\\\\amazon-clone\\\\functions\\\\node_modules\\\\firebase-admin\\\\lib\\\\index.js\"}"}}
[debug] [2021-11-24T14:36:56.378Z] [runtime-status] [11336] Resolved module firebase-functions {"declared":true,"installed":true,"version":"3.16.0","resolution":"C:\\Users\\acer\\Desktop\\Amazon Clone -1\\amazon-clone\\functions\\node_modules\\firebase-functions\\lib\\index.js"} {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [11336] Resolved module firebase-functions {\"declared\":true,\"installed\":true,\"version\":\"3.16.0\",\"resolution\":\"C:\\\\Users\\\\acer\\\\Desktop\\\\Amazon Clone -1\\\\amazon-clone\\\\functions\\\\node_modules\\\\firebase-functions\\\\lib\\\\index.js\"}"}}
[debug] [2021-11-24T14:36:56.383Z] [runtime-status] [11336] Outgoing network have been stubbed. [{"name":"http","status":"mocked"},{"name":"http","status":"mocked"},{"name":"https","status":"mocked"},{"name":"https","status":"mocked"},{"name":"net","status":"mocked"}] {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [11336] Outgoing network have been stubbed. [{\"name\":\"http\",\"status\":\"mocked\"},{\"name\":\"http\",\"status\":\"mocked\"},{\"name\":\"https\",\"status\":\"mocked\"},{\"name\":\"https\",\"status\":\"mocked\"},{\"name\":\"net\",\"status\":\"mocked\"}]"}}
[debug] [2021-11-24T14:36:56.386Z] [runtime-status] [11336] Resolved module firebase-functions {"declared":true,"installed":true,"version":"3.16.0","resolution":"C:\\Users\\acer\\Desktop\\Amazon Clone -1\\amazon-clone\\functions\\node_modules\\firebase-functions\\lib\\index.js"} {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [11336] Resolved module firebase-functions {\"declared\":true,\"installed\":true,\"version\":\"3.16.0\",\"resolution\":\"C:\\\\Users\\\\acer\\\\Desktop\\\\Amazon Clone -1\\\\amazon-clone\\\\functions\\\\node_modules\\\\firebase-functions\\\\lib\\\\index.js\"}"}}
[debug] [2021-11-24T14:36:56.525Z] [runtime-status] [11336] Checked functions.config() {"config":{}} {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [11336] Checked functions.config() {\"config\":{}}"}}
[debug] [2021-11-24T14:36:56.526Z] [runtime-status] [11336] firebase-functions has been stubbed. {"functionsResolution":{"declared":true,"installed":true,"version":"3.16.0","resolution":"C:\\Users\\acer\\Desktop\\Amazon Clone -1\\amazon-clone\\functions\\node_modules\\firebase-functions\\lib\\index.js"}} {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [11336] firebase-functions has been stubbed. {\"functionsResolution\":{\"declared\":true,\"installed\":true,\"version\":\"3.16.0\",\"resolution\":\"C:\\\\Users\\\\acer\\\\Desktop\\\\Amazon Clone -1\\\\amazon-clone\\\\functions\\\\node_modules\\\\firebase-functions\\\\lib\\\\index.js\"}}"}}
[debug] [2021-11-24T14:36:56.529Z] [runtime-status] [11336] Resolved module firebase-functions {"declared":true,"installed":true,"version":"3.16.0","resolution":"C:\\Users\\acer\\Desktop\\Amazon Clone -1\\amazon-clone\\functions\\node_modules\\firebase-functions\\lib\\index.js"} {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [11336] Resolved module firebase-functions {\"declared\":true,\"installed\":true,\"version\":\"3.16.0\",\"resolution\":\"C:\\\\Users\\\\acer\\\\Desktop\\\\Amazon Clone -1\\\\amazon-clone\\\\functions\\\\node_modules\\\\firebase-functions\\\\lib\\\\index.js\"}"}}
[debug] [2021-11-24T14:36:56.532Z] [runtime-status] [11336] Resolved module firebase-admin {"declared":true,"installed":true,"version":"9.12.0","resolution":"C:\\Users\\acer\\Desktop\\Amazon Clone -1\\amazon-clone\\functions\\node_modules\\firebase-admin\\lib\\index.js"} {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [11336] Resolved module firebase-admin {\"declared\":true,\"installed\":true,\"version\":\"9.12.0\",\"resolution\":\"C:\\\\Users\\\\acer\\\\Desktop\\\\Amazon Clone -1\\\\amazon-clone\\\\functions\\\\node_modules\\\\firebase-admin\\\\lib\\\\index.js\"}"}}
[debug] [2021-11-24T14:36:56.535Z] [runtime-status] [11336] Resolved module firebase-functions {"declared":true,"installed":true,"version":"3.16.0","resolution":"C:\\Users\\acer\\Desktop\\Amazon Clone -1\\amazon-clone\\functions\\node_modules\\firebase-functions\\lib\\index.js"} {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [11336] Resolved module firebase-functions {\"declared\":true,\"installed\":true,\"version\":\"3.16.0\",\"resolution\":\"C:\\\\Users\\\\acer\\\\Desktop\\\\Amazon Clone -1\\\\amazon-clone\\\\functions\\\\node_modules\\\\firebase-functions\\\\lib\\\\index.js\"}"}}
[debug] [2021-11-24T14:36:56.535Z] [runtime-status] [11336] firebase-admin has been stubbed. {"adminResolution":{"declared":true,"installed":true,"version":"9.12.0","resolution":"C:\\Users\\acer\\Desktop\\Amazon Clone -1\\amazon-clone\\functions\\node_modules\\firebase-admin\\lib\\index.js"}} {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [11336] firebase-admin has been stubbed. {\"adminResolution\":{\"declared\":true,\"installed\":true,\"version\":\"9.12.0\",\"resolution\":\"C:\\\\Users\\\\acer\\\\Desktop\\\\Amazon Clone -1\\\\amazon-clone\\\\functions\\\\node_modules\\\\firebase-admin\\\\lib\\\\index.js\"}}"}}
[debug] [2021-11-24T14:36:56.986Z] [runtime-status] [11336] Trigger "us-central1-api" has been found, beginning invocation! {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [11336] Trigger \"us-central1-api\" has been found, beginning invocation!"}}
[info] i functions: Beginning execution of "us-central1-api" {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"Beginning execution of \"us-central1-api\""}}
[debug] [2021-11-24T14:36:56.988Z] [runtime-status] [11336] triggerDefinition {"httpsTrigger":{},"name":"api","entryPoint":"api","regions":["us-central1"],"region":"us-central1","id":"us-central1-api"} {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [11336] triggerDefinition {\"httpsTrigger\":{},\"name\":\"api\",\"entryPoint\":\"api\",\"regions\":[\"us-central1\"],\"region\":\"us-central1\",\"id\":\"us-central1-api\"}"}}
[debug] [2021-11-24T14:36:56.989Z] [runtime-status] [11336] Running us-central1-api in signature http {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [11336] Running us-central1-api in signature http"}}
[debug] [2021-11-24T14:36:56.998Z] [runtime-status] [11336] Attempting to listen to socketPath: \\?\pipe\C:\Users\acer\Desktop\Amazon Clone -1\amazon-clone\functions\11336 {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [11336] Attempting to listen to socketPath: \\\\?\\pipe\\C:\\Users\\acer\\Desktop\\Amazon Clone -1\\amazon-clone\\functions\\11336"}}
[debug] [2021-11-24T14:36:57.006Z] [functions] Runtime ready! Sending request! {"metadata":{"emulator":{"name":"functions"},"message":"[functions] Runtime ready! Sending request!"}}
[debug] [2021-11-24T14:36:57.009Z] [functions] Got req.url=/ecommerce-clone-frontend/us-central1/api/payments/create?total=116696, mapping to path=/payments/create?total=116696 {"metadata":{"emulator":{"name":"functions"},"message":"[functions] Got req.url=/ecommerce-clone-frontend/us-central1/api/payments/create?total=116696, mapping to path=/payments/create?total=116696"}}
[debug] [2021-11-24T14:36:57.031Z] [runtime-status] [11336] Ephemeral server handling POST request {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [11336] Ephemeral server handling POST request"}}
[info] > Payments request recieved!!! for this amount >>> 116696 {"user":"Payments request recieved!!! for this amount >>> 116696","metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"\u001b[90m> \u001b[39m Payments request recieved!!! for this amount >>> 116696"}}
[debug] [2021-11-24T14:36:57.060Z] [runtime-status] [11336] Ephemeral server survived. {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [11336] Ephemeral server survived."}}
[info] i functions: Finished "us-central1-api" in ~1s {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"Finished \"us-central1-api\" in ~1s"}}
[debug] [2021-11-24T14:36:57.924Z] [worker-us-central1-api-79b83778-7c55-4470-a871-01140cba08ef]: IDLE {"metadata":{"emulator":{"name":"functions"},"message":"[worker-us-central1-api-79b83778-7c55-4470-a871-01140cba08ef]: IDLE"}}
[debug] [2021-11-24T14:36:57.925Z] [work-queue] {"queueLength":0,"workRunningCount":0}
[debug] [2021-11-24T14:41:11.320Z] [work-queue] {"queueLength":1,"workRunningCount":0}
[debug] [2021-11-24T14:41:11.320Z] [work-queue] {"queueLength":0,"workRunningCount":1}
[debug] [2021-11-24T14:41:11.321Z] Accepted request POST /ecommerce-clone-frontend/us-central1/api/payments/create?total=0 --> us-central1-api
[debug] [2021-11-24T14:41:11.322Z] [worker-pool] submitWork(triggerId=us-central1-api) {"metadata":{"emulator":{"name":"functions"},"message":"[worker-pool] submitWork(triggerId=us-central1-api)"}}
[debug] [2021-11-24T14:41:11.322Z] [worker-us-central1-api-79b83778-7c55-4470-a871-01140cba08ef]: Assigning socketPath: \\?\pipe\C:\Users\acer\Desktop\Amazon Clone -1\amazon-clone\functions\11336 {"metadata":{"emulator":{"name":"functions"},"message":"[worker-us-central1-api-79b83778-7c55-4470-a871-01140cba08ef]: Assigning socketPath: \\\\?\\pipe\\C:\\Users\\acer\\Desktop\\Amazon Clone -1\\amazon-clone\\functions\\11336"}}
[debug] [2021-11-24T14:41:11.323Z] [worker-us-central1-api-79b83778-7c55-4470-a871-01140cba08ef]: BUSY {"metadata":{"emulator":{"name":"functions"},"message":"[worker-us-central1-api-79b83778-7c55-4470-a871-01140cba08ef]: BUSY"}}
[debug] [2021-11-24T14:41:11.324Z] [runtime-status] [11336] Trigger "us-central1-api" has been found, beginning invocation! {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [11336] Trigger \"us-central1-api\" has been found, beginning invocation!"}}
[info] i functions: Beginning execution of "us-central1-api" {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"Beginning execution of \"us-central1-api\""}}
[debug] [2021-11-24T14:41:11.327Z] [runtime-status] [11336] triggerDefinition {"httpsTrigger":{},"name":"api","entryPoint":"api","regions":["us-central1"],"region":"us-central1","id":"us-central1-api"} {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [11336] triggerDefinition {\"httpsTrigger\":{},\"name\":\"api\",\"entryPoint\":\"api\",\"regions\":[\"us-central1\"],\"region\":\"us-central1\",\"id\":\"us-central1-api\"}"}}
[debug] [2021-11-24T14:41:11.328Z] [runtime-status] [11336] Running us-central1-api in signature http {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [11336] Running us-central1-api in signature http"}}
[debug] [2021-11-24T14:41:11.330Z] [runtime-status] [11336] Attempting to listen to socketPath: \\?\pipe\C:\Users\acer\Desktop\Amazon Clone -1\amazon-clone\functions\11336 {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [11336] Attempting to listen to socketPath: \\\\?\\pipe\\C:\\Users\\acer\\Desktop\\Amazon Clone -1\\amazon-clone\\functions\\11336"}}
[debug] [2021-11-24T14:41:11.334Z] [functions] Runtime ready! Sending request! {"metadata":{"emulator":{"name":"functions"},"message":"[functions] Runtime ready! Sending request!"}}
[debug] [2021-11-24T14:41:11.335Z] [functions] Got req.url=/ecommerce-clone-frontend/us-central1/api/payments/create?total=0, mapping to path=/payments/create?total=0 {"metadata":{"emulator":{"name":"functions"},"message":"[functions] Got req.url=/ecommerce-clone-frontend/us-central1/api/payments/create?total=0, mapping to path=/payments/create?total=0"}}
[debug] [2021-11-24T14:41:11.343Z] [runtime-status] [11336] Ephemeral server handling POST request {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [11336] Ephemeral server handling POST request"}}
[info] > Payments request recieved!!! for this amount >>> 0 {"user":"Payments request recieved!!! for this amount >>> 0","metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"\u001b[90m> \u001b[39m Payments request recieved!!! for this amount >>> 0"}}
[debug] [2021-11-24T14:41:11.351Z] [runtime-status] [11336] Ephemeral server survived. {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [11336] Ephemeral server survived."}}
[info] > (node:11336) UnhandledPromiseRejectionWarning: Error: This value must be greater than or equal to 1. {"user":"(node:11336) UnhandledPromiseRejectionWarning: Error: This value must be greater than or equal to 1.","metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"\u001b[90m> \u001b[39m (node:11336) UnhandledPromiseRejectionWarning: Error: This value must be greater than or equal to 1."}}
[info] > at Function.generate (C:\Users\acer\Desktop\Amazon Clone -1\amazon-clone\functions\node_modules\stripe\lib\Error.js:40:16) {"user":" at Function.generate (C:\\Users\\acer\\Desktop\\Amazon Clone -1\\amazon-clone\\functions\\node_modules\\stripe\\lib\\Error.js:40:16)","metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"\u001b[90m> \u001b[39m at Function.generate (C:\\Users\\acer\\Desktop\\Amazon Clone -1\\amazon-clone\\functions\\node_modules\\stripe\\lib\\Error.js:40:16)"}}
[info] > at res.toJSON.then.StripeAPIError.message (C:\Users\acer\Desktop\Amazon Clone -1\amazon-clone\functions\node_modules\stripe\lib\StripeResource.js:220:35) {"user":" at res.toJSON.then.StripeAPIError.message (C:\\Users\\acer\\Desktop\\Amazon Clone -1\\amazon-clone\\functions\\node_modules\\stripe\\lib\\StripeResource.js:220:35)","metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"\u001b[90m> \u001b[39m at res.toJSON.then.StripeAPIError.message (C:\\Users\\acer\\Desktop\\Amazon Clone -1\\amazon-clone\\functions\\node_modules\\stripe\\lib\\StripeResource.js:220:35)"}}
[info] > at processTicksAndRejections (internal/process/task_queues.js:93:5) {"user":" at processTicksAndRejections (internal/process/task_queues.js:93:5)","metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"\u001b[90m> \u001b[39m at processTicksAndRejections (internal/process/task_queues.js:93:5)"}}
[info] > (Use `node --trace-warnings ...` to show where the warning was created) {"user":"(Use `node --trace-warnings ...` to show where the warning was created)","metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"\u001b[90m> \u001b[39m (Use `node --trace-warnings ...` to show where the warning was created)"}}
[info] > (node:11336) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1) {"user":"(node:11336) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)","metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"\u001b[90m> \u001b[39m (node:11336) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)"}}
[info] > (node:11336) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code. {"user":"(node:11336) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.","metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"\u001b[90m> \u001b[39m (node:11336) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code."}}
[warn] ! functions: Your function timed out after ~60s. To configure this timeout, see
https://firebase.google.com/docs/functions/manage-functions#set_timeout_and_memory_allocation. {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"Your function timed out after ~60s. To configure this timeout, see\n https://firebase.google.com/docs/functions/manage-functions#set_timeout_and_memory_allocation."}}
[info] > C:\Users\acer\AppData\Roaming\npm\node_modules\firebase-tools\lib\emulator\functionsEmulatorRuntime.js:604 {"user":"C:\\Users\\acer\\AppData\\Roaming\\npm\\node_modules\\firebase-tools\\lib\\emulator\\functionsEmulatorRuntime.js:604\r","metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"\u001b[90m> \u001b[39m C:\\Users\\acer\\AppData\\Roaming\\npm\\node_modules\\firebase-tools\\lib\\emulator\\functionsEmulatorRuntime.js:604\r"}}
[info] > throw new Error("Function timed out."); {"user":" throw new Error(\"Function timed out.\");\r","metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"\u001b[90m> \u001b[39m throw new Error(\"Function timed out.\");\r"}}
[info] > ^ {"user":" ^\r","metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"\u001b[90m> \u001b[39m ^\r"}}
[info] > {"user":"\r","metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"\u001b[90m> \u001b[39m \r"}}
[info] > Error: Function timed out. {"user":"Error: Function timed out.\r","metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"\u001b[90m> \u001b[39m Error: Function timed out.\r"}}
[info] > at Timeout._onTimeout (C:\Users\acer\AppData\Roaming\npm\node_modules\firebase-tools\lib\emulator\functionsEmulatorRuntime.js:604:19) {"user":" at Timeout._onTimeout (C:\\Users\\acer\\AppData\\Roaming\\npm\\node_modules\\firebase-tools\\lib\\emulator\\functionsEmulatorRuntime.js:604:19)\r","metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"\u001b[90m> \u001b[39m at Timeout._onTimeout (C:\\Users\\acer\\AppData\\Roaming\\npm\\node_modules\\firebase-tools\\lib\\emulator\\functionsEmulatorRuntime.js:604:19)\r"}}
[info] > at listOnTimeout (internal/timers.js:554:17) {"user":" at listOnTimeout (internal/timers.js:554:17)\r","metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"\u001b[90m> \u001b[39m at listOnTimeout (internal/timers.js:554:17)\r"}}
[info] > at processTimers (internal/timers.js:497:7) {"user":" at processTimers (internal/timers.js:497:7)\r","metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"\u001b[90m> \u001b[39m at processTimers (internal/timers.js:497:7)\r"}}
[debug] [2021-11-24T14:42:11.472Z] [worker-us-central1-api-79b83778-7c55-4470-a871-01140cba08ef]: exited {"metadata":{"emulator":{"name":"functions"},"message":"[worker-us-central1-api-79b83778-7c55-4470-a871-01140cba08ef]: exited"}}
[debug] [2021-11-24T14:42:11.473Z] [worker-us-central1-api-79b83778-7c55-4470-a871-01140cba08ef]: FINISHED {"metadata":{"emulator":{"name":"functions"},"message":"[worker-us-central1-api-79b83778-7c55-4470-a871-01140cba08ef]: FINISHED"}}
[debug] [2021-11-24T14:42:11.473Z] [work-queue] {"queueLength":0,"workRunningCount":0}
[debug] [2021-11-24T14:42:16.811Z] [work-queue] {"queueLength":1,"workRunningCount":0}
[debug] [2021-11-24T14:42:16.812Z] [work-queue] {"queueLength":0,"workRunningCount":1}
[debug] [2021-11-24T14:42:16.812Z] Accepted request POST /ecommerce-clone-frontend/us-central1/api/payments/create?total=206194.99999999997 --> us-central1-api
[debug] [2021-11-24T14:42:16.812Z] [worker-pool] Cleaned up workers for us-central1-api: 1 --> 0 {"metadata":{"emulator":{"name":"functions"},"message":"[worker-pool] Cleaned up workers for us-central1-api: 1 --> 0"}}
[debug] [2021-11-24T14:42:16.827Z] [worker-pool] addWorker(us-central1-api) {"metadata":{"emulator":{"name":"functions"},"message":"[worker-pool] addWorker(us-central1-api)"}}
[debug] [2021-11-24T14:42:16.828Z] [worker-pool] Adding worker with key us-central1-api, total=1 {"metadata":{"emulator":{"name":"functions"},"message":"[worker-pool] Adding worker with key us-central1-api, total=1"}}
[debug] [2021-11-24T14:42:16.828Z] [worker-pool] submitWork(triggerId=us-central1-api) {"metadata":{"emulator":{"name":"functions"},"message":"[worker-pool] submitWork(triggerId=us-central1-api)"}}
[debug] [2021-11-24T14:42:16.828Z] [worker-us-central1-api-d1c8375a-17da-47cd-9959-4fa993085233]: Assigning socketPath: \\?\pipe\C:\Users\acer\Desktop\Amazon Clone -1\amazon-clone\functions\2884 {"metadata":{"emulator":{"name":"functions"},"message":"[worker-us-central1-api-d1c8375a-17da-47cd-9959-4fa993085233]: Assigning socketPath: \\\\?\\pipe\\C:\\Users\\acer\\Desktop\\Amazon Clone -1\\amazon-clone\\functions\\2884"}}
[debug] [2021-11-24T14:42:16.829Z] [worker-us-central1-api-d1c8375a-17da-47cd-9959-4fa993085233]: BUSY {"metadata":{"emulator":{"name":"functions"},"message":"[worker-us-central1-api-d1c8375a-17da-47cd-9959-4fa993085233]: BUSY"}}
[debug] [2021-11-24T14:42:17.337Z] [runtime-status] [2884] Functions runtime initialized. {"cwd":"C:\\Users\\acer\\Desktop\\Amazon Clone -1\\amazon-clone\\functions","node_version":"14.16.0"} {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [2884] Functions runtime initialized. {\"cwd\":\"C:\\\\Users\\\\acer\\\\Desktop\\\\Amazon Clone -1\\\\amazon-clone\\\\functions\",\"node_version\":\"14.16.0\"}"}}
[debug] [2021-11-24T14:42:17.342Z] [runtime-status] [2884] Disabled runtime features: undefined {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [2884] Disabled runtime features: undefined"}}
[debug] [2021-11-24T14:42:17.350Z] [runtime-status] [2884] Resolved module firebase-admin {"declared":true,"installed":true,"version":"9.12.0","resolution":"C:\\Users\\acer\\Desktop\\Amazon Clone -1\\amazon-clone\\functions\\node_modules\\firebase-admin\\lib\\index.js"} {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [2884] Resolved module firebase-admin {\"declared\":true,\"installed\":true,\"version\":\"9.12.0\",\"resolution\":\"C:\\\\Users\\\\acer\\\\Desktop\\\\Amazon Clone -1\\\\amazon-clone\\\\functions\\\\node_modules\\\\firebase-admin\\\\lib\\\\index.js\"}"}}
[debug] [2021-11-24T14:42:17.358Z] [runtime-status] [2884] Resolved module firebase-functions {"declared":true,"installed":true,"version":"3.16.0","resolution":"C:\\Users\\acer\\Desktop\\Amazon Clone -1\\amazon-clone\\functions\\node_modules\\firebase-functions\\lib\\index.js"} {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [2884] Resolved module firebase-functions {\"declared\":true,\"installed\":true,\"version\":\"3.16.0\",\"resolution\":\"C:\\\\Users\\\\acer\\\\Desktop\\\\Amazon Clone -1\\\\amazon-clone\\\\functions\\\\node_modules\\\\firebase-functions\\\\lib\\\\index.js\"}"}}
[debug] [2021-11-24T14:42:17.362Z] [runtime-status] [2884] Outgoing network have been stubbed. [{"name":"http","status":"mocked"},{"name":"http","status":"mocked"},{"name":"https","status":"mocked"},{"name":"https","status":"mocked"},{"name":"net","status":"mocked"}] {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [2884] Outgoing network have been stubbed. [{\"name\":\"http\",\"status\":\"mocked\"},{\"name\":\"http\",\"status\":\"mocked\"},{\"name\":\"https\",\"status\":\"mocked\"},{\"name\":\"https\",\"status\":\"mocked\"},{\"name\":\"net\",\"status\":\"mocked\"}]"}}
[debug] [2021-11-24T14:42:17.364Z] [runtime-status] [2884] Resolved module firebase-functions {"declared":true,"installed":true,"version":"3.16.0","resolution":"C:\\Users\\acer\\Desktop\\Amazon Clone -1\\amazon-clone\\functions\\node_modules\\firebase-functions\\lib\\index.js"} {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [2884] Resolved module firebase-functions {\"declared\":true,\"installed\":true,\"version\":\"3.16.0\",\"resolution\":\"C:\\\\Users\\\\acer\\\\Desktop\\\\Amazon Clone -1\\\\amazon-clone\\\\functions\\\\node_modules\\\\firebase-functions\\\\lib\\\\index.js\"}"}}
[debug] [2021-11-24T14:42:17.481Z] [runtime-status] [2884] Checked functions.config() {"config":{}} {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [2884] Checked functions.config() {\"config\":{}}"}}
[debug] [2021-11-24T14:42:17.481Z] [runtime-status] [2884] firebase-functions has been stubbed. {"functionsResolution":{"declared":true,"installed":true,"version":"3.16.0","resolution":"C:\\Users\\acer\\Desktop\\Amazon Clone -1\\amazon-clone\\functions\\node_modules\\firebase-functions\\lib\\index.js"}} {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [2884] firebase-functions has been stubbed. {\"functionsResolution\":{\"declared\":true,\"installed\":true,\"version\":\"3.16.0\",\"resolution\":\"C:\\\\Users\\\\acer\\\\Desktop\\\\Amazon Clone -1\\\\amazon-clone\\\\functions\\\\node_modules\\\\firebase-functions\\\\lib\\\\index.js\"}}"}}
[debug] [2021-11-24T14:42:17.483Z] [runtime-status] [2884] Resolved module firebase-functions {"declared":true,"installed":true,"version":"3.16.0","resolution":"C:\\Users\\acer\\Desktop\\Amazon Clone -1\\amazon-clone\\functions\\node_modules\\firebase-functions\\lib\\index.js"} {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [2884] Resolved module firebase-functions {\"declared\":true,\"installed\":true,\"version\":\"3.16.0\",\"resolution\":\"C:\\\\Users\\\\acer\\\\Desktop\\\\Amazon Clone -1\\\\amazon-clone\\\\functions\\\\node_modules\\\\firebase-functions\\\\lib\\\\index.js\"}"}}
[debug] [2021-11-24T14:42:17.486Z] [runtime-status] [2884] Resolved module firebase-admin {"declared":true,"installed":true,"version":"9.12.0","resolution":"C:\\Users\\acer\\Desktop\\Amazon Clone -1\\amazon-clone\\functions\\node_modules\\firebase-admin\\lib\\index.js"} {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [2884] Resolved module firebase-admin {\"declared\":true,\"installed\":true,\"version\":\"9.12.0\",\"resolution\":\"C:\\\\Users\\\\acer\\\\Desktop\\\\Amazon Clone -1\\\\amazon-clone\\\\functions\\\\node_modules\\\\firebase-admin\\\\lib\\\\index.js\"}"}}
[debug] [2021-11-24T14:42:17.489Z] [runtime-status] [2884] Resolved module firebase-functions {"declared":true,"installed":true,"version":"3.16.0","resolution":"C:\\Users\\acer\\Desktop\\Amazon Clone -1\\amazon-clone\\functions\\node_modules\\firebase-functions\\lib\\index.js"} {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [2884] Resolved module firebase-functions {\"declared\":true,\"installed\":true,\"version\":\"3.16.0\",\"resolution\":\"C:\\\\Users\\\\acer\\\\Desktop\\\\Amazon Clone -1\\\\amazon-clone\\\\functions\\\\node_modules\\\\firebase-functions\\\\lib\\\\index.js\"}"}}
[debug] [2021-11-24T14:42:17.490Z] [runtime-status] [2884] firebase-admin has been stubbed. {"adminResolution":{"declared":true,"installed":true,"version":"9.12.0","resolution":"C:\\Users\\acer\\Desktop\\Amazon Clone -1\\amazon-clone\\functions\\node_modules\\firebase-admin\\lib\\index.js"}} {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [2884] firebase-admin has been stubbed. {\"adminResolution\":{\"declared\":true,\"installed\":true,\"version\":\"9.12.0\",\"resolution\":\"C:\\\\Users\\\\acer\\\\Desktop\\\\Amazon Clone -1\\\\amazon-clone\\\\functions\\\\node_modules\\\\firebase-admin\\\\lib\\\\index.js\"}}"}}
[debug] [2021-11-24T14:42:17.945Z] [runtime-status] [2884] Trigger "us-central1-api" has been found, beginning invocation! {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [2884] Trigger \"us-central1-api\" has been found, beginning invocation!"}}
[info] i functions: Beginning execution of "us-central1-api" {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"Beginning execution of \"us-central1-api\""}}
[debug] [2021-11-24T14:42:17.948Z] [runtime-status] [2884] triggerDefinition {"httpsTrigger":{},"name":"api","entryPoint":"api","regions":["us-central1"],"region":"us-central1","id":"us-central1-api"} {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [2884] triggerDefinition {\"httpsTrigger\":{},\"name\":\"api\",\"entryPoint\":\"api\",\"regions\":[\"us-central1\"],\"region\":\"us-central1\",\"id\":\"us-central1-api\"}"}}
[debug] [2021-11-24T14:42:17.948Z] [runtime-status] [2884] Running us-central1-api in signature http {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [2884] Running us-central1-api in signature http"}}
[debug] [2021-11-24T14:42:17.957Z] [runtime-status] [2884] Attempting to listen to socketPath: \\?\pipe\C:\Users\acer\Desktop\Amazon Clone -1\amazon-clone\functions\2884 {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [2884] Attempting to listen to socketPath: \\\\?\\pipe\\C:\\Users\\acer\\Desktop\\Amazon Clone -1\\amazon-clone\\functions\\2884"}}
[debug] [2021-11-24T14:42:17.966Z] [functions] Runtime ready! Sending request! {"metadata":{"emulator":{"name":"functions"},"message":"[functions] Runtime ready! Sending request!"}}
[debug] [2021-11-24T14:42:17.966Z] [functions] Got req.url=/ecommerce-clone-frontend/us-central1/api/payments/create?total=206194.99999999997, mapping to path=/payments/create?total=206194.99999999997 {"metadata":{"emulator":{"name":"functions"},"message":"[functions] Got req.url=/ecommerce-clone-frontend/us-central1/api/payments/create?total=206194.99999999997, mapping to path=/payments/create?total=206194.99999999997"}}
[debug] [2021-11-24T14:42:17.984Z] [runtime-status] [2884] Ephemeral server handling POST request {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [2884] Ephemeral server handling POST request"}}
[info] > Payments request recieved!!! for this amount >>> 206194.99999999997 {"user":"Payments request recieved!!! for this amount >>> 206194.99999999997","metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"\u001b[90m> \u001b[39m Payments request recieved!!! for this amount >>> 206194.99999999997"}}
[debug] [2021-11-24T14:42:18.020Z] [runtime-status] [2884] Ephemeral server survived. {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [2884] Ephemeral server survived."}}
[info] > (node:2884) UnhandledPromiseRejectionWarning: Error: Invalid integer: 206194.99999999997 {"user":"(node:2884) UnhandledPromiseRejectionWarning: Error: Invalid integer: 206194.99999999997","metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"\u001b[90m> \u001b[39m (node:2884) UnhandledPromiseRejectionWarning: Error: Invalid integer: 206194.99999999997"}}
[info] > at Function.generate (C:\Users\acer\Desktop\Amazon Clone -1\amazon-clone\functions\node_modules\stripe\lib\Error.js:40:16) {"user":" at Function.generate (C:\\Users\\acer\\Desktop\\Amazon Clone -1\\amazon-clone\\functions\\node_modules\\stripe\\lib\\Error.js:40:16)","metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"\u001b[90m> \u001b[39m at Function.generate (C:\\Users\\acer\\Desktop\\Amazon Clone -1\\amazon-clone\\functions\\node_modules\\stripe\\lib\\Error.js:40:16)"}}
[info] > at res.toJSON.then.StripeAPIError.message (C:\Users\acer\Desktop\Amazon Clone -1\amazon-clone\functions\node_modules\stripe\lib\StripeResource.js:220:35) {"user":" at res.toJSON.then.StripeAPIError.message (C:\\Users\\acer\\Desktop\\Amazon Clone -1\\amazon-clone\\functions\\node_modules\\stripe\\lib\\StripeResource.js:220:35)","metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"\u001b[90m> \u001b[39m at res.toJSON.then.StripeAPIError.message (C:\\Users\\acer\\Desktop\\Amazon Clone -1\\amazon-clone\\functions\\node_modules\\stripe\\lib\\StripeResource.js:220:35)"}}
[info] > at processTicksAndRejections (internal/process/task_queues.js:93:5) {"user":" at processTicksAndRejections (internal/process/task_queues.js:93:5)","metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"\u001b[90m> \u001b[39m at processTicksAndRejections (internal/process/task_queues.js:93:5)"}}
[info] > (Use `node --trace-warnings ...` to show where the warning was created) {"user":"(Use `node --trace-warnings ...` to show where the warning was created)","metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"\u001b[90m> \u001b[39m (Use `node --trace-warnings ...` to show where the warning was created)"}}
[info] > (node:2884) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1) {"user":"(node:2884) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)","metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"\u001b[90m> \u001b[39m (node:2884) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)"}}
[info] > (node:2884) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code. {"user":"(node:2884) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.","metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"\u001b[90m> \u001b[39m (node:2884) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code."}}
[debug] [2021-11-24T14:42:47.531Z] [work-queue] {"queueLength":1,"workRunningCount":1}
[debug] [2021-11-24T14:42:47.532Z] [work-queue] {"queueLength":0,"workRunningCount":2}
[debug] [2021-11-24T14:42:47.532Z] Accepted request POST /ecommerce-clone-frontend/us-central1/api/payments/create?total=196296 --> us-central1-api
[debug] [2021-11-24T14:42:47.543Z] [worker-pool] addWorker(us-central1-api) {"metadata":{"emulator":{"name":"functions"},"message":"[worker-pool] addWorker(us-central1-api)"}}
[debug] [2021-11-24T14:42:47.543Z] [worker-pool] Adding worker with key us-central1-api, total=2 {"metadata":{"emulator":{"name":"functions"},"message":"[worker-pool] Adding worker with key us-central1-api, total=2"}}
[debug] [2021-11-24T14:42:47.543Z] [worker-pool] submitWork(triggerId=us-central1-api) {"metadata":{"emulator":{"name":"functions"},"message":"[worker-pool] submitWork(triggerId=us-central1-api)"}}
[debug] [2021-11-24T14:42:47.544Z] [worker-us-central1-api-c633278a-2268-432b-b2d2-c9080d64dc0e]: Assigning socketPath: \\?\pipe\C:\Users\acer\Desktop\Amazon Clone -1\amazon-clone\functions\12116 {"metadata":{"emulator":{"name":"functions"},"message":"[worker-us-central1-api-c633278a-2268-432b-b2d2-c9080d64dc0e]: Assigning socketPath: \\\\?\\pipe\\C:\\Users\\acer\\Desktop\\Amazon Clone -1\\amazon-clone\\functions\\12116"}}
[debug] [2021-11-24T14:42:47.544Z] [worker-us-central1-api-c633278a-2268-432b-b2d2-c9080d64dc0e]: BUSY {"metadata":{"emulator":{"name":"functions"},"message":"[worker-us-central1-api-c633278a-2268-432b-b2d2-c9080d64dc0e]: BUSY"}}
[debug] [2021-11-24T14:42:48.012Z] [runtime-status] [12116] Functions runtime initialized. {"cwd":"C:\\Users\\acer\\Desktop\\Amazon Clone -1\\amazon-clone\\functions","node_version":"14.16.0"} {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [12116] Functions runtime initialized. {\"cwd\":\"C:\\\\Users\\\\acer\\\\Desktop\\\\Amazon Clone -1\\\\amazon-clone\\\\functions\",\"node_version\":\"14.16.0\"}"}}
[debug] [2021-11-24T14:42:48.017Z] [runtime-status] [12116] Disabled runtime features: undefined {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [12116] Disabled runtime features: undefined"}}
[debug] [2021-11-24T14:42:48.025Z] [runtime-status] [12116] Resolved module firebase-admin {"declared":true,"installed":true,"version":"9.12.0","resolution":"C:\\Users\\acer\\Desktop\\Amazon Clone -1\\amazon-clone\\functions\\node_modules\\firebase-admin\\lib\\index.js"} {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [12116] Resolved module firebase-admin {\"declared\":true,\"installed\":true,\"version\":\"9.12.0\",\"resolution\":\"C:\\\\Users\\\\acer\\\\Desktop\\\\Amazon Clone -1\\\\amazon-clone\\\\functions\\\\node_modules\\\\firebase-admin\\\\lib\\\\index.js\"}"}}
[debug] [2021-11-24T14:42:48.033Z] [runtime-status] [12116] Resolved module firebase-functions {"declared":true,"installed":true,"version":"3.16.0","resolution":"C:\\Users\\acer\\Desktop\\Amazon Clone -1\\amazon-clone\\functions\\node_modules\\firebase-functions\\lib\\index.js"} {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [12116] Resolved module firebase-functions {\"declared\":true,\"installed\":true,\"version\":\"3.16.0\",\"resolution\":\"C:\\\\Users\\\\acer\\\\Desktop\\\\Amazon Clone -1\\\\amazon-clone\\\\functions\\\\node_modules\\\\firebase-functions\\\\lib\\\\index.js\"}"}}
[debug] [2021-11-24T14:42:48.037Z] [runtime-status] [12116] Outgoing network have been stubbed. [{"name":"http","status":"mocked"},{"name":"http","status":"mocked"},{"name":"https","status":"mocked"},{"name":"https","status":"mocked"},{"name":"net","status":"mocked"}] {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [12116] Outgoing network have been stubbed. [{\"name\":\"http\",\"status\":\"mocked\"},{\"name\":\"http\",\"status\":\"mocked\"},{\"name\":\"https\",\"status\":\"mocked\"},{\"name\":\"https\",\"status\":\"mocked\"},{\"name\":\"net\",\"status\":\"mocked\"}]"}}
[debug] [2021-11-24T14:42:48.039Z] [runtime-status] [12116] Resolved module firebase-functions {"declared":true,"installed":true,"version":"3.16.0","resolution":"C:\\Users\\acer\\Desktop\\Amazon Clone -1\\amazon-clone\\functions\\node_modules\\firebase-functions\\lib\\index.js"} {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [12116] Resolved module firebase-functions {\"declared\":true,\"installed\":true,\"version\":\"3.16.0\",\"resolution\":\"C:\\\\Users\\\\acer\\\\Desktop\\\\Amazon Clone -1\\\\amazon-clone\\\\functions\\\\node_modules\\\\firebase-functions\\\\lib\\\\index.js\"}"}}
[debug] [2021-11-24T14:42:48.154Z] [runtime-status] [12116] Checked functions.config() {"config":{}} {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [12116] Checked functions.config() {\"config\":{}}"}}
[debug] [2021-11-24T14:42:48.155Z] [runtime-status] [12116] firebase-functions has been stubbed. {"functionsResolution":{"declared":true,"installed":true,"version":"3.16.0","resolution":"C:\\Users\\acer\\Desktop\\Amazon Clone -1\\amazon-clone\\functions\\node_modules\\firebase-functions\\lib\\index.js"}} {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [12116] firebase-functions has been stubbed. {\"functionsResolution\":{\"declared\":true,\"installed\":true,\"version\":\"3.16.0\",\"resolution\":\"C:\\\\Users\\\\acer\\\\Desktop\\\\Amazon Clone -1\\\\amazon-clone\\\\functions\\\\node_modules\\\\firebase-functions\\\\lib\\\\index.js\"}}"}}
[debug] [2021-11-24T14:42:48.157Z] [runtime-status] [12116] Resolved module firebase-functions {"declared":true,"installed":true,"version":"3.16.0","resolution":"C:\\Users\\acer\\Desktop\\Amazon Clone -1\\amazon-clone\\functions\\node_modules\\firebase-functions\\lib\\index.js"} {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [12116] Resolved module firebase-functions {\"declared\":true,\"installed\":true,\"version\":\"3.16.0\",\"resolution\":\"C:\\\\Users\\\\acer\\\\Desktop\\\\Amazon Clone -1\\\\amazon-clone\\\\functions\\\\node_modules\\\\firebase-functions\\\\lib\\\\index.js\"}"}}
[debug] [2021-11-24T14:42:48.160Z] [runtime-status] [12116] Resolved module firebase-admin {"declared":true,"installed":true,"version":"9.12.0","resolution":"C:\\Users\\acer\\Desktop\\Amazon Clone -1\\amazon-clone\\functions\\node_modules\\firebase-admin\\lib\\index.js"} {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [12116] Resolved module firebase-admin {\"declared\":true,\"installed\":true,\"version\":\"9.12.0\",\"resolution\":\"C:\\\\Users\\\\acer\\\\Desktop\\\\Amazon Clone -1\\\\amazon-clone\\\\functions\\\\node_modules\\\\firebase-admin\\\\lib\\\\index.js\"}"}}
[debug] [2021-11-24T14:42:48.162Z] [runtime-status] [12116] Resolved module firebase-functions {"declared":true,"installed":true,"version":"3.16.0","resolution":"C:\\Users\\acer\\Desktop\\Amazon Clone -1\\amazon-clone\\functions\\node_modules\\firebase-functions\\lib\\index.js"} {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [12116] Resolved module firebase-functions {\"declared\":true,\"installed\":true,\"version\":\"3.16.0\",\"resolution\":\"C:\\\\Users\\\\acer\\\\Desktop\\\\Amazon Clone -1\\\\amazon-clone\\\\functions\\\\node_modules\\\\firebase-functions\\\\lib\\\\index.js\"}"}}
[debug] [2021-11-24T14:42:48.164Z] [runtime-status] [12116] firebase-admin has been stubbed. {"adminResolution":{"declared":true,"installed":true,"version":"9.12.0","resolution":"C:\\Users\\acer\\Desktop\\Amazon Clone -1\\amazon-clone\\functions\\node_modules\\firebase-admin\\lib\\index.js"}} {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [12116] firebase-admin has been stubbed. {\"adminResolution\":{\"declared\":true,\"installed\":true,\"version\":\"9.12.0\",\"resolution\":\"C:\\\\Users\\\\acer\\\\Desktop\\\\Amazon Clone -1\\\\amazon-clone\\\\functions\\\\node_modules\\\\firebase-admin\\\\lib\\\\index.js\"}}"}}
[debug] [2021-11-24T14:42:48.601Z] [runtime-status] [12116] Trigger "us-central1-api" has been found, beginning invocation! {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [12116] Trigger \"us-central1-api\" has been found, beginning invocation!"}}
[info] i functions: Beginning execution of "us-central1-api" {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"Beginning execution of \"us-central1-api\""}}
[debug] [2021-11-24T14:42:48.603Z] [runtime-status] [12116] triggerDefinition {"httpsTrigger":{},"name":"api","entryPoint":"api","regions":["us-central1"],"region":"us-central1","id":"us-central1-api"} {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [12116] triggerDefinition {\"httpsTrigger\":{},\"name\":\"api\",\"entryPoint\":\"api\",\"regions\":[\"us-central1\"],\"region\":\"us-central1\",\"id\":\"us-central1-api\"}"}}
[debug] [2021-11-24T14:42:48.604Z] [runtime-status] [12116] Running us-central1-api in signature http {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [12116] Running us-central1-api in signature http"}}
[debug] [2021-11-24T14:42:48.612Z] [runtime-status] [12116] Attempting to listen to socketPath: \\?\pipe\C:\Users\acer\Desktop\Amazon Clone -1\amazon-clone\functions\12116 {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [12116] Attempting to listen to socketPath: \\\\?\\pipe\\C:\\Users\\acer\\Desktop\\Amazon Clone -1\\amazon-clone\\functions\\12116"}}
[debug] [2021-11-24T14:42:48.618Z] [functions] Runtime ready! Sending request! {"metadata":{"emulator":{"name":"functions"},"message":"[functions] Runtime ready! Sending request!"}}
[debug] [2021-11-24T14:42:48.619Z] [functions] Got req.url=/ecommerce-clone-frontend/us-central1/api/payments/create?total=196296, mapping to path=/payments/create?total=196296 {"metadata":{"emulator":{"name":"functions"},"message":"[functions] Got req.url=/ecommerce-clone-frontend/us-central1/api/payments/create?total=196296, mapping to path=/payments/create?total=196296"}}
[debug] [2021-11-24T14:42:48.635Z] [runtime-status] [12116] Ephemeral server handling POST request {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [12116] Ephemeral server handling POST request"}}
[info] > Payments request recieved!!! for this amount >>> 196296 {"user":"Payments request recieved!!! for this amount >>> 196296","metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"\u001b[90m> \u001b[39m Payments request recieved!!! for this amount >>> 196296"}}
[debug] [2021-11-24T14:42:48.667Z] [runtime-status] [12116] Ephemeral server survived. {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [12116] Ephemeral server survived."}}
[info] i functions: Finished "us-central1-api" in ~1s {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"Finished \"us-central1-api\" in ~1s"}}
[debug] [2021-11-24T14:42:49.286Z] [worker-us-central1-api-c633278a-2268-432b-b2d2-c9080d64dc0e]: IDLE {"metadata":{"emulator":{"name":"functions"},"message":"[worker-us-central1-api-c633278a-2268-432b-b2d2-c9080d64dc0e]: IDLE"}}
[debug] [2021-11-24T14:42:49.287Z] [work-queue] {"queueLength":0,"workRunningCount":1}
[debug] [2021-11-24T14:42:55.986Z] [work-queue] {"queueLength":1,"workRunningCount":1}
[debug] [2021-11-24T14:42:55.986Z] [work-queue] {"queueLength":0,"workRunningCount":2}
[debug] [2021-11-24T14:42:55.986Z] Accepted request POST /ecommerce-clone-frontend/us-central1/api/payments/create?total=86798 --> us-central1-api
[debug] [2021-11-24T14:42:55.987Z] [worker-pool] submitWork(triggerId=us-central1-api) {"metadata":{"emulator":{"name":"functions"},"message":"[worker-pool] submitWork(triggerId=us-central1-api)"}}
[debug] [2021-11-24T14:42:55.987Z] [worker-us-central1-api-c633278a-2268-432b-b2d2-c9080d64dc0e]: Assigning socketPath: \\?\pipe\C:\Users\acer\Desktop\Amazon Clone -1\amazon-clone\functions\12116 {"metadata":{"emulator":{"name":"functions"},"message":"[worker-us-central1-api-c633278a-2268-432b-b2d2-c9080d64dc0e]: Assigning socketPath: \\\\?\\pipe\\C:\\Users\\acer\\Desktop\\Amazon Clone -1\\amazon-clone\\functions\\12116"}}
[debug] [2021-11-24T14:42:55.988Z] [worker-us-central1-api-c633278a-2268-432b-b2d2-c9080d64dc0e]: BUSY {"metadata":{"emulator":{"name":"functions"},"message":"[worker-us-central1-api-c633278a-2268-432b-b2d2-c9080d64dc0e]: BUSY"}}
[debug] [2021-11-24T14:42:55.988Z] [runtime-status] [12116] Trigger "us-central1-api" has been found, beginning invocation! {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [12116] Trigger \"us-central1-api\" has been found, beginning invocation!"}}
[info] i functions: Beginning execution of "us-central1-api" {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"Beginning execution of \"us-central1-api\""}}
[debug] [2021-11-24T14:42:55.990Z] [runtime-status] [12116] triggerDefinition {"httpsTrigger":{},"name":"api","entryPoint":"api","regions":["us-central1"],"region":"us-central1","id":"us-central1-api"} {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [12116] triggerDefinition {\"httpsTrigger\":{},\"name\":\"api\",\"entryPoint\":\"api\",\"regions\":[\"us-central1\"],\"region\":\"us-central1\",\"id\":\"us-central1-api\"}"}}
[debug] [2021-11-24T14:42:55.991Z] [runtime-status] [12116] Running us-central1-api in signature http {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [12116] Running us-central1-api in signature http"}}
[debug] [2021-11-24T14:42:55.992Z] [runtime-status] [12116] Attempting to listen to socketPath: \\?\pipe\C:\Users\acer\Desktop\Amazon Clone -1\amazon-clone\functions\12116 {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [12116] Attempting to listen to socketPath: \\\\?\\pipe\\C:\\Users\\acer\\Desktop\\Amazon Clone -1\\amazon-clone\\functions\\12116"}}
[debug] [2021-11-24T14:42:55.994Z] [functions] Runtime ready! Sending request! {"metadata":{"emulator":{"name":"functions"},"message":"[functions] Runtime ready! Sending request!"}}
[debug] [2021-11-24T14:42:55.995Z] [functions] Got req.url=/ecommerce-clone-frontend/us-central1/api/payments/create?total=86798, mapping to path=/payments/create?total=86798 {"metadata":{"emulator":{"name":"functions"},"message":"[functions] Got req.url=/ecommerce-clone-frontend/us-central1/api/payments/create?total=86798, mapping to path=/payments/create?total=86798"}}
[debug] [2021-11-24T14:42:56.000Z] [runtime-status] [12116] Ephemeral server handling POST request {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [12116] Ephemeral server handling POST request"}}
[info] > Payments request recieved!!! for this amount >>> 86798 {"user":"Payments request recieved!!! for this amount >>> 86798","metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"\u001b[90m> \u001b[39m Payments request recieved!!! for this amount >>> 86798"}}
[debug] [2021-11-24T14:42:56.003Z] [runtime-status] [12116] Ephemeral server survived. {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [12116] Ephemeral server survived."}}
[info] i functions: Finished "us-central1-api" in ~1s {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"Finished \"us-central1-api\" in ~1s"}}
[debug] [2021-11-24T14:42:56.335Z] [worker-us-central1-api-c633278a-2268-432b-b2d2-c9080d64dc0e]: IDLE {"metadata":{"emulator":{"name":"functions"},"message":"[worker-us-central1-api-c633278a-2268-432b-b2d2-c9080d64dc0e]: IDLE"}}
[debug] [2021-11-24T14:42:56.335Z] [work-queue] {"queueLength":0,"workRunningCount":1}
[warn] ! functions: Your function timed out after ~60s. To configure this timeout, see
https://firebase.google.com/docs/functions/manage-functions#set_timeout_and_memory_allocation. {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"Your function timed out after ~60s. To configure this timeout, see\n https://firebase.google.com/docs/functions/manage-functions#set_timeout_and_memory_allocation."}}
[info] > C:\Users\acer\AppData\Roaming\npm\node_modules\firebase-tools\lib\emulator\functionsEmulatorRuntime.js:604 {"user":"C:\\Users\\acer\\AppData\\Roaming\\npm\\node_modules\\firebase-tools\\lib\\emulator\\functionsEmulatorRuntime.js:604\r","metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"\u001b[90m> \u001b[39m C:\\Users\\acer\\AppData\\Roaming\\npm\\node_modules\\firebase-tools\\lib\\emulator\\functionsEmulatorRuntime.js:604\r"}}
[info] > throw new Error("Function timed out."); {"user":" throw new Error(\"Function timed out.\");\r","metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"\u001b[90m> \u001b[39m throw new Error(\"Function timed out.\");\r"}}
[info] > ^ {"user":" ^\r","metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"\u001b[90m> \u001b[39m ^\r"}}
[info] > {"user":"\r","metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"\u001b[90m> \u001b[39m \r"}}
[info] > Error: Function timed out. {"user":"Error: Function timed out.\r","metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"\u001b[90m> \u001b[39m Error: Function timed out.\r"}}
[info] > at Timeout._onTimeout (C:\Users\acer\AppData\Roaming\npm\node_modules\firebase-tools\lib\emulator\functionsEmulatorRuntime.js:604:19) {"user":" at Timeout._onTimeout (C:\\Users\\acer\\AppData\\Roaming\\npm\\node_modules\\firebase-tools\\lib\\emulator\\functionsEmulatorRuntime.js:604:19)\r","metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"\u001b[90m> \u001b[39m at Timeout._onTimeout (C:\\Users\\acer\\AppData\\Roaming\\npm\\node_modules\\firebase-tools\\lib\\emulator\\functionsEmulatorRuntime.js:604:19)\r"}}
[info] > at listOnTimeout (internal/timers.js:554:17) {"user":" at listOnTimeout (internal/timers.js:554:17)\r","metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"\u001b[90m> \u001b[39m at listOnTimeout (internal/timers.js:554:17)\r"}}
[info] > at processTimers (internal/timers.js:497:7) {"user":" at processTimers (internal/timers.js:497:7)\r","metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"\u001b[90m> \u001b[39m at processTimers (internal/timers.js:497:7)\r"}}
[debug] [2021-11-24T14:43:17.972Z] [worker-us-central1-api-d1c8375a-17da-47cd-9959-4fa993085233]: exited {"metadata":{"emulator":{"name":"functions"},"message":"[worker-us-central1-api-d1c8375a-17da-47cd-9959-4fa993085233]: exited"}}
[debug] [2021-11-24T14:43:17.973Z] [worker-us-central1-api-d1c8375a-17da-47cd-9959-4fa993085233]: FINISHED {"metadata":{"emulator":{"name":"functions"},"message":"[worker-us-central1-api-d1c8375a-17da-47cd-9959-4fa993085233]: FINISHED"}}
[debug] [2021-11-24T14:43:17.973Z] [work-queue] {"queueLength":0,"workRunningCount":0}
[debug] [2021-11-24T14:49:21.351Z] [work-queue] {"queueLength":1,"workRunningCount":0}
[debug] [2021-11-24T14:49:21.352Z] [work-queue] {"queueLength":0,"workRunningCount":1}
[debug] [2021-11-24T14:49:21.352Z] Accepted request POST /ecommerce-clone-frontend/us-central1/api/payments/create?total=116696 --> us-central1-api
[debug] [2021-11-24T14:49:21.353Z] [worker-pool] Cleaned up workers for us-central1-api: 2 --> 1 {"metadata":{"emulator":{"name":"functions"},"message":"[worker-pool] Cleaned up workers for us-central1-api: 2 --> 1"}}
[debug] [2021-11-24T14:49:21.353Z] [worker-pool] submitWork(triggerId=us-central1-api) {"metadata":{"emulator":{"name":"functions"},"message":"[worker-pool] submitWork(triggerId=us-central1-api)"}}
[debug] [2021-11-24T14:49:21.353Z] [worker-us-central1-api-c633278a-2268-432b-b2d2-c9080d64dc0e]: Assigning socketPath: \\?\pipe\C:\Users\acer\Desktop\Amazon Clone -1\amazon-clone\functions\12116 {"metadata":{"emulator":{"name":"functions"},"message":"[worker-us-central1-api-c633278a-2268-432b-b2d2-c9080d64dc0e]: Assigning socketPath: \\\\?\\pipe\\C:\\Users\\acer\\Desktop\\Amazon Clone -1\\amazon-clone\\functions\\12116"}}
[debug] [2021-11-24T14:49:21.353Z] [worker-us-central1-api-c633278a-2268-432b-b2d2-c9080d64dc0e]: BUSY {"metadata":{"emulator":{"name":"functions"},"message":"[worker-us-central1-api-c633278a-2268-432b-b2d2-c9080d64dc0e]: BUSY"}}
[debug] [2021-11-24T14:49:21.358Z] [runtime-status] [12116] Trigger "us-central1-api" has been found, beginning invocation! {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [12116] Trigger \"us-central1-api\" has been found, beginning invocation!"}}
[info] i functions: Beginning execution of "us-central1-api" {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"Beginning execution of \"us-central1-api\""}}
[debug] [2021-11-24T14:49:21.361Z] [runtime-status] [12116] triggerDefinition {"httpsTrigger":{},"name":"api","entryPoint":"api","regions":["us-central1"],"region":"us-central1","id":"us-central1-api"} {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [12116] triggerDefinition {\"httpsTrigger\":{},\"name\":\"api\",\"entryPoint\":\"api\",\"regions\":[\"us-central1\"],\"region\":\"us-central1\",\"id\":\"us-central1-api\"}"}}
[debug] [2021-11-24T14:49:21.361Z] [runtime-status] [12116] Running us-central1-api in signature http {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [12116] Running us-central1-api in signature http"}}
[debug] [2021-11-24T14:49:21.362Z] [runtime-status] [12116] Attempting to listen to socketPath: \\?\pipe\C:\Users\acer\Desktop\Amazon Clone -1\amazon-clone\functions\12116 {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [12116] Attempting to listen to socketPath: \\\\?\\pipe\\C:\\Users\\acer\\Desktop\\Amazon Clone -1\\amazon-clone\\functions\\12116"}}
[debug] [2021-11-24T14:49:21.363Z] [functions] Runtime ready! Sending request! {"metadata":{"emulator":{"name":"functions"},"message":"[functions] Runtime ready! Sending request!"}}
[debug] [2021-11-24T14:49:21.364Z] [functions] Got req.url=/ecommerce-clone-frontend/us-central1/api/payments/create?total=116696, mapping to path=/payments/create?total=116696 {"metadata":{"emulator":{"name":"functions"},"message":"[functions] Got req.url=/ecommerce-clone-frontend/us-central1/api/payments/create?total=116696, mapping to path=/payments/create?total=116696"}}
[debug] [2021-11-24T14:49:21.370Z] [runtime-status] [12116] Ephemeral server handling POST request {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [12116] Ephemeral server handling POST request"}}
[info] > Payments request recieved!!! for this amount >>> 116696 {"user":"Payments request recieved!!! for this amount >>> 116696","metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"\u001b[90m> \u001b[39m Payments request recieved!!! for this amount >>> 116696"}}
[debug] [2021-11-24T14:49:21.376Z] [runtime-status] [12116] Ephemeral server survived. {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [12116] Ephemeral server survived."}}
[info] i functions: Finished "us-central1-api" in ~1s {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"Finished \"us-central1-api\" in ~1s"}}
[debug] [2021-11-24T14:49:21.979Z] [worker-us-central1-api-c633278a-2268-432b-b2d2-c9080d64dc0e]: IDLE {"metadata":{"emulator":{"name":"functions"},"message":"[worker-us-central1-api-c633278a-2268-432b-b2d2-c9080d64dc0e]: IDLE"}}
[debug] [2021-11-24T14:49:21.980Z] [work-queue] {"queueLength":0,"workRunningCount":0}
[debug] [2021-11-24T14:49:41.226Z] [work-queue] {"queueLength":1,"workRunningCount":0}
[debug] [2021-11-24T14:49:41.227Z] [work-queue] {"queueLength":0,"workRunningCount":1}
[debug] [2021-11-24T14:49:41.227Z] Accepted request POST /ecommerce-clone-frontend/us-central1/api/payments/create?total=113697 --> us-central1-api
[debug] [2021-11-24T14:49:41.228Z] [worker-pool] submitWork(triggerId=us-central1-api) {"metadata":{"emulator":{"name":"functions"},"message":"[worker-pool] submitWork(triggerId=us-central1-api)"}}
[debug] [2021-11-24T14:49:41.228Z] [worker-us-central1-api-c633278a-2268-432b-b2d2-c9080d64dc0e]: Assigning socketPath: \\?\pipe\C:\Users\acer\Desktop\Amazon Clone -1\amazon-clone\functions\12116 {"metadata":{"emulator":{"name":"functions"},"message":"[worker-us-central1-api-c633278a-2268-432b-b2d2-c9080d64dc0e]: Assigning socketPath: \\\\?\\pipe\\C:\\Users\\acer\\Desktop\\Amazon Clone -1\\amazon-clone\\functions\\12116"}}
[debug] [2021-11-24T14:49:41.228Z] [worker-us-central1-api-c633278a-2268-432b-b2d2-c9080d64dc0e]: BUSY {"metadata":{"emulator":{"name":"functions"},"message":"[worker-us-central1-api-c633278a-2268-432b-b2d2-c9080d64dc0e]: BUSY"}}
[debug] [2021-11-24T14:49:41.229Z] [runtime-status] [12116] Trigger "us-central1-api" has been found, beginning invocation! {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [12116] Trigger \"us-central1-api\" has been found, beginning invocation!"}}
[info] i functions: Beginning execution of "us-central1-api" {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"Beginning execution of \"us-central1-api\""}}
[debug] [2021-11-24T14:49:41.232Z] [runtime-status] [12116] triggerDefinition {"httpsTrigger":{},"name":"api","entryPoint":"api","regions":["us-central1"],"region":"us-central1","id":"us-central1-api"} {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [12116] triggerDefinition {\"httpsTrigger\":{},\"name\":\"api\",\"entryPoint\":\"api\",\"regions\":[\"us-central1\"],\"region\":\"us-central1\",\"id\":\"us-central1-api\"}"}}
[debug] [2021-11-24T14:49:41.233Z] [runtime-status] [12116] Running us-central1-api in signature http {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [12116] Running us-central1-api in signature http"}}
[debug] [2021-11-24T14:49:41.234Z] [runtime-status] [12116] Attempting to listen to socketPath: \\?\pipe\C:\Users\acer\Desktop\Amazon Clone -1\amazon-clone\functions\12116 {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [12116] Attempting to listen to socketPath: \\\\?\\pipe\\C:\\Users\\acer\\Desktop\\Amazon Clone -1\\amazon-clone\\functions\\12116"}}
[debug] [2021-11-24T14:49:41.236Z] [functions] Runtime ready! Sending request! {"metadata":{"emulator":{"name":"functions"},"message":"[functions] Runtime ready! Sending request!"}}
[debug] [2021-11-24T14:49:41.237Z] [functions] Got req.url=/ecommerce-clone-frontend/us-central1/api/payments/create?total=113697, mapping to path=/payments/create?total=113697 {"metadata":{"emulator":{"name":"functions"},"message":"[functions] Got req.url=/ecommerce-clone-frontend/us-central1/api/payments/create?total=113697, mapping to path=/payments/create?total=113697"}}
[debug] [2021-11-24T14:49:41.244Z] [runtime-status] [12116] Ephemeral server handling POST request {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [12116] Ephemeral server handling POST request"}}
[info] > Payments request recieved!!! for this amount >>> 113697 {"user":"Payments request recieved!!! for this amount >>> 113697","metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"\u001b[90m> \u001b[39m Payments request recieved!!! for this amount >>> 113697"}}
[debug] [2021-11-24T14:49:41.247Z] [runtime-status] [12116] Ephemeral server survived. {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [12116] Ephemeral server survived."}}
[info] i functions: Finished "us-central1-api" in ~1s {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"Finished \"us-central1-api\" in ~1s"}}
[debug] [2021-11-24T14:49:41.669Z] [worker-us-central1-api-c633278a-2268-432b-b2d2-c9080d64dc0e]: IDLE {"metadata":{"emulator":{"name":"functions"},"message":"[worker-us-central1-api-c633278a-2268-432b-b2d2-c9080d64dc0e]: IDLE"}}
[debug] [2021-11-24T14:49:41.669Z] [work-queue] {"queueLength":0,"workRunningCount":0}
[debug] [2021-11-24T14:49:58.423Z] [work-queue] {"queueLength":1,"workRunningCount":0}
[debug] [2021-11-24T14:49:58.424Z] [work-queue] {"queueLength":0,"workRunningCount":1}
[debug] [2021-11-24T14:49:58.424Z] Accepted request POST /ecommerce-clone-frontend/us-central1/api/payments/create?total=239000 --> us-central1-api
[debug] [2021-11-24T14:49:58.424Z] [worker-pool] submitWork(triggerId=us-central1-api) {"metadata":{"emulator":{"name":"functions"},"message":"[worker-pool] submitWork(triggerId=us-central1-api)"}}
[debug] [2021-11-24T14:49:58.424Z] [worker-us-central1-api-c633278a-2268-432b-b2d2-c9080d64dc0e]: Assigning socketPath: \\?\pipe\C:\Users\acer\Desktop\Amazon Clone -1\amazon-clone\functions\12116 {"metadata":{"emulator":{"name":"functions"},"message":"[worker-us-central1-api-c633278a-2268-432b-b2d2-c9080d64dc0e]: Assigning socketPath: \\\\?\\pipe\\C:\\Users\\acer\\Desktop\\Amazon Clone -1\\amazon-clone\\functions\\12116"}}
[debug] [2021-11-24T14:49:58.425Z] [worker-us-central1-api-c633278a-2268-432b-b2d2-c9080d64dc0e]: BUSY {"metadata":{"emulator":{"name":"functions"},"message":"[worker-us-central1-api-c633278a-2268-432b-b2d2-c9080d64dc0e]: BUSY"}}
[debug] [2021-11-24T14:49:58.426Z] [runtime-status] [12116] Trigger "us-central1-api" has been found, beginning invocation! {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [12116] Trigger \"us-central1-api\" has been found, beginning invocation!"}}
[info] i functions: Beginning execution of "us-central1-api" {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"Beginning execution of \"us-central1-api\""}}
[debug] [2021-11-24T14:49:58.428Z] [runtime-status] [12116] triggerDefinition {"httpsTrigger":{},"name":"api","entryPoint":"api","regions":["us-central1"],"region":"us-central1","id":"us-central1-api"} {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [12116] triggerDefinition {\"httpsTrigger\":{},\"name\":\"api\",\"entryPoint\":\"api\",\"regions\":[\"us-central1\"],\"region\":\"us-central1\",\"id\":\"us-central1-api\"}"}}
[debug] [2021-11-24T14:49:58.428Z] [runtime-status] [12116] Running us-central1-api in signature http {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [12116] Running us-central1-api in signature http"}}
[debug] [2021-11-24T14:49:58.429Z] [runtime-status] [12116] Attempting to listen to socketPath: \\?\pipe\C:\Users\acer\Desktop\Amazon Clone -1\amazon-clone\functions\12116 {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [12116] Attempting to listen to socketPath: \\\\?\\pipe\\C:\\Users\\acer\\Desktop\\Amazon Clone -1\\amazon-clone\\functions\\12116"}}
[debug] [2021-11-24T14:49:58.431Z] [functions] Runtime ready! Sending request! {"metadata":{"emulator":{"name":"functions"},"message":"[functions] Runtime ready! Sending request!"}}
[debug] [2021-11-24T14:49:58.432Z] [functions] Got req.url=/ecommerce-clone-frontend/us-central1/api/payments/create?total=239000, mapping to path=/payments/create?total=239000 {"metadata":{"emulator":{"name":"functions"},"message":"[functions] Got req.url=/ecommerce-clone-frontend/us-central1/api/payments/create?total=239000, mapping to path=/payments/create?total=239000"}}
[debug] [2021-11-24T14:49:58.436Z] [runtime-status] [12116] Ephemeral server handling POST request {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [12116] Ephemeral server handling POST request"}}
[info] > Payments request recieved!!! for this amount >>> 239000 {"user":"Payments request recieved!!! for this amount >>> 239000","metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"\u001b[90m> \u001b[39m Payments request recieved!!! for this amount >>> 239000"}}
[debug] [2021-11-24T14:49:58.439Z] [runtime-status] [12116] Ephemeral server survived. {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [12116] Ephemeral server survived."}}
[info] i functions: Finished "us-central1-api" in ~1s {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"Finished \"us-central1-api\" in ~1s"}}
[debug] [2021-11-24T14:49:58.764Z] [worker-us-central1-api-c633278a-2268-432b-b2d2-c9080d64dc0e]: IDLE {"metadata":{"emulator":{"name":"functions"},"message":"[worker-us-central1-api-c633278a-2268-432b-b2d2-c9080d64dc0e]: IDLE"}}
[debug] [2021-11-24T14:49:58.764Z] [work-queue] {"queueLength":0,"workRunningCount":0}
[debug] [2021-11-24T14:52:51.847Z] [work-queue] {"queueLength":1,"workRunningCount":0}
[debug] [2021-11-24T14:52:51.847Z] [work-queue] {"queueLength":0,"workRunningCount":1}
[debug] [2021-11-24T14:52:51.847Z] Accepted request POST /ecommerce-clone-frontend/us-central1/api/payments/create?total=418393.99999999994 --> us-central1-api
[debug] [2021-11-24T14:52:51.848Z] [worker-pool] submitWork(triggerId=us-central1-api) {"metadata":{"emulator":{"name":"functions"},"message":"[worker-pool] submitWork(triggerId=us-central1-api)"}}
[debug] [2021-11-24T14:52:51.848Z] [worker-us-central1-api-c633278a-2268-432b-b2d2-c9080d64dc0e]: Assigning socketPath: \\?\pipe\C:\Users\acer\Desktop\Amazon Clone -1\amazon-clone\functions\12116 {"metadata":{"emulator":{"name":"functions"},"message":"[worker-us-central1-api-c633278a-2268-432b-b2d2-c9080d64dc0e]: Assigning socketPath: \\\\?\\pipe\\C:\\Users\\acer\\Desktop\\Amazon Clone -1\\amazon-clone\\functions\\12116"}}
[debug] [2021-11-24T14:52:51.848Z] [worker-us-central1-api-c633278a-2268-432b-b2d2-c9080d64dc0e]: BUSY {"metadata":{"emulator":{"name":"functions"},"message":"[worker-us-central1-api-c633278a-2268-432b-b2d2-c9080d64dc0e]: BUSY"}}
[debug] [2021-11-24T14:52:51.849Z] [runtime-status] [12116] Trigger "us-central1-api" has been found, beginning invocation! {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [12116] Trigger \"us-central1-api\" has been found, beginning invocation!"}}
[info] i functions: Beginning execution of "us-central1-api" {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"Beginning execution of \"us-central1-api\""}}
[debug] [2021-11-24T14:52:51.851Z] [runtime-status] [12116] triggerDefinition {"httpsTrigger":{},"name":"api","entryPoint":"api","regions":["us-central1"],"region":"us-central1","id":"us-central1-api"} {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [12116] triggerDefinition {\"httpsTrigger\":{},\"name\":\"api\",\"entryPoint\":\"api\",\"regions\":[\"us-central1\"],\"region\":\"us-central1\",\"id\":\"us-central1-api\"}"}}
[debug] [2021-11-24T14:52:51.856Z] [runtime-status] [12116] Running us-central1-api in signature http {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [12116] Running us-central1-api in signature http"}}
[debug] [2021-11-24T14:52:51.857Z] [runtime-status] [12116] Attempting to listen to socketPath: \\?\pipe\C:\Users\acer\Desktop\Amazon Clone -1\amazon-clone\functions\12116 {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [12116] Attempting to listen to socketPath: \\\\?\\pipe\\C:\\Users\\acer\\Desktop\\Amazon Clone -1\\amazon-clone\\functions\\12116"}}
[debug] [2021-11-24T14:52:51.859Z] [functions] Runtime ready! Sending request! {"metadata":{"emulator":{"name":"functions"},"message":"[functions] Runtime ready! Sending request!"}}
[debug] [2021-11-24T14:52:51.860Z] [functions] Got req.url=/ecommerce-clone-frontend/us-central1/api/payments/create?total=418393.99999999994, mapping to path=/payments/create?total=418393.99999999994 {"metadata":{"emulator":{"name":"functions"},"message":"[functions] Got req.url=/ecommerce-clone-frontend/us-central1/api/payments/create?total=418393.99999999994, mapping to path=/payments/create?total=418393.99999999994"}}
[debug] [2021-11-24T14:52:51.865Z] [runtime-status] [12116] Ephemeral server handling POST request {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [12116] Ephemeral server handling POST request"}}
[info] > Payments request recieved!!! for this amount >>> 418393.99999999994 {"user":"Payments request recieved!!! for this amount >>> 418393.99999999994","metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"\u001b[90m> \u001b[39m Payments request recieved!!! for this amount >>> 418393.99999999994"}}
[debug] [2021-11-24T14:52:51.871Z] [runtime-status] [12116] Ephemeral server survived. {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [12116] Ephemeral server survived."}}
[info] > (node:12116) UnhandledPromiseRejectionWarning: Error: Invalid integer: 418393.99999999994 {"user":"(node:12116) UnhandledPromiseRejectionWarning: Error: Invalid integer: 418393.99999999994","metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"\u001b[90m> \u001b[39m (node:12116) UnhandledPromiseRejectionWarning: Error: Invalid integer: 418393.99999999994"}}
[info] > at Function.generate (C:\Users\acer\Desktop\Amazon Clone -1\amazon-clone\functions\node_modules\stripe\lib\Error.js:40:16) {"user":" at Function.generate (C:\\Users\\acer\\Desktop\\Amazon Clone -1\\amazon-clone\\functions\\node_modules\\stripe\\lib\\Error.js:40:16)","metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"\u001b[90m> \u001b[39m at Function.generate (C:\\Users\\acer\\Desktop\\Amazon Clone -1\\amazon-clone\\functions\\node_modules\\stripe\\lib\\Error.js:40:16)"}}
[info] > at res.toJSON.then.StripeAPIError.message (C:\Users\acer\Desktop\Amazon Clone -1\amazon-clone\functions\node_modules\stripe\lib\StripeResource.js:220:35) {"user":" at res.toJSON.then.StripeAPIError.message (C:\\Users\\acer\\Desktop\\Amazon Clone -1\\amazon-clone\\functions\\node_modules\\stripe\\lib\\StripeResource.js:220:35)","metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"\u001b[90m> \u001b[39m at res.toJSON.then.StripeAPIError.message (C:\\Users\\acer\\Desktop\\Amazon Clone -1\\amazon-clone\\functions\\node_modules\\stripe\\lib\\StripeResource.js:220:35)"}}
[info] > at processTicksAndRejections (internal/process/task_queues.js:93:5) {"user":" at processTicksAndRejections (internal/process/task_queues.js:93:5)","metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"\u001b[90m> \u001b[39m at processTicksAndRejections (internal/process/task_queues.js:93:5)"}}
[info] > (Use `node --trace-warnings ...` to show where the warning was created) {"user":"(Use `node --trace-warnings ...` to show where the warning was created)","metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"\u001b[90m> \u001b[39m (Use `node --trace-warnings ...` to show where the warning was created)"}}
[info] > (node:12116) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1) {"user":"(node:12116) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)","metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"\u001b[90m> \u001b[39m (node:12116) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)"}}
[info] > (node:12116) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code. {"user":"(node:12116) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.","metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"\u001b[90m> \u001b[39m (node:12116) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code."}}
[warn] ! functions: Your function timed out after ~60s. To configure this timeout, see
https://firebase.google.com/docs/functions/manage-functions#set_timeout_and_memory_allocation. {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"Your function timed out after ~60s. To configure this timeout, see\n https://firebase.google.com/docs/functions/manage-functions#set_timeout_and_memory_allocation."}}
[info] > C:\Users\acer\AppData\Roaming\npm\node_modules\firebase-tools\lib\emulator\functionsEmulatorRuntime.js:604 {"user":"C:\\Users\\acer\\AppData\\Roaming\\npm\\node_modules\\firebase-tools\\lib\\emulator\\functionsEmulatorRuntime.js:604\r","metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"\u001b[90m> \u001b[39m C:\\Users\\acer\\AppData\\Roaming\\npm\\node_modules\\firebase-tools\\lib\\emulator\\functionsEmulatorRuntime.js:604\r"}}
[info] > throw new Error("Function timed out."); {"user":" throw new Error(\"Function timed out.\");\r","metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"\u001b[90m> \u001b[39m throw new Error(\"Function timed out.\");\r"}}
[info] > ^ {"user":" ^\r","metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"\u001b[90m> \u001b[39m ^\r"}}
[info] > {"user":"\r","metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"\u001b[90m> \u001b[39m \r"}}
[info] > Error: Function timed out. {"user":"Error: Function timed out.\r","metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"\u001b[90m> \u001b[39m Error: Function timed out.\r"}}
[info] > at Timeout._onTimeout (C:\Users\acer\AppData\Roaming\npm\node_modules\firebase-tools\lib\emulator\functionsEmulatorRuntime.js:604:19) {"user":" at Timeout._onTimeout (C:\\Users\\acer\\AppData\\Roaming\\npm\\node_modules\\firebase-tools\\lib\\emulator\\functionsEmulatorRuntime.js:604:19)\r","metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"\u001b[90m> \u001b[39m at Timeout._onTimeout (C:\\Users\\acer\\AppData\\Roaming\\npm\\node_modules\\firebase-tools\\lib\\emulator\\functionsEmulatorRuntime.js:604:19)\r"}}
[info] > at listOnTimeout (internal/timers.js:554:17) {"user":" at listOnTimeout (internal/timers.js:554:17)\r","metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"\u001b[90m> \u001b[39m at listOnTimeout (internal/timers.js:554:17)\r"}}
[info] > at processTimers (internal/timers.js:497:7) {"user":" at processTimers (internal/timers.js:497:7)\r","metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"\u001b[90m> \u001b[39m at processTimers (internal/timers.js:497:7)\r"}}
[debug] [2021-11-24T14:53:51.885Z] [worker-us-central1-api-c633278a-2268-432b-b2d2-c9080d64dc0e]: exited {"metadata":{"emulator":{"name":"functions"},"message":"[worker-us-central1-api-c633278a-2268-432b-b2d2-c9080d64dc0e]: exited"}}
[debug] [2021-11-24T14:53:51.885Z] [worker-us-central1-api-c633278a-2268-432b-b2d2-c9080d64dc0e]: FINISHED {"metadata":{"emulator":{"name":"functions"},"message":"[worker-us-central1-api-c633278a-2268-432b-b2d2-c9080d64dc0e]: FINISHED"}}
[debug] [2021-11-24T14:53:51.886Z] [work-queue] {"queueLength":0,"workRunningCount":0}
[debug] [2021-11-24T14:54:33.073Z] [work-queue] {"queueLength":1,"workRunningCount":0}
[debug] [2021-11-24T14:54:33.073Z] [work-queue] {"queueLength":0,"workRunningCount":1}
[debug] [2021-11-24T14:54:33.073Z] Accepted request POST /ecommerce-clone-frontend/us-central1/api/payments/create?total=121494 --> us-central1-api
[debug] [2021-11-24T14:54:33.074Z] [worker-pool] Cleaned up workers for us-central1-api: 1 --> 0 {"metadata":{"emulator":{"name":"functions"},"message":"[worker-pool] Cleaned up workers for us-central1-api: 1 --> 0"}}
[debug] [2021-11-24T14:54:33.083Z] [worker-pool] addWorker(us-central1-api) {"metadata":{"emulator":{"name":"functions"},"message":"[worker-pool] addWorker(us-central1-api)"}}
[debug] [2021-11-24T14:54:33.084Z] [worker-pool] Adding worker with key us-central1-api, total=1 {"metadata":{"emulator":{"name":"functions"},"message":"[worker-pool] Adding worker with key us-central1-api, total=1"}}
[debug] [2021-11-24T14:54:33.084Z] [worker-pool] submitWork(triggerId=us-central1-api) {"metadata":{"emulator":{"name":"functions"},"message":"[worker-pool] submitWork(triggerId=us-central1-api)"}}
[debug] [2021-11-24T14:54:33.084Z] [worker-us-central1-api-13dc696c-e4ef-4c9a-bf76-bc931b791a3b]: Assigning socketPath: \\?\pipe\C:\Users\acer\Desktop\Amazon Clone -1\amazon-clone\functions\9448 {"metadata":{"emulator":{"name":"functions"},"message":"[worker-us-central1-api-13dc696c-e4ef-4c9a-bf76-bc931b791a3b]: Assigning socketPath: \\\\?\\pipe\\C:\\Users\\acer\\Desktop\\Amazon Clone -1\\amazon-clone\\functions\\9448"}}
[debug] [2021-11-24T14:54:33.085Z] [worker-us-central1-api-13dc696c-e4ef-4c9a-bf76-bc931b791a3b]: BUSY {"metadata":{"emulator":{"name":"functions"},"message":"[worker-us-central1-api-13dc696c-e4ef-4c9a-bf76-bc931b791a3b]: BUSY"}}
[debug] [2021-11-24T14:54:33.622Z] [runtime-status] [9448] Functions runtime initialized. {"cwd":"C:\\Users\\acer\\Desktop\\Amazon Clone -1\\amazon-clone\\functions","node_version":"14.16.0"} {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [9448] Functions runtime initialized. {\"cwd\":\"C:\\\\Users\\\\acer\\\\Desktop\\\\Amazon Clone -1\\\\amazon-clone\\\\functions\",\"node_version\":\"14.16.0\"}"}}
[debug] [2021-11-24T14:54:33.631Z] [runtime-status] [9448] Disabled runtime features: undefined {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [9448] Disabled runtime features: undefined"}}
[debug] [2021-11-24T14:54:33.643Z] [runtime-status] [9448] Resolved module firebase-admin {"declared":true,"installed":true,"version":"9.12.0","resolution":"C:\\Users\\acer\\Desktop\\Amazon Clone -1\\amazon-clone\\functions\\node_modules\\firebase-admin\\lib\\index.js"} {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [9448] Resolved module firebase-admin {\"declared\":true,\"installed\":true,\"version\":\"9.12.0\",\"resolution\":\"C:\\\\Users\\\\acer\\\\Desktop\\\\Amazon Clone -1\\\\amazon-clone\\\\functions\\\\node_modules\\\\firebase-admin\\\\lib\\\\index.js\"}"}}
[debug] [2021-11-24T14:54:33.651Z] [runtime-status] [9448] Resolved module firebase-functions {"declared":true,"installed":true,"version":"3.16.0","resolution":"C:\\Users\\acer\\Desktop\\Amazon Clone -1\\amazon-clone\\functions\\node_modules\\firebase-functions\\lib\\index.js"} {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [9448] Resolved module firebase-functions {\"declared\":true,\"installed\":true,\"version\":\"3.16.0\",\"resolution\":\"C:\\\\Users\\\\acer\\\\Desktop\\\\Amazon Clone -1\\\\amazon-clone\\\\functions\\\\node_modules\\\\firebase-functions\\\\lib\\\\index.js\"}"}}
[debug] [2021-11-24T14:54:33.655Z] [runtime-status] [9448] Outgoing network have been stubbed. [{"name":"http","status":"mocked"},{"name":"http","status":"mocked"},{"name":"https","status":"mocked"},{"name":"https","status":"mocked"},{"name":"net","status":"mocked"}] {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [9448] Outgoing network have been stubbed. [{\"name\":\"http\",\"status\":\"mocked\"},{\"name\":\"http\",\"status\":\"mocked\"},{\"name\":\"https\",\"status\":\"mocked\"},{\"name\":\"https\",\"status\":\"mocked\"},{\"name\":\"net\",\"status\":\"mocked\"}]"}}
[debug] [2021-11-24T14:54:33.658Z] [runtime-status] [9448] Resolved module firebase-functions {"declared":true,"installed":true,"version":"3.16.0","resolution":"C:\\Users\\acer\\Desktop\\Amazon Clone -1\\amazon-clone\\functions\\node_modules\\firebase-functions\\lib\\index.js"} {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [9448] Resolved module firebase-functions {\"declared\":true,\"installed\":true,\"version\":\"3.16.0\",\"resolution\":\"C:\\\\Users\\\\acer\\\\Desktop\\\\Amazon Clone -1\\\\amazon-clone\\\\functions\\\\node_modules\\\\firebase-functions\\\\lib\\\\index.js\"}"}}
[debug] [2021-11-24T14:54:33.803Z] [runtime-status] [9448] Checked functions.config() {"config":{}} {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [9448] Checked functions.config() {\"config\":{}}"}}
[debug] [2021-11-24T14:54:33.804Z] [runtime-status] [9448] firebase-functions has been stubbed. {"functionsResolution":{"declared":true,"installed":true,"version":"3.16.0","resolution":"C:\\Users\\acer\\Desktop\\Amazon Clone -1\\amazon-clone\\functions\\node_modules\\firebase-functions\\lib\\index.js"}} {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [9448] firebase-functions has been stubbed. {\"functionsResolution\":{\"declared\":true,\"installed\":true,\"version\":\"3.16.0\",\"resolution\":\"C:\\\\Users\\\\acer\\\\Desktop\\\\Amazon Clone -1\\\\amazon-clone\\\\functions\\\\node_modules\\\\firebase-functions\\\\lib\\\\index.js\"}}"}}
[debug] [2021-11-24T14:54:33.807Z] [runtime-status] [9448] Resolved module firebase-functions {"declared":true,"installed":true,"version":"3.16.0","resolution":"C:\\Users\\acer\\Desktop\\Amazon Clone -1\\amazon-clone\\functions\\node_modules\\firebase-functions\\lib\\index.js"} {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [9448] Resolved module firebase-functions {\"declared\":true,\"installed\":true,\"version\":\"3.16.0\",\"resolution\":\"C:\\\\Users\\\\acer\\\\Desktop\\\\Amazon Clone -1\\\\amazon-clone\\\\functions\\\\node_modules\\\\firebase-functions\\\\lib\\\\index.js\"}"}}
[debug] [2021-11-24T14:54:33.811Z] [runtime-status] [9448] Resolved module firebase-admin {"declared":true,"installed":true,"version":"9.12.0","resolution":"C:\\Users\\acer\\Desktop\\Amazon Clone -1\\amazon-clone\\functions\\node_modules\\firebase-admin\\lib\\index.js"} {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [9448] Resolved module firebase-admin {\"declared\":true,\"installed\":true,\"version\":\"9.12.0\",\"resolution\":\"C:\\\\Users\\\\acer\\\\Desktop\\\\Amazon Clone -1\\\\amazon-clone\\\\functions\\\\node_modules\\\\firebase-admin\\\\lib\\\\index.js\"}"}}
[debug] [2021-11-24T14:54:33.813Z] [runtime-status] [9448] Resolved module firebase-functions {"declared":true,"installed":true,"version":"3.16.0","resolution":"C:\\Users\\acer\\Desktop\\Amazon Clone -1\\amazon-clone\\functions\\node_modules\\firebase-functions\\lib\\index.js"} {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [9448] Resolved module firebase-functions {\"declared\":true,\"installed\":true,\"version\":\"3.16.0\",\"resolution\":\"C:\\\\Users\\\\acer\\\\Desktop\\\\Amazon Clone -1\\\\amazon-clone\\\\functions\\\\node_modules\\\\firebase-functions\\\\lib\\\\index.js\"}"}}
[debug] [2021-11-24T14:54:33.815Z] [runtime-status] [9448] firebase-admin has been stubbed. {"adminResolution":{"declared":true,"installed":true,"version":"9.12.0","resolution":"C:\\Users\\acer\\Desktop\\Amazon Clone -1\\amazon-clone\\functions\\node_modules\\firebase-admin\\lib\\index.js"}} {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [9448] firebase-admin has been stubbed. {\"adminResolution\":{\"declared\":true,\"installed\":true,\"version\":\"9.12.0\",\"resolution\":\"C:\\\\Users\\\\acer\\\\Desktop\\\\Amazon Clone -1\\\\amazon-clone\\\\functions\\\\node_modules\\\\firebase-admin\\\\lib\\\\index.js\"}}"}}
[debug] [2021-11-24T14:54:34.272Z] [runtime-status] [9448] Trigger "us-central1-api" has been found, beginning invocation! {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [9448] Trigger \"us-central1-api\" has been found, beginning invocation!"}}
[info] i functions: Beginning execution of "us-central1-api" {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"Beginning execution of \"us-central1-api\""}}
[debug] [2021-11-24T14:54:34.275Z] [runtime-status] [9448] triggerDefinition {"httpsTrigger":{},"name":"api","entryPoint":"api","regions":["us-central1"],"region":"us-central1","id":"us-central1-api"} {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [9448] triggerDefinition {\"httpsTrigger\":{},\"name\":\"api\",\"entryPoint\":\"api\",\"regions\":[\"us-central1\"],\"region\":\"us-central1\",\"id\":\"us-central1-api\"}"}}
[debug] [2021-11-24T14:54:34.276Z] [runtime-status] [9448] Running us-central1-api in signature http {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [9448] Running us-central1-api in signature http"}}
[debug] [2021-11-24T14:54:34.284Z] [runtime-status] [9448] Attempting to listen to socketPath: \\?\pipe\C:\Users\acer\Desktop\Amazon Clone -1\amazon-clone\functions\9448 {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [9448] Attempting to listen to socketPath: \\\\?\\pipe\\C:\\Users\\acer\\Desktop\\Amazon Clone -1\\amazon-clone\\functions\\9448"}}
[debug] [2021-11-24T14:54:34.291Z] [functions] Runtime ready! Sending request! {"metadata":{"emulator":{"name":"functions"},"message":"[functions] Runtime ready! Sending request!"}}
[debug] [2021-11-24T14:54:34.292Z] [functions] Got req.url=/ecommerce-clone-frontend/us-central1/api/payments/create?total=121494, mapping to path=/payments/create?total=121494 {"metadata":{"emulator":{"name":"functions"},"message":"[functions] Got req.url=/ecommerce-clone-frontend/us-central1/api/payments/create?total=121494, mapping to path=/payments/create?total=121494"}}
[debug] [2021-11-24T14:54:34.346Z] [runtime-status] [9448] Ephemeral server handling POST request {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [9448] Ephemeral server handling POST request"}}
[info] > Payments request recieved!!! for this amount >>> 121494 {"user":"Payments request recieved!!! for this amount >>> 121494","metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"\u001b[90m> \u001b[39m Payments request recieved!!! for this amount >>> 121494"}}
[debug] [2021-11-24T14:54:34.435Z] [runtime-status] [9448] Ephemeral server survived. {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [9448] Ephemeral server survived."}}
[info] i functions: Finished "us-central1-api" in ~1s {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"Finished \"us-central1-api\" in ~1s"}}
[debug] [2021-11-24T14:54:35.147Z] [worker-us-central1-api-13dc696c-e4ef-4c9a-bf76-bc931b791a3b]: IDLE {"metadata":{"emulator":{"name":"functions"},"message":"[worker-us-central1-api-13dc696c-e4ef-4c9a-bf76-bc931b791a3b]: IDLE"}}
[debug] [2021-11-24T14:54:35.147Z] [work-queue] {"queueLength":0,"workRunningCount":0}
[debug] [2021-11-24T16:34:54.120Z] [worker-us-central1-api-13dc696c-e4ef-4c9a-bf76-bc931b791a3b]: exited {"metadata":{"emulator":{"name":"functions"},"message":"[worker-us-central1-api-13dc696c-e4ef-4c9a-bf76-bc931b791a3b]: exited"}}
[debug] [2021-11-24T16:34:54.304Z] [worker-us-central1-api-13dc696c-e4ef-4c9a-bf76-bc931b791a3b]: FINISHED {"metadata":{"emulator":{"name":"functions"},"message":"[worker-us-central1-api-13dc696c-e4ef-4c9a-bf76-bc931b791a3b]: FINISHED"}}
[debug] [2021-11-24T16:34:54.304Z] [worker-~diagnostic~-3e777e12-24fb-435a-be75-b66fcc19b480]: exited {"metadata":{"emulator":{"name":"functions"},"message":"[worker-~diagnostic~-3e777e12-24fb-435a-be75-b66fcc19b480]: exited"}}
[debug] [2021-11-24T16:34:54.305Z] [worker-~diagnostic~-3e777e12-24fb-435a-be75-b66fcc19b480]: FINISHED {"metadata":{"emulator":{"name":"functions"},"message":"[worker-~diagnostic~-3e777e12-24fb-435a-be75-b66fcc19b480]: FINISHED"}}
[debug] [2021-11-24T16:34:54.547Z] Received signal SIGHUP 1
[debug] [2021-11-25T09:20:05.641Z] ----------------------------------------------------------------------
[debug] [2021-11-25T09:20:05.649Z] Command: C:\Program Files\nodejs\node.exe C:\Users\acer\AppData\Roaming\npm\node_modules\firebase-tools\lib\bin\firebase.js emulators:start
[debug] [2021-11-25T09:20:05.650Z] CLI Version: 9.21.0
[debug] [2021-11-25T09:20:05.651Z] Platform: win32
[debug] [2021-11-25T09:20:05.651Z] Node Version: v14.16.0
[debug] [2021-11-25T09:20:05.653Z] Time: Thu Nov 25 2021 14:50:05 GMT+0530 (India Standard Time)
[debug] [2021-11-25T09:20:05.653Z] ----------------------------------------------------------------------
[debug]
[debug] [2021-11-25T09:20:05.713Z] >>> [apiv2][query] GET https://firebase-public.firebaseio.com/cli.json [none]
[debug] [2021-11-25T09:20:06.300Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
[debug] [2021-11-25T09:20:06.300Z] > authorizing via signed-in user ([email protected])
[info] i emulators: Starting emulators: functions, hosting {"metadata":{"emulator":{"name":"hub"},"message":"Starting emulators: functions, hosting"}}
[warn] ! emulators: It seems that you are running multiple instances of the emulator suite for project ecommerce-clone-frontend. This may result in unexpected behavior.
[debug] [2021-11-25T09:20:06.406Z] [hub] writing locator at C:\Users\acer\AppData\Local\Temp\hub-ecommerce-clone-frontend.json
[warn] ! functions: The following emulators are not running, calls to these services from the Functions emulator will affect production: auth, firestore, database, pubsub, storage {"metadata":{"emulator":{"name":"functions"},"message":"The following emulators are not running, calls to these services from the Functions emulator will affect production: \u001b[1mauth, firestore, database, pubsub, storage\u001b[22m"}}
[info] + functions: Using node@14 from host. {"metadata":{"emulator":{"name":"functions"},"message":"Using node@14 from host."}}
[debug] [2021-11-25T09:20:06.872Z] defaultcredentials: writing to file C:\Users\acer\AppData\Roaming\firebase\ujjwalshukla2005_gmail_com_application_default_credentials.json
[debug] [2021-11-25T09:20:06.919Z] Setting GAC to C:\Users\acer\AppData\Roaming\firebase\ujjwalshukla2005_gmail_com_application_default_credentials.json {"metadata":{"emulator":{"name":"functions"},"message":"Setting GAC to C:\\Users\\acer\\AppData\\Roaming\\firebase\\ujjwalshukla2005_gmail_com_application_default_credentials.json"}}
[debug] [2021-11-25T09:20:06.921Z] > refreshing access token with scopes: []
[debug] [2021-11-25T09:20:06.923Z] >>> HTTP REQUEST POST https://www.googleapis.com/oauth2/v3/token
<request body omitted>
[debug] [2021-11-25T09:20:07.445Z] <<< HTTP RESPONSE 200 {"cache-control":"no-cache, no-store, max-age=0, must-revalidate","pragma":"no-cache","date":"Thu, 25 Nov 2021 09:20:06 GMT","expires":"Mon, 01 Jan 1990 00:00:00 GMT","content-type":"application/json; charset=utf-8","vary":"X-Origin, Referer, Origin,Accept-Encoding","server":"scaffolding on HTTPServer2","x-xss-protection":"0","x-frame-options":"SAMEORIGIN","x-content-type-options":"nosniff","alt-svc":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\"","accept-ranges":"none","transfer-encoding":"chunked"}
[debug] [2021-11-25T09:20:07.600Z] >>> [apiv2][query] GET https://firebase.googleapis.com/v1beta1/projects/ecommerce-clone-frontend/adminSdkConfig [none]
[debug] [2021-11-25T09:20:07.911Z] <<< [apiv2][status] GET https://firebase-public.firebaseio.com/cli.json 200
[debug] [2021-11-25T09:20:07.911Z] <<< [apiv2][body] GET https://firebase-public.firebaseio.com/cli.json {"cloudBuildErrorAfter":1594252800000,"cloudBuildWarnAfter":1590019200000,"defaultNode10After":1594252800000,"minVersion":"3.0.5","node8DeploysDisabledAfter":1613390400000,"node8RuntimeDisabledAfter":1615809600000,"node8WarnAfter":1600128000000}
[debug] [2021-11-25T09:20:08.147Z] <<< [apiv2][status] GET https://firebase.googleapis.com/v1beta1/projects/ecommerce-clone-frontend/adminSdkConfig 200
[debug] [2021-11-25T09:20:08.147Z] <<< [apiv2][body] GET https://firebase.googleapis.com/v1beta1/projects/ecommerce-clone-frontend/adminSdkConfig {"projectId":"ecommerce-clone-frontend","storageBucket":"ecommerce-clone-frontend.appspot.com","locationId":"us-central"}
[debug] [2021-11-25T09:20:08.213Z] >>> [apiv2][query] GET https://firebasehosting.googleapis.com/v1beta1/projects/ecommerce-clone-frontend/sites
[debug] [2021-11-25T09:20:10.232Z] <<< [apiv2][status] GET https://firebasehosting.googleapis.com/v1beta1/projects/ecommerce-clone-frontend/sites 200
[debug] [2021-11-25T09:20:10.233Z] <<< [apiv2][body] GET https://firebasehosting.googleapis.com/v1beta1/projects/ecommerce-clone-frontend/sites {"sites":[{"name":"projects/183282373407/sites/ecommerce-clone-frontend","defaultUrl":"https://ecommerce-clone-frontend.web.app","appId":"1:183282373407:web:228ce0696706ae063b962a","type":"DEFAULT_SITE"}]}
[debug] [2021-11-25T09:20:10.233Z] >>> [apiv2][query] GET https://firebase.googleapis.com/v1beta1/projects/ecommerce-clone-frontend/webApps/1:183282373407:web:228ce0696706ae063b962a/config [none]
[debug] [2021-11-25T09:20:11.719Z] <<< [apiv2][status] GET https://firebase.googleapis.com/v1beta1/projects/ecommerce-clone-frontend/webApps/1:183282373407:web:228ce0696706ae063b962a/config 200
[debug] [2021-11-25T09:20:11.719Z] <<< [apiv2][body] GET https://firebase.googleapis.com/v1beta1/projects/ecommerce-clone-frontend/webApps/1:183282373407:web:228ce0696706ae063b962a/config {"projectId":"ecommerce-clone-frontend","appId":"1:183282373407:web:228ce0696706ae063b962a","storageBucket":"ecommerce-clone-frontend.appspot.com","locationId":"us-central","apiKey":"AIzaSyCRZtXiXcL2OTRGZlPUfl-9BVCNPXamQp8","authDomain":"ecommerce-clone-frontend.firebaseapp.com","messagingSenderId":"183282373407","measurementId":"G-TBBRH2QGH7"}
[info] i hosting: Serving hosting files from: build {"metadata":{"emulator":{"name":"hosting"},"message":"Serving hosting files from: \u001b[1mbuild\u001b[22m"}}
[info] + hosting: Local server: http://localhost:5000 {"metadata":{"emulator":{"name":"hosting"},"message":"Local server: \u001b[4m\u001b[1mhttp://localhost:5000\u001b[22m\u001b[24m"}}
[warn] ! ui: Emulator UI unable to start on port 4000, starting on 4002 instead. {"metadata":{"emulator":{"name":"ui"},"message":"Emulator UI unable to start on port 4000, starting on 4002 instead."}}
[debug] [2021-11-25T09:20:12.386Z] Ignoring unsupported arg: auto_download {"metadata":{"emulator":{"name":"ui"},"message":"Ignoring unsupported arg: auto_download"}}
[debug] [2021-11-25T09:20:12.386Z] Ignoring unsupported arg: port {"metadata":{"emulator":{"name":"ui"},"message":"Ignoring unsupported arg: port"}}
[debug] [2021-11-25T09:20:12.386Z] Starting Emulator UI with command {"binary":"node","args":["C:\\Users\\acer\\.cache\\firebase\\emulators\\ui-v1.6.4\\server.bundle.js"],"optionalArgs":[],"joinArgs":false} {"metadata":{"emulator":{"name":"ui"},"message":"Starting Emulator UI with command {\"binary\":\"node\",\"args\":[\"C:\\\\Users\\\\acer\\\\.cache\\\\firebase\\\\emulators\\\\ui-v1.6.4\\\\server.bundle.js\"],\"optionalArgs\":[],\"joinArgs\":false}"}}
[info] i ui: Emulator UI logging to ui-debug.log {"metadata":{"emulator":{"name":"ui"},"message":"Emulator UI logging to \u001b[1mui-debug.log\u001b[22m"}}
[debug] [2021-11-25T09:20:13.010Z] Web / API server started at localhost:4002
{"metadata":{"emulator":{"name":"ui"},"message":"Web / API server started at localhost:4002\n"}}
[info] i functions: Watching "C:\Users\acer\Desktop\Amazon Clone -1\amazon-clone\functions" for Cloud Functions... {"metadata":{"emulator":{"name":"functions"},"message":"Watching \"C:\\Users\\acer\\Desktop\\Amazon Clone -1\\amazon-clone\\functions\" for Cloud Functions..."}}
[debug] [2021-11-25T09:20:13.827Z] [worker-pool] addWorker(~diagnostic~) {"metadata":{"emulator":{"name":"functions"},"message":"[worker-pool] addWorker(~diagnostic~)"}}
[debug] [2021-11-25T09:20:13.828Z] [worker-pool] Adding worker with key ~diagnostic~, total=1 {"metadata":{"emulator":{"name":"functions"},"message":"[worker-pool] Adding worker with key ~diagnostic~, total=1"}}
[debug] [2021-11-25T09:20:13.828Z] [worker-pool] submitWork(triggerId=) {"metadata":{"emulator":{"name":"functions"},"message":"[worker-pool] submitWork(triggerId=)"}}
[debug] [2021-11-25T09:20:13.829Z] [worker-~diagnostic~-debed57f-eb05-4f78-9f26-87f6438ca440]: Assigning socketPath: \\?\pipe\C:\Users\acer\Desktop\Amazon Clone -1\amazon-clone\functions\14608 {"metadata":{"emulator":{"name":"functions"},"message":"[worker-~diagnostic~-debed57f-eb05-4f78-9f26-87f6438ca440]: Assigning socketPath: \\\\?\\pipe\\C:\\Users\\acer\\Desktop\\Amazon Clone -1\\amazon-clone\\functions\\14608"}}
[debug] [2021-11-25T09:20:13.830Z] [worker-~diagnostic~-debed57f-eb05-4f78-9f26-87f6438ca440]: BUSY {"metadata":{"emulator":{"name":"functions"},"message":"[worker-~diagnostic~-debed57f-eb05-4f78-9f26-87f6438ca440]: BUSY"}}
[debug] [2021-11-25T09:20:14.430Z] [runtime-status] [14608] Functions runtime initialized. {"cwd":"C:\\Users\\acer\\Desktop\\Amazon Clone -1\\amazon-clone\\functions","node_version":"14.16.0"} {"metadata":{"emulator":{"name":"functions"},"message":"[runtime-status] [14608] Functions runtime initialized. {\"cwd\":\"C:\\\\Users\\\\acer\\\\Desktop\\\\Amazon Clone -1\\\\amazon-clone\\\\functions\",\"node_version\":\"14.16.0\"}"}}
[debug] [2021-11-25T09:20:14.452Z] [runtime-status] [14608] Disabled runtime features: undefined {"metadata":{"emulator":{"name":"functions"},"message":"[runtime-status] [14608] Disabled runtime features: undefined"}}
[debug] [2021-11-25T09:20:14.641Z] [runtime-status] [14608] Resolved module firebase-admin {"declared":true,"installed":true,"version":"9.12.0","resolution":"C:\\Users\\acer\\Desktop\\Amazon Clone -1\\amazon-clone\\functions\\node_modules\\firebase-admin\\lib\\index.js"} {"metadata":{"emulator":{"name":"functions"},"message":"[runtime-status] [14608] Resolved module firebase-admin {\"declared\":true,\"installed\":true,\"version\":\"9.12.0\",\"resolution\":\"C:\\\\Users\\\\acer\\\\Desktop\\\\Amazon Clone -1\\\\amazon-clone\\\\functions\\\\node_modules\\\\firebase-admin\\\\lib\\\\index.js\"}"}}
[debug] [2021-11-25T09:20:14.745Z] [runtime-status] [14608] Resolved module firebase-functions {"declared":true,"installed":true,"version":"3.16.0","resolution":"C:\\Users\\acer\\Desktop\\Amazon Clone -1\\amazon-clone\\functions\\node_modules\\firebase-functions\\lib\\index.js"} {"metadata":{"emulator":{"name":"functions"},"message":"[runtime-status] [14608] Resolved module firebase-functions {\"declared\":true,\"installed\":true,\"version\":\"3.16.0\",\"resolution\":\"C:\\\\Users\\\\acer\\\\Desktop\\\\Amazon Clone -1\\\\amazon-clone\\\\functions\\\\node_modules\\\\firebase-functions\\\\lib\\\\index.js\"}"}}
[debug] [2021-11-25T09:20:14.749Z] [runtime-status] [14608] Outgoing network have been stubbed. [{"name":"http","status":"mocked"},{"name":"http","status":"mocked"},{"name":"https","status":"mocked"},{"name":"https","status":"mocked"},{"name":"net","status":"mocked"}] {"metadata":{"emulator":{"name":"functions"},"message":"[runtime-status] [14608] Outgoing network have been stubbed. [{\"name\":\"http\",\"status\":\"mocked\"},{\"name\":\"http\",\"status\":\"mocked\"},{\"name\":\"https\",\"status\":\"mocked\"},{\"name\":\"https\",\"status\":\"mocked\"},{\"name\":\"net\",\"status\":\"mocked\"}]"}}
[debug] [2021-11-25T09:20:14.752Z] [runtime-status] [14608] Resolved module firebase-functions {"declared":true,"installed":true,"version":"3.16.0","resolution":"C:\\Users\\acer\\Desktop\\Amazon Clone -1\\amazon-clone\\functions\\node_modules\\firebase-functions\\lib\\index.js"} {"metadata":{"emulator":{"name":"functions"},"message":"[runtime-status] [14608] Resolved module firebase-functions {\"declared\":true,\"installed\":true,\"version\":\"3.16.0\",\"resolution\":\"C:\\\\Users\\\\acer\\\\Desktop\\\\Amazon Clone -1\\\\amazon-clone\\\\functions\\\\node_modules\\\\firebase-functions\\\\lib\\\\index.js\"}"}}
[debug] [2021-11-25T09:20:17.793Z] [runtime-status] [14608] Checked functions.config() {"config":{}} {"metadata":{"emulator":{"name":"functions"},"message":"[runtime-status] [14608] Checked functions.config() {\"config\":{}}"}}
[debug] [2021-11-25T09:20:17.794Z] [runtime-status] [14608] firebase-functions has been stubbed. {"functionsResolution":{"declared":true,"installed":true,"version":"3.16.0","resolution":"C:\\Users\\acer\\Desktop\\Amazon Clone -1\\amazon-clone\\functions\\node_modules\\firebase-functions\\lib\\index.js"}} {"metadata":{"emulator":{"name":"functions"},"message":"[runtime-status] [14608] firebase-functions has been stubbed. {\"functionsResolution\":{\"declared\":true,\"installed\":true,\"version\":\"3.16.0\",\"resolution\":\"C:\\\\Users\\\\acer\\\\Desktop\\\\Amazon Clone -1\\\\amazon-clone\\\\functions\\\\node_modules\\\\firebase-functions\\\\lib\\\\index.js\"}}"}}
[debug] [2021-11-25T09:20:17.797Z] [runtime-status] [14608] Resolved module firebase-functions {"declared":true,"installed":true,"version":"3.16.0","resolution":"C:\\Users\\acer\\Desktop\\Amazon Clone -1\\amazon-clone\\functions\\node_modules\\firebase-functions\\lib\\index.js"} {"metadata":{"emulator":{"name":"functions"},"message":"[runtime-status] [14608] Resolved module firebase-functions {\"declared\":true,\"installed\":true,\"version\":\"3.16.0\",\"resolution\":\"C:\\\\Users\\\\acer\\\\Desktop\\\\Amazon Clone -1\\\\amazon-clone\\\\functions\\\\node_modules\\\\firebase-functions\\\\lib\\\\index.js\"}"}}
[debug] [2021-11-25T09:20:17.801Z] [runtime-status] [14608] Resolved module firebase-admin {"declared":true,"installed":true,"version":"9.12.0","resolution":"C:\\Users\\acer\\Desktop\\Amazon Clone -1\\amazon-clone\\functions\\node_modules\\firebase-admin\\lib\\index.js"} {"metadata":{"emulator":{"name":"functions"},"message":"[runtime-status] [14608] Resolved module firebase-admin {\"declared\":true,\"installed\":true,\"version\":\"9.12.0\",\"resolution\":\"C:\\\\Users\\\\acer\\\\Desktop\\\\Amazon Clone -1\\\\amazon-clone\\\\functions\\\\node_modules\\\\firebase-admin\\\\lib\\\\index.js\"}"}}
[debug] [2021-11-25T09:20:17.803Z] [runtime-status] [14608] Resolved module firebase-functions {"declared":true,"installed":true,"version":"3.16.0","resolution":"C:\\Users\\acer\\Desktop\\Amazon Clone -1\\amazon-clone\\functions\\node_modules\\firebase-functions\\lib\\index.js"} {"metadata":{"emulator":{"name":"functions"},"message":"[runtime-status] [14608] Resolved module firebase-functions {\"declared\":true,\"installed\":true,\"version\":\"3.16.0\",\"resolution\":\"C:\\\\Users\\\\acer\\\\Desktop\\\\Amazon Clone -1\\\\amazon-clone\\\\functions\\\\node_modules\\\\firebase-functions\\\\lib\\\\index.js\"}"}}
[debug] [2021-11-25T09:20:17.804Z] [runtime-status] [14608] firebase-admin has been stubbed. {"adminResolution":{"declared":true,"installed":true,"version":"9.12.0","resolution":"C:\\Users\\acer\\Desktop\\Amazon Clone -1\\amazon-clone\\functions\\node_modules\\firebase-admin\\lib\\index.js"}} {"metadata":{"emulator":{"name":"functions"},"message":"[runtime-status] [14608] firebase-admin has been stubbed. {\"adminResolution\":{\"declared\":true,\"installed\":true,\"version\":\"9.12.0\",\"resolution\":\"C:\\\\Users\\\\acer\\\\Desktop\\\\Amazon Clone -1\\\\amazon-clone\\\\functions\\\\node_modules\\\\firebase-admin\\\\lib\\\\index.js\"}}"}}
[info] + functions[us-central1-api]: http function initialized (http://localhost:5001/ecommerce-clone-frontend/us-central1/api). {"metadata":{"emulator":{"name":"functions"},"message":"\u001b[1mhttp\u001b[22m function initialized (http://localhost:5001/ecommerce-clone-frontend/us-central1/api)."}}
[info]
┌─────────────────────────────────────────────────────────────┐
│ ✔ All emulators ready! It is now safe to connect your app. │
│ i View Emulator UI at http://localhost:4002 │
└─────────────────────────────────────────────────────────────┘
┌───────────┬────────────────┬─────────────────────────────────┐
│ Emulator │ Host:Port │ View in Emulator UI │
├───────────┼────────────────┼─────────────────────────────────┤
│ Functions │ localhost:5001 │ http://localhost:4002/functions │
├───────────┼────────────────┼─────────────────────────────────┤
│ Hosting │ localhost:5000 │ n/a │
└───────────┴────────────────┴─────────────────────────────────┘
Emulator Hub running at localhost:4400
Other reserved ports: 4500
Issues? Report them at https://github.com/firebase/firebase-tools/issues and attach the *-debug.log files.
[debug] [2021-11-25T09:20:24.481Z] [worker-~diagnostic~-debed57f-eb05-4f78-9f26-87f6438ca440]: IDLE {"metadata":{"emulator":{"name":"functions"},"message":"[worker-~diagnostic~-debed57f-eb05-4f78-9f26-87f6438ca440]: IDLE"}}
[debug] [2021-11-25T09:53:43.863Z] [work-queue] {"queueLength":1,"workRunningCount":0}
[debug] [2021-11-25T09:53:43.864Z] [work-queue] {"queueLength":0,"workRunningCount":1}
[debug] [2021-11-25T09:53:43.865Z] Accepted request POST /ecommerce-clone-frontend/us-central1/api/payments/create?total=26899 --> us-central1-api
[debug] [2021-11-25T09:53:43.875Z] [worker-pool] addWorker(us-central1-api) {"metadata":{"emulator":{"name":"functions"},"message":"[worker-pool] addWorker(us-central1-api)"}}
[debug] [2021-11-25T09:53:43.876Z] [worker-pool] Adding worker with key us-central1-api, total=1 {"metadata":{"emulator":{"name":"functions"},"message":"[worker-pool] Adding worker with key us-central1-api, total=1"}}
[debug] [2021-11-25T09:53:43.876Z] [worker-pool] submitWork(triggerId=us-central1-api) {"metadata":{"emulator":{"name":"functions"},"message":"[worker-pool] submitWork(triggerId=us-central1-api)"}}
[debug] [2021-11-25T09:53:43.876Z] [worker-us-central1-api-c119882a-53f8-491a-84fb-7311518f883e]: Assigning socketPath: \\?\pipe\C:\Users\acer\Desktop\Amazon Clone -1\amazon-clone\functions\8360 {"metadata":{"emulator":{"name":"functions"},"message":"[worker-us-central1-api-c119882a-53f8-491a-84fb-7311518f883e]: Assigning socketPath: \\\\?\\pipe\\C:\\Users\\acer\\Desktop\\Amazon Clone -1\\amazon-clone\\functions\\8360"}}
[debug] [2021-11-25T09:53:43.877Z] [worker-us-central1-api-c119882a-53f8-491a-84fb-7311518f883e]: BUSY {"metadata":{"emulator":{"name":"functions"},"message":"[worker-us-central1-api-c119882a-53f8-491a-84fb-7311518f883e]: BUSY"}}
[debug] [2021-11-25T09:53:46.959Z] [runtime-status] [8360] Functions runtime initialized. {"cwd":"C:\\Users\\acer\\Desktop\\Amazon Clone -1\\amazon-clone\\functions","node_version":"14.16.0"} {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [8360] Functions runtime initialized. {\"cwd\":\"C:\\\\Users\\\\acer\\\\Desktop\\\\Amazon Clone -1\\\\amazon-clone\\\\functions\",\"node_version\":\"14.16.0\"}"}}
[debug] [2021-11-25T09:53:46.964Z] [runtime-status] [8360] Disabled runtime features: undefined {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [8360] Disabled runtime features: undefined"}}
[debug] [2021-11-25T09:53:46.994Z] [runtime-status] [8360] Resolved module firebase-admin {"declared":true,"installed":true,"version":"9.12.0","resolution":"C:\\Users\\acer\\Desktop\\Amazon Clone -1\\amazon-clone\\functions\\node_modules\\firebase-admin\\lib\\index.js"} {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [8360] Resolved module firebase-admin {\"declared\":true,\"installed\":true,\"version\":\"9.12.0\",\"resolution\":\"C:\\\\Users\\\\acer\\\\Desktop\\\\Amazon Clone -1\\\\amazon-clone\\\\functions\\\\node_modules\\\\firebase-admin\\\\lib\\\\index.js\"}"}}
[debug] [2021-11-25T09:53:47.015Z] [runtime-status] [8360] Resolved module firebase-functions {"declared":true,"installed":true,"version":"3.16.0","resolution":"C:\\Users\\acer\\Desktop\\Amazon Clone -1\\amazon-clone\\functions\\node_modules\\firebase-functions\\lib\\index.js"} {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [8360] Resolved module firebase-functions {\"declared\":true,\"installed\":true,\"version\":\"3.16.0\",\"resolution\":\"C:\\\\Users\\\\acer\\\\Desktop\\\\Amazon Clone -1\\\\amazon-clone\\\\functions\\\\node_modules\\\\firebase-functions\\\\lib\\\\index.js\"}"}}
[debug] [2021-11-25T09:53:47.018Z] [runtime-status] [8360] Outgoing network have been stubbed. [{"name":"http","status":"mocked"},{"name":"http","status":"mocked"},{"name":"https","status":"mocked"},{"name":"https","status":"mocked"},{"name":"net","status":"mocked"}] {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [8360] Outgoing network have been stubbed. [{\"name\":\"http\",\"status\":\"mocked\"},{\"name\":\"http\",\"status\":\"mocked\"},{\"name\":\"https\",\"status\":\"mocked\"},{\"name\":\"https\",\"status\":\"mocked\"},{\"name\":\"net\",\"status\":\"mocked\"}]"}}
[debug] [2021-11-25T09:53:47.021Z] [runtime-status] [8360] Resolved module firebase-functions {"declared":true,"installed":true,"version":"3.16.0","resolution":"C:\\Users\\acer\\Desktop\\Amazon Clone -1\\amazon-clone\\functions\\node_modules\\firebase-functions\\lib\\index.js"} {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [8360] Resolved module firebase-functions {\"declared\":true,\"installed\":true,\"version\":\"3.16.0\",\"resolution\":\"C:\\\\Users\\\\acer\\\\Desktop\\\\Amazon Clone -1\\\\amazon-clone\\\\functions\\\\node_modules\\\\firebase-functions\\\\lib\\\\index.js\"}"}}
[debug] [2021-11-25T09:53:48.052Z] [runtime-status] [8360] Checked functions.config() {"config":{}} {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [8360] Checked functions.config() {\"config\":{}}"}}
[debug] [2021-11-25T09:53:48.053Z] [runtime-status] [8360] firebase-functions has been stubbed. {"functionsResolution":{"declared":true,"installed":true,"version":"3.16.0","resolution":"C:\\Users\\acer\\Desktop\\Amazon Clone -1\\amazon-clone\\functions\\node_modules\\firebase-functions\\lib\\index.js"}} {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [8360] firebase-functions has been stubbed. {\"functionsResolution\":{\"declared\":true,\"installed\":true,\"version\":\"3.16.0\",\"resolution\":\"C:\\\\Users\\\\acer\\\\Desktop\\\\Amazon Clone -1\\\\amazon-clone\\\\functions\\\\node_modules\\\\firebase-functions\\\\lib\\\\index.js\"}}"}}
[debug] [2021-11-25T09:53:48.055Z] [runtime-status] [8360] Resolved module firebase-functions {"declared":true,"installed":true,"version":"3.16.0","resolution":"C:\\Users\\acer\\Desktop\\Amazon Clone -1\\amazon-clone\\functions\\node_modules\\firebase-functions\\lib\\index.js"} {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [8360] Resolved module firebase-functions {\"declared\":true,\"installed\":true,\"version\":\"3.16.0\",\"resolution\":\"C:\\\\Users\\\\acer\\\\Desktop\\\\Amazon Clone -1\\\\amazon-clone\\\\functions\\\\node_modules\\\\firebase-functions\\\\lib\\\\index.js\"}"}}
[debug] [2021-11-25T09:53:48.058Z] [runtime-status] [8360] Resolved module firebase-admin {"declared":true,"installed":true,"version":"9.12.0","resolution":"C:\\Users\\acer\\Desktop\\Amazon Clone -1\\amazon-clone\\functions\\node_modules\\firebase-admin\\lib\\index.js"} {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [8360] Resolved module firebase-admin {\"declared\":true,\"installed\":true,\"version\":\"9.12.0\",\"resolution\":\"C:\\\\Users\\\\acer\\\\Desktop\\\\Amazon Clone -1\\\\amazon-clone\\\\functions\\\\node_modules\\\\firebase-admin\\\\lib\\\\index.js\"}"}}
[debug] [2021-11-25T09:53:48.060Z] [runtime-status] [8360] Resolved module firebase-functions {"declared":true,"installed":true,"version":"3.16.0","resolution":"C:\\Users\\acer\\Desktop\\Amazon Clone -1\\amazon-clone\\functions\\node_modules\\firebase-functions\\lib\\index.js"} {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [8360] Resolved module firebase-functions {\"declared\":true,\"installed\":true,\"version\":\"3.16.0\",\"resolution\":\"C:\\\\Users\\\\acer\\\\Desktop\\\\Amazon Clone -1\\\\amazon-clone\\\\functions\\\\node_modules\\\\firebase-functions\\\\lib\\\\index.js\"}"}}
[debug] [2021-11-25T09:53:48.060Z] [runtime-status] [8360] firebase-admin has been stubbed. {"adminResolution":{"declared":true,"installed":true,"version":"9.12.0","resolution":"C:\\Users\\acer\\Desktop\\Amazon Clone -1\\amazon-clone\\functions\\node_modules\\firebase-admin\\lib\\index.js"}} {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [8360] firebase-admin has been stubbed. {\"adminResolution\":{\"declared\":true,\"installed\":true,\"version\":\"9.12.0\",\"resolution\":\"C:\\\\Users\\\\acer\\\\Desktop\\\\Amazon Clone -1\\\\amazon-clone\\\\functions\\\\node_modules\\\\firebase-admin\\\\lib\\\\index.js\"}}"}}
[debug] [2021-11-25T09:53:50.816Z] [runtime-status] [8360] Trigger "us-central1-api" has been found, beginning invocation! {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [8360] Trigger \"us-central1-api\" has been found, beginning invocation!"}}
[info] i functions: Beginning execution of "us-central1-api" {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"Beginning execution of \"us-central1-api\""}}
[debug] [2021-11-25T09:53:50.819Z] [runtime-status] [8360] triggerDefinition {"httpsTrigger":{},"name":"api","entryPoint":"api","regions":["us-central1"],"region":"us-central1","id":"us-central1-api"} {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [8360] triggerDefinition {\"httpsTrigger\":{},\"name\":\"api\",\"entryPoint\":\"api\",\"regions\":[\"us-central1\"],\"region\":\"us-central1\",\"id\":\"us-central1-api\"}"}}
[debug] [2021-11-25T09:53:50.820Z] [runtime-status] [8360] Running us-central1-api in signature http {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [8360] Running us-central1-api in signature http"}}
[debug] [2021-11-25T09:53:50.825Z] [runtime-status] [8360] Attempting to listen to socketPath: \\?\pipe\C:\Users\acer\Desktop\Amazon Clone -1\amazon-clone\functions\8360 {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [8360] Attempting to listen to socketPath: \\\\?\\pipe\\C:\\Users\\acer\\Desktop\\Amazon Clone -1\\amazon-clone\\functions\\8360"}}
[debug] [2021-11-25T09:53:50.844Z] [functions] Runtime ready! Sending request! {"metadata":{"emulator":{"name":"functions"},"message":"[functions] Runtime ready! Sending request!"}}
[debug] [2021-11-25T09:53:50.846Z] [functions] Got req.url=/ecommerce-clone-frontend/us-central1/api/payments/create?total=26899, mapping to path=/payments/create?total=26899 {"metadata":{"emulator":{"name":"functions"},"message":"[functions] Got req.url=/ecommerce-clone-frontend/us-central1/api/payments/create?total=26899, mapping to path=/payments/create?total=26899"}}
[debug] [2021-11-25T09:53:50.859Z] [runtime-status] [8360] Ephemeral server handling POST request {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [8360] Ephemeral server handling POST request"}}
[info] > Payments request recieved!!! for this amount >>> 26899 {"user":"Payments request recieved!!! for this amount >>> 26899","metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"\u001b[90m> \u001b[39m Payments request recieved!!! for this amount >>> 26899"}}
[debug] [2021-11-25T09:53:50.891Z] [runtime-status] [8360] Ephemeral server survived. {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [8360] Ephemeral server survived."}}
[info] i functions: Finished "us-central1-api" in ~1s {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"Finished \"us-central1-api\" in ~1s"}}
[debug] [2021-11-25T09:53:51.687Z] [worker-us-central1-api-c119882a-53f8-491a-84fb-7311518f883e]: IDLE {"metadata":{"emulator":{"name":"functions"},"message":"[worker-us-central1-api-c119882a-53f8-491a-84fb-7311518f883e]: IDLE"}}
[debug] [2021-11-25T09:53:51.687Z] [work-queue] {"queueLength":0,"workRunningCount":0}
[debug] [2021-11-25T09:55:06.953Z] [work-queue] {"queueLength":1,"workRunningCount":0}
[debug] [2021-11-25T09:55:06.954Z] [work-queue] {"queueLength":0,"workRunningCount":1}
[debug] [2021-11-25T09:55:06.954Z] Accepted request POST /ecommerce-clone-frontend/us-central1/api/payments/create?total=26899 --> us-central1-api
[debug] [2021-11-25T09:55:06.955Z] [worker-pool] submitWork(triggerId=us-central1-api) {"metadata":{"emulator":{"name":"functions"},"message":"[worker-pool] submitWork(triggerId=us-central1-api)"}}
[debug] [2021-11-25T09:55:06.956Z] [worker-us-central1-api-c119882a-53f8-491a-84fb-7311518f883e]: Assigning socketPath: \\?\pipe\C:\Users\acer\Desktop\Amazon Clone -1\amazon-clone\functions\8360 {"metadata":{"emulator":{"name":"functions"},"message":"[worker-us-central1-api-c119882a-53f8-491a-84fb-7311518f883e]: Assigning socketPath: \\\\?\\pipe\\C:\\Users\\acer\\Desktop\\Amazon Clone -1\\amazon-clone\\functions\\8360"}}
[debug] [2021-11-25T09:55:06.956Z] [worker-us-central1-api-c119882a-53f8-491a-84fb-7311518f883e]: BUSY {"metadata":{"emulator":{"name":"functions"},"message":"[worker-us-central1-api-c119882a-53f8-491a-84fb-7311518f883e]: BUSY"}}
[debug] [2021-11-25T09:55:06.957Z] [runtime-status] [8360] Trigger "us-central1-api" has been found, beginning invocation! {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [8360] Trigger \"us-central1-api\" has been found, beginning invocation!"}}
[info] i functions: Beginning execution of "us-central1-api" {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"Beginning execution of \"us-central1-api\""}}
[debug] [2021-11-25T09:55:06.960Z] [runtime-status] [8360] triggerDefinition {"httpsTrigger":{},"name":"api","entryPoint":"api","regions":["us-central1"],"region":"us-central1","id":"us-central1-api"} {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [8360] triggerDefinition {\"httpsTrigger\":{},\"name\":\"api\",\"entryPoint\":\"api\",\"regions\":[\"us-central1\"],\"region\":\"us-central1\",\"id\":\"us-central1-api\"}"}}
[debug] [2021-11-25T09:55:06.961Z] [runtime-status] [8360] Running us-central1-api in signature http {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [8360] Running us-central1-api in signature http"}}
[debug] [2021-11-25T09:55:06.962Z] [runtime-status] [8360] Attempting to listen to socketPath: \\?\pipe\C:\Users\acer\Desktop\Amazon Clone -1\amazon-clone\functions\8360 {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [8360] Attempting to listen to socketPath: \\\\?\\pipe\\C:\\Users\\acer\\Desktop\\Amazon Clone -1\\amazon-clone\\functions\\8360"}}
[debug] [2021-11-25T09:55:06.968Z] [functions] Runtime ready! Sending request! {"metadata":{"emulator":{"name":"functions"},"message":"[functions] Runtime ready! Sending request!"}}
[debug] [2021-11-25T09:55:06.969Z] [functions] Got req.url=/ecommerce-clone-frontend/us-central1/api/payments/create?total=26899, mapping to path=/payments/create?total=26899 {"metadata":{"emulator":{"name":"functions"},"message":"[functions] Got req.url=/ecommerce-clone-frontend/us-central1/api/payments/create?total=26899, mapping to path=/payments/create?total=26899"}}
[debug] [2021-11-25T09:55:06.977Z] [runtime-status] [8360] Ephemeral server handling POST request {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [8360] Ephemeral server handling POST request"}}
[info] > Payments request recieved!!! for this amount >>> 26899 {"user":"Payments request recieved!!! for this amount >>> 26899","metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"\u001b[90m> \u001b[39m Payments request recieved!!! for this amount >>> 26899"}}
[debug] [2021-11-25T09:55:06.983Z] [runtime-status] [8360] Ephemeral server survived. {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [8360] Ephemeral server survived."}}
[info] i functions: Finished "us-central1-api" in ~1s {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"Finished \"us-central1-api\" in ~1s"}}
[debug] [2021-11-25T09:55:07.526Z] [worker-us-central1-api-c119882a-53f8-491a-84fb-7311518f883e]: IDLE {"metadata":{"emulator":{"name":"functions"},"message":"[worker-us-central1-api-c119882a-53f8-491a-84fb-7311518f883e]: IDLE"}}
[debug] [2021-11-25T09:55:07.526Z] [work-queue] {"queueLength":0,"workRunningCount":0}
[debug] [2021-11-25T09:59:58.515Z] [work-queue] {"queueLength":1,"workRunningCount":0}
[debug] [2021-11-25T09:59:58.516Z] [work-queue] {"queueLength":0,"workRunningCount":1}
[debug] [2021-11-25T09:59:58.516Z] Accepted request POST /ecommerce-clone-frontend/us-central1/api/payments/create?total=29898 --> us-central1-api
[debug] [2021-11-25T09:59:58.516Z] [worker-pool] submitWork(triggerId=us-central1-api) {"metadata":{"emulator":{"name":"functions"},"message":"[worker-pool] submitWork(triggerId=us-central1-api)"}}
[debug] [2021-11-25T09:59:58.516Z] [worker-us-central1-api-c119882a-53f8-491a-84fb-7311518f883e]: Assigning socketPath: \\?\pipe\C:\Users\acer\Desktop\Amazon Clone -1\amazon-clone\functions\8360 {"metadata":{"emulator":{"name":"functions"},"message":"[worker-us-central1-api-c119882a-53f8-491a-84fb-7311518f883e]: Assigning socketPath: \\\\?\\pipe\\C:\\Users\\acer\\Desktop\\Amazon Clone -1\\amazon-clone\\functions\\8360"}}
[debug] [2021-11-25T09:59:58.517Z] [worker-us-central1-api-c119882a-53f8-491a-84fb-7311518f883e]: BUSY {"metadata":{"emulator":{"name":"functions"},"message":"[worker-us-central1-api-c119882a-53f8-491a-84fb-7311518f883e]: BUSY"}}
[debug] [2021-11-25T09:59:58.518Z] [runtime-status] [8360] Trigger "us-central1-api" has been found, beginning invocation! {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [8360] Trigger \"us-central1-api\" has been found, beginning invocation!"}}
[info] i functions: Beginning execution of "us-central1-api" {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"Beginning execution of \"us-central1-api\""}}
[debug] [2021-11-25T09:59:58.520Z] [runtime-status] [8360] triggerDefinition {"httpsTrigger":{},"name":"api","entryPoint":"api","regions":["us-central1"],"region":"us-central1","id":"us-central1-api"} {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [8360] triggerDefinition {\"httpsTrigger\":{},\"name\":\"api\",\"entryPoint\":\"api\",\"regions\":[\"us-central1\"],\"region\":\"us-central1\",\"id\":\"us-central1-api\"}"}}
[debug] [2021-11-25T09:59:58.521Z] [runtime-status] [8360] Running us-central1-api in signature http {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [8360] Running us-central1-api in signature http"}}
[debug] [2021-11-25T09:59:58.526Z] [runtime-status] [8360] Attempting to listen to socketPath: \\?\pipe\C:\Users\acer\Desktop\Amazon Clone -1\amazon-clone\functions\8360 {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [8360] Attempting to listen to socketPath: \\\\?\\pipe\\C:\\Users\\acer\\Desktop\\Amazon Clone -1\\amazon-clone\\functions\\8360"}}
[debug] [2021-11-25T09:59:58.529Z] [functions] Runtime ready! Sending request! {"metadata":{"emulator":{"name":"functions"},"message":"[functions] Runtime ready! Sending request!"}}
[debug] [2021-11-25T09:59:58.530Z] [functions] Got req.url=/ecommerce-clone-frontend/us-central1/api/payments/create?total=29898, mapping to path=/payments/create?total=29898 {"metadata":{"emulator":{"name":"functions"},"message":"[functions] Got req.url=/ecommerce-clone-frontend/us-central1/api/payments/create?total=29898, mapping to path=/payments/create?total=29898"}}
[debug] [2021-11-25T09:59:58.536Z] [runtime-status] [8360] Ephemeral server handling POST request {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [8360] Ephemeral server handling POST request"}}
[info] > Payments request recieved!!! for this amount >>> 29898 {"user":"Payments request recieved!!! for this amount >>> 29898","metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"\u001b[90m> \u001b[39m Payments request recieved!!! for this amount >>> 29898"}}
[debug] [2021-11-25T09:59:58.540Z] [runtime-status] [8360] Ephemeral server survived. {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [8360] Ephemeral server survived."}}
[info] i functions: Finished "us-central1-api" in ~1s {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"Finished \"us-central1-api\" in ~1s"}}
[debug] [2021-11-25T09:59:59.147Z] [worker-us-central1-api-c119882a-53f8-491a-84fb-7311518f883e]: IDLE {"metadata":{"emulator":{"name":"functions"},"message":"[worker-us-central1-api-c119882a-53f8-491a-84fb-7311518f883e]: IDLE"}}
[debug] [2021-11-25T09:59:59.148Z] [work-queue] {"queueLength":0,"workRunningCount":0}
[debug] [2021-11-25T10:14:38.135Z] [work-queue] {"queueLength":1,"workRunningCount":0}
[debug] [2021-11-25T10:14:38.136Z] [work-queue] {"queueLength":0,"workRunningCount":1}
[debug] [2021-11-25T10:14:38.136Z] Accepted request POST /ecommerce-clone-frontend/us-central1/api/payments/create?total=99995 --> us-central1-api
[debug] [2021-11-25T10:14:38.136Z] [worker-pool] submitWork(triggerId=us-central1-api) {"metadata":{"emulator":{"name":"functions"},"message":"[worker-pool] submitWork(triggerId=us-central1-api)"}}
[debug] [2021-11-25T10:14:38.137Z] [worker-us-central1-api-c119882a-53f8-491a-84fb-7311518f883e]: Assigning socketPath: \\?\pipe\C:\Users\acer\Desktop\Amazon Clone -1\amazon-clone\functions\8360 {"metadata":{"emulator":{"name":"functions"},"message":"[worker-us-central1-api-c119882a-53f8-491a-84fb-7311518f883e]: Assigning socketPath: \\\\?\\pipe\\C:\\Users\\acer\\Desktop\\Amazon Clone -1\\amazon-clone\\functions\\8360"}}
[debug] [2021-11-25T10:14:38.137Z] [worker-us-central1-api-c119882a-53f8-491a-84fb-7311518f883e]: BUSY {"metadata":{"emulator":{"name":"functions"},"message":"[worker-us-central1-api-c119882a-53f8-491a-84fb-7311518f883e]: BUSY"}}
[debug] [2021-11-25T10:14:38.138Z] [runtime-status] [8360] Trigger "us-central1-api" has been found, beginning invocation! {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [8360] Trigger \"us-central1-api\" has been found, beginning invocation!"}}
[info] i functions: Beginning execution of "us-central1-api" {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"Beginning execution of \"us-central1-api\""}}
[debug] [2021-11-25T10:14:38.140Z] [runtime-status] [8360] triggerDefinition {"httpsTrigger":{},"name":"api","entryPoint":"api","regions":["us-central1"],"region":"us-central1","id":"us-central1-api"} {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [8360] triggerDefinition {\"httpsTrigger\":{},\"name\":\"api\",\"entryPoint\":\"api\",\"regions\":[\"us-central1\"],\"region\":\"us-central1\",\"id\":\"us-central1-api\"}"}}
[debug] [2021-11-25T10:14:38.141Z] [runtime-status] [8360] Running us-central1-api in signature http {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [8360] Running us-central1-api in signature http"}}
[debug] [2021-11-25T10:14:38.142Z] [runtime-status] [8360] Attempting to listen to socketPath: \\?\pipe\C:\Users\acer\Desktop\Amazon Clone -1\amazon-clone\functions\8360 {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [8360] Attempting to listen to socketPath: \\\\?\\pipe\\C:\\Users\\acer\\Desktop\\Amazon Clone -1\\amazon-clone\\functions\\8360"}}
[debug] [2021-11-25T10:14:38.145Z] [functions] Runtime ready! Sending request! {"metadata":{"emulator":{"name":"functions"},"message":"[functions] Runtime ready! Sending request!"}}
[debug] [2021-11-25T10:14:38.145Z] [functions] Got req.url=/ecommerce-clone-frontend/us-central1/api/payments/create?total=99995, mapping to path=/payments/create?total=99995 {"metadata":{"emulator":{"name":"functions"},"message":"[functions] Got req.url=/ecommerce-clone-frontend/us-central1/api/payments/create?total=99995, mapping to path=/payments/create?total=99995"}}
[debug] [2021-11-25T10:14:38.151Z] [runtime-status] [8360] Ephemeral server handling POST request {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [8360] Ephemeral server handling POST request"}}
[info] > Payments request recieved!!! for this amount >>> 99995 {"user":"Payments request recieved!!! for this amount >>> 99995","metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"\u001b[90m> \u001b[39m Payments request recieved!!! for this amount >>> 99995"}}
[debug] [2021-11-25T10:14:38.155Z] [runtime-status] [8360] Ephemeral server survived. {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [8360] Ephemeral server survived."}}
[info] i functions: Finished "us-central1-api" in ~1s {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"Finished \"us-central1-api\" in ~1s"}}
[debug] [2021-11-25T10:14:38.782Z] [worker-us-central1-api-c119882a-53f8-491a-84fb-7311518f883e]: IDLE {"metadata":{"emulator":{"name":"functions"},"message":"[worker-us-central1-api-c119882a-53f8-491a-84fb-7311518f883e]: IDLE"}}
[debug] [2021-11-25T10:14:38.782Z] [work-queue] {"queueLength":0,"workRunningCount":0}
[debug] [2021-11-27T05:37:17.456Z] [work-queue] {"queueLength":1,"workRunningCount":0}
[debug] [2021-11-27T05:37:17.460Z] [work-queue] {"queueLength":0,"workRunningCount":1}
[debug] [2021-11-27T05:37:17.461Z] Accepted request POST /ecommerce-clone-frontend/us-central1/api/payments/create?total=99995 --> us-central1-api
[debug] [2021-11-27T05:37:17.463Z] [worker-pool] submitWork(triggerId=us-central1-api) {"metadata":{"emulator":{"name":"functions"},"message":"[worker-pool] submitWork(triggerId=us-central1-api)"}}
[debug] [2021-11-27T05:37:17.463Z] [worker-us-central1-api-c119882a-53f8-491a-84fb-7311518f883e]: Assigning socketPath: \\?\pipe\C:\Users\acer\Desktop\Amazon Clone -1\amazon-clone\functions\8360 {"metadata":{"emulator":{"name":"functions"},"message":"[worker-us-central1-api-c119882a-53f8-491a-84fb-7311518f883e]: Assigning socketPath: \\\\?\\pipe\\C:\\Users\\acer\\Desktop\\Amazon Clone -1\\amazon-clone\\functions\\8360"}}
[debug] [2021-11-27T05:37:17.464Z] [worker-us-central1-api-c119882a-53f8-491a-84fb-7311518f883e]: BUSY {"metadata":{"emulator":{"name":"functions"},"message":"[worker-us-central1-api-c119882a-53f8-491a-84fb-7311518f883e]: BUSY"}}
[debug] [2021-11-27T05:37:17.477Z] [runtime-status] [8360] Trigger "us-central1-api" has been found, beginning invocation! {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [8360] Trigger \"us-central1-api\" has been found, beginning invocation!"}}
[info] i functions: Beginning execution of "us-central1-api" {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"Beginning execution of \"us-central1-api\""}}
[debug] [2021-11-27T05:37:17.483Z] [runtime-status] [8360] triggerDefinition {"httpsTrigger":{},"name":"api","entryPoint":"api","regions":["us-central1"],"region":"us-central1","id":"us-central1-api"} {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [8360] triggerDefinition {\"httpsTrigger\":{},\"name\":\"api\",\"entryPoint\":\"api\",\"regions\":[\"us-central1\"],\"region\":\"us-central1\",\"id\":\"us-central1-api\"}"}}
[debug] [2021-11-27T05:37:17.483Z] [runtime-status] [8360] Running us-central1-api in signature http {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [8360] Running us-central1-api in signature http"}}
[debug] [2021-11-27T05:37:17.485Z] [runtime-status] [8360] Attempting to listen to socketPath: \\?\pipe\C:\Users\acer\Desktop\Amazon Clone -1\amazon-clone\functions\8360 {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [8360] Attempting to listen to socketPath: \\\\?\\pipe\\C:\\Users\\acer\\Desktop\\Amazon Clone -1\\amazon-clone\\functions\\8360"}}
[debug] [2021-11-27T05:37:17.555Z] [functions] Runtime ready! Sending request! {"metadata":{"emulator":{"name":"functions"},"message":"[functions] Runtime ready! Sending request!"}}
[debug] [2021-11-27T05:37:17.556Z] [functions] Got req.url=/ecommerce-clone-frontend/us-central1/api/payments/create?total=99995, mapping to path=/payments/create?total=99995 {"metadata":{"emulator":{"name":"functions"},"message":"[functions] Got req.url=/ecommerce-clone-frontend/us-central1/api/payments/create?total=99995, mapping to path=/payments/create?total=99995"}}
[debug] [2021-11-27T05:37:17.568Z] [runtime-status] [8360] Ephemeral server handling POST request {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [8360] Ephemeral server handling POST request"}}
[info] > Payments request recieved!!! for this amount >>> 99995 {"user":"Payments request recieved!!! for this amount >>> 99995","metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"\u001b[90m> \u001b[39m Payments request recieved!!! for this amount >>> 99995"}}
[debug] [2021-11-27T05:37:17.577Z] [runtime-status] [8360] Ephemeral server survived. {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"[runtime-status] [8360] Ephemeral server survived."}}
[info] i functions: Finished "us-central1-api" in ~1s {"metadata":{"emulator":{"name":"functions"},"function":{"name":"us-central1-api"},"message":"Finished \"us-central1-api\" in ~1s"}}
[debug] [2021-11-27T05:37:18.348Z] [worker-us-central1-api-c119882a-53f8-491a-84fb-7311518f883e]: IDLE {"metadata":{"emulator":{"name":"functions"},"message":"[worker-us-central1-api-c119882a-53f8-491a-84fb-7311518f883e]: IDLE"}}
[debug] [2021-11-27T05:37:18.349Z] [work-queue] {"queueLength":0,"workRunningCount":0}