-
Notifications
You must be signed in to change notification settings - Fork 0
/
firebase-debug.log
148 lines (144 loc) · 39.9 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
[debug] [2020-09-24T16:17:52.188Z] ----------------------------------------------------------------------
[debug] [2020-09-24T16:17:52.191Z] Command: C:\Program Files\nodejs\node.exe C:\Users\saad\AppData\Roaming\npm\node_modules\firebase-tools\lib\bin\firebase.js emulators:start
[debug] [2020-09-24T16:17:52.192Z] CLI Version: 8.10.0
[debug] [2020-09-24T16:17:52.192Z] Platform: win32
[debug] [2020-09-24T16:17:52.192Z] Node Version: v12.18.1
[debug] [2020-09-24T16:17:52.193Z] Time: Thu Sep 24 2020 21:47:52 GMT+0530 (India Standard Time)
[debug] [2020-09-24T16:17:52.194Z] ----------------------------------------------------------------------
[debug] [2020-09-24T16:17:52.194Z]
[debug] [2020-09-24T16:17:52.229Z] > 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] [2020-09-24T16:17:52.231Z] > authorizing via signed-in user
[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 clone-d5a5c. This may result in unexpected behavior.
[debug] [2020-09-24T16:17:54.309Z] [hub] writing locator at C:\Users\saad\AppData\Local\Temp\hub-clone-d5a5c.json
[warn] ! functions: The following emulators are not running, calls to these services from the Functions emulator will affect production: firestore, database, pubsub {"metadata":{"emulator":{"name":"functions"},"message":"The following emulators are not running, calls to these services from the Functions emulator will affect production: \u001b[1mfirestore, database, pubsub\u001b[22m"}}
[warn] ! Your requested "node" version "10" doesn't match your global version "12" {"metadata":{"emulator":{"name":"functions"},"message":"Your requested \"node\" version \"10\" doesn't match your global version \"12\""}}
[debug] [2020-09-24T16:17:56.344Z] defaultcredentials: writing to file C:\Users\saad\AppData\Roaming\firebase\saadabban2725_gmail_com_application_default_credentials.json
[debug] [2020-09-24T16:17:56.350Z] Setting GAC to C:\Users\saad\AppData\Roaming\firebase\saadabban2725_gmail_com_application_default_credentials.json {"metadata":{"emulator":{"name":"functions"},"message":"Setting GAC to C:\\Users\\saad\\AppData\\Roaming\\firebase\\saadabban2725_gmail_com_application_default_credentials.json"}}
[debug] [2020-09-24T16:17:58.378Z] > refreshing access token with scopes: ["email","https://www.googleapis.com/auth/cloud-platform","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","openid"]
[debug] [2020-09-24T16:17:58.379Z] >>> HTTP REQUEST POST https://www.googleapis.com/oauth2/v3/token
<request body omitted>
[debug] [2020-09-24T16:17:58.734Z] <<< HTTP RESPONSE 200 {"content-type":"application/json; charset=utf-8","vary":"X-Origin, Referer, Origin,Accept-Encoding","date":"Thu, 24 Sep 2020 16:17:58 GMT","server":"scaffolding on HTTPServer2","cache-control":"private","x-xss-protection":"0","x-frame-options":"SAMEORIGIN","x-content-type-options":"nosniff","alt-svc":"h3-Q050=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-27=\":443\"; ma=2592000,h3-T051=\":443\"; ma=2592000,h3-T050=\":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] [2020-09-24T16:17:58.750Z] >>> HTTP REQUEST GET https://firebase.googleapis.com/v1beta1/projects/clone-d5a5c/webApps/-/config
[debug] [2020-09-24T16:18:00.290Z] <<< HTTP RESPONSE 200 {"content-type":"application/json; charset=UTF-8","vary":"X-Origin, Referer, Origin,Accept-Encoding","date":"Thu, 24 Sep 2020 16:17:59 GMT","server":"ESF","cache-control":"private","x-xss-protection":"0","x-frame-options":"SAMEORIGIN","x-content-type-options":"nosniff","alt-svc":"h3-Q050=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-27=\":443\"; ma=2592000,h3-T051=\":443\"; ma=2592000,h3-T050=\":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"}
[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"}}
[debug] [2020-09-24T16:18:04.338Z] Ignoring unsupported arg: auto_download {"metadata":{"emulator":{"name":"ui"},"message":"Ignoring unsupported arg: auto_download"}}
[debug] [2020-09-24T16:18:04.338Z] Ignoring unsupported arg: port {"metadata":{"emulator":{"name":"ui"},"message":"Ignoring unsupported arg: port"}}
[debug] [2020-09-24T16:18:04.339Z] Starting Emulator UI with command {"binary":"node","args":["C:\\Users\\saad\\.cache\\firebase\\emulators\\ui-v1.1.1\\server.bundle.js"],"optionalArgs":[],"joinArgs":false} {"metadata":{"emulator":{"name":"ui"},"message":"Starting Emulator UI with command {\"binary\":\"node\",\"args\":[\"C:\\\\Users\\\\saad\\\\.cache\\\\firebase\\\\emulators\\\\ui-v1.1.1\\\\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] [2020-09-24T16:18:04.616Z] Web / API server started at http://localhost:4000
{"metadata":{"emulator":{"name":"ui"},"message":"Web / API server started at http://localhost:4000\n"}}
[info] i functions: Watching "D:\Coding Stuff\My_Projects\CleverProgrammer_Projects\amazon-clone\functions" for Cloud Functions... {"metadata":{"emulator":{"name":"functions"},"message":"Watching \"D:\\Coding Stuff\\My_Projects\\CleverProgrammer_Projects\\amazon-clone\\functions\" for Cloud Functions..."}}
[debug] [2020-09-24T16:18:04.894Z] [worker-pool] addWorker(~diagnostic~) {"metadata":{"emulator":{"name":"functions"},"message":"[worker-pool] addWorker(~diagnostic~)"}}
[debug] [2020-09-24T16:18:04.894Z] [worker-pool] Adding worker with key ~diagnostic~, total=1 {"metadata":{"emulator":{"name":"functions"},"message":"[worker-pool] Adding worker with key ~diagnostic~, total=1"}}
[debug] [2020-09-24T16:18:04.895Z] [worker-pool] submitWork(triggerId=) {"metadata":{"emulator":{"name":"functions"},"message":"[worker-pool] submitWork(triggerId=)"}}
[debug] [2020-09-24T16:18:04.895Z] [worker-~diagnostic~-4bd502d5-82a5-4040-bdae-f64a17b64822]: Assigning socketPath: \\?\pipe\D:\Coding Stuff\My_Projects\CleverProgrammer_Projects\amazon-clone\functions\9852 {"metadata":{"emulator":{"name":"functions"},"message":"[worker-~diagnostic~-4bd502d5-82a5-4040-bdae-f64a17b64822]: Assigning socketPath: \\\\?\\pipe\\D:\\Coding Stuff\\My_Projects\\CleverProgrammer_Projects\\amazon-clone\\functions\\9852"}}
[debug] [2020-09-24T16:18:04.895Z] [worker-~diagnostic~-4bd502d5-82a5-4040-bdae-f64a17b64822]: BUSY {"metadata":{"emulator":{"name":"functions"},"message":"[worker-~diagnostic~-4bd502d5-82a5-4040-bdae-f64a17b64822]: BUSY"}}
[debug] [2020-09-24T16:18:05.585Z] [runtime-status] [9852] Functions runtime initialized. {"cwd":"D:\\Coding Stuff\\My_Projects\\CleverProgrammer_Projects\\amazon-clone\\functions","node_version":"12.18.1"} {"metadata":{"emulator":{"name":"functions"},"message":"[runtime-status] [9852] Functions runtime initialized. {\"cwd\":\"D:\\\\Coding Stuff\\\\My_Projects\\\\CleverProgrammer_Projects\\\\amazon-clone\\\\functions\",\"node_version\":\"12.18.1\"}"}}
[debug] [2020-09-24T16:18:05.595Z] [runtime-status] [9852] Disabled runtime features: undefined {"metadata":{"emulator":{"name":"functions"},"message":"[runtime-status] [9852] Disabled runtime features: undefined"}}
[debug] [2020-09-24T16:18:05.604Z] [runtime-status] [9852] Resolved module firebase-admin {"declared":true,"installed":true,"version":"8.13.0","resolution":"D:\\Coding Stuff\\My_Projects\\CleverProgrammer_Projects\\amazon-clone\\functions\\node_modules\\firebase-admin\\lib\\index.js"} {"metadata":{"emulator":{"name":"functions"},"message":"[runtime-status] [9852] Resolved module firebase-admin {\"declared\":true,\"installed\":true,\"version\":\"8.13.0\",\"resolution\":\"D:\\\\Coding Stuff\\\\My_Projects\\\\CleverProgrammer_Projects\\\\amazon-clone\\\\functions\\\\node_modules\\\\firebase-admin\\\\lib\\\\index.js\"}"}}
[debug] [2020-09-24T16:18:05.606Z] [runtime-status] [9852] Resolved module firebase-functions {"declared":true,"installed":true,"version":"3.11.0","resolution":"D:\\Coding Stuff\\My_Projects\\CleverProgrammer_Projects\\amazon-clone\\functions\\node_modules\\firebase-functions\\lib\\index.js"} {"metadata":{"emulator":{"name":"functions"},"message":"[runtime-status] [9852] Resolved module firebase-functions {\"declared\":true,\"installed\":true,\"version\":\"3.11.0\",\"resolution\":\"D:\\\\Coding Stuff\\\\My_Projects\\\\CleverProgrammer_Projects\\\\amazon-clone\\\\functions\\\\node_modules\\\\firebase-functions\\\\lib\\\\index.js\"}"}}
[debug] [2020-09-24T16:18:05.608Z] [runtime-status] [9852] Resolved module firebase-functions {"declared":true,"installed":true,"version":"3.11.0","resolution":"D:\\Coding Stuff\\My_Projects\\CleverProgrammer_Projects\\amazon-clone\\functions\\node_modules\\firebase-functions\\lib\\index.js"} {"metadata":{"emulator":{"name":"functions"},"message":"[runtime-status] [9852] Resolved module firebase-functions {\"declared\":true,\"installed\":true,\"version\":\"3.11.0\",\"resolution\":\"D:\\\\Coding Stuff\\\\My_Projects\\\\CleverProgrammer_Projects\\\\amazon-clone\\\\functions\\\\node_modules\\\\firebase-functions\\\\lib\\\\index.js\"}"}}
[debug] [2020-09-24T16:18:05.610Z] [runtime-status] [9852] 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] [9852] 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] [2020-09-24T16:18:05.610Z] [runtime-status] [9852] Resolved module firebase-functions {"declared":true,"installed":true,"version":"3.11.0","resolution":"D:\\Coding Stuff\\My_Projects\\CleverProgrammer_Projects\\amazon-clone\\functions\\node_modules\\firebase-functions\\lib\\index.js"} {"metadata":{"emulator":{"name":"functions"},"message":"[runtime-status] [9852] Resolved module firebase-functions {\"declared\":true,\"installed\":true,\"version\":\"3.11.0\",\"resolution\":\"D:\\\\Coding Stuff\\\\My_Projects\\\\CleverProgrammer_Projects\\\\amazon-clone\\\\functions\\\\node_modules\\\\firebase-functions\\\\lib\\\\index.js\"}"}}
[debug] [2020-09-24T16:18:05.810Z] [runtime-status] [9852] Checked functions.config() {"config":{}} {"metadata":{"emulator":{"name":"functions"},"message":"[runtime-status] [9852] Checked functions.config() {\"config\":{}}"}}
[debug] [2020-09-24T16:18:05.811Z] [runtime-status] [9852] firebase-functions has been stubbed. {"functionsResolution":{"declared":true,"installed":true,"version":"3.11.0","resolution":"D:\\Coding Stuff\\My_Projects\\CleverProgrammer_Projects\\amazon-clone\\functions\\node_modules\\firebase-functions\\lib\\index.js"}} {"metadata":{"emulator":{"name":"functions"},"message":"[runtime-status] [9852] firebase-functions has been stubbed. {\"functionsResolution\":{\"declared\":true,\"installed\":true,\"version\":\"3.11.0\",\"resolution\":\"D:\\\\Coding Stuff\\\\My_Projects\\\\CleverProgrammer_Projects\\\\amazon-clone\\\\functions\\\\node_modules\\\\firebase-functions\\\\lib\\\\index.js\"}}"}}
[debug] [2020-09-24T16:18:05.811Z] [runtime-status] [9852] Resolved module firebase-functions {"declared":true,"installed":true,"version":"3.11.0","resolution":"D:\\Coding Stuff\\My_Projects\\CleverProgrammer_Projects\\amazon-clone\\functions\\node_modules\\firebase-functions\\lib\\index.js"} {"metadata":{"emulator":{"name":"functions"},"message":"[runtime-status] [9852] Resolved module firebase-functions {\"declared\":true,\"installed\":true,\"version\":\"3.11.0\",\"resolution\":\"D:\\\\Coding Stuff\\\\My_Projects\\\\CleverProgrammer_Projects\\\\amazon-clone\\\\functions\\\\node_modules\\\\firebase-functions\\\\lib\\\\index.js\"}"}}
[debug] [2020-09-24T16:18:05.812Z] [runtime-status] [9852] Resolved module firebase-admin {"declared":true,"installed":true,"version":"8.13.0","resolution":"D:\\Coding Stuff\\My_Projects\\CleverProgrammer_Projects\\amazon-clone\\functions\\node_modules\\firebase-admin\\lib\\index.js"} {"metadata":{"emulator":{"name":"functions"},"message":"[runtime-status] [9852] Resolved module firebase-admin {\"declared\":true,\"installed\":true,\"version\":\"8.13.0\",\"resolution\":\"D:\\\\Coding Stuff\\\\My_Projects\\\\CleverProgrammer_Projects\\\\amazon-clone\\\\functions\\\\node_modules\\\\firebase-admin\\\\lib\\\\index.js\"}"}}
[debug] [2020-09-24T16:18:05.813Z] [runtime-status] [9852] Resolved module firebase-functions {"declared":true,"installed":true,"version":"3.11.0","resolution":"D:\\Coding Stuff\\My_Projects\\CleverProgrammer_Projects\\amazon-clone\\functions\\node_modules\\firebase-functions\\lib\\index.js"} {"metadata":{"emulator":{"name":"functions"},"message":"[runtime-status] [9852] Resolved module firebase-functions {\"declared\":true,\"installed\":true,\"version\":\"3.11.0\",\"resolution\":\"D:\\\\Coding Stuff\\\\My_Projects\\\\CleverProgrammer_Projects\\\\amazon-clone\\\\functions\\\\node_modules\\\\firebase-functions\\\\lib\\\\index.js\"}"}}
[debug] [2020-09-24T16:18:05.813Z] [runtime-status] [9852] firebase-admin has been stubbed. {"adminResolution":{"declared":true,"installed":true,"version":"8.13.0","resolution":"D:\\Coding Stuff\\My_Projects\\CleverProgrammer_Projects\\amazon-clone\\functions\\node_modules\\firebase-admin\\lib\\index.js"}} {"metadata":{"emulator":{"name":"functions"},"message":"[runtime-status] [9852] firebase-admin has been stubbed. {\"adminResolution\":{\"declared\":true,\"installed\":true,\"version\":\"8.13.0\",\"resolution\":\"D:\\\\Coding Stuff\\\\My_Projects\\\\CleverProgrammer_Projects\\\\amazon-clone\\\\functions\\\\node_modules\\\\firebase-admin\\\\lib\\\\index.js\"}}"}}
[info] + functions[api]: http function initialized (http://localhost:5001/clone-d5a5c/us-central1/api). {"metadata":{"emulator":{"name":"functions"},"message":"\u001b[1mhttp\u001b[22m function initialized (http://localhost:5001/clone-d5a5c/us-central1/api)."}}
[info]
┌───────────────────────────────────────────────────────────────────────┐
│ ✔ All emulators ready! View status and logs at http://localhost:4000 │
└───────────────────────────────────────────────────────────────────────┘
┌───────────┬────────────────┬─────────────────────────────────┐
│ Emulator │ Host:Port │ View in Emulator UI │
├───────────┼────────────────┼─────────────────────────────────┤
│ Functions │ localhost:5001 │ http://localhost:4000/functions │
├───────────┼────────────────┼─────────────────────────────────┤
│ Hosting │ localhost:5000 │ n/a │
└───────────┴────────────────┴─────────────────────────────────┘
Other reserved ports: 4400, 4500
Issues? Report them at https://github.com/firebase/firebase-tools/issues and attach the *-debug.log files.
[debug] [2020-09-24T16:18:06.410Z] [worker-~diagnostic~-4bd502d5-82a5-4040-bdae-f64a17b64822]: IDLE {"metadata":{"emulator":{"name":"functions"},"message":"[worker-~diagnostic~-4bd502d5-82a5-4040-bdae-f64a17b64822]: IDLE"}}
[debug] [2020-09-24T16:18:12.261Z] [work-queue] {"queueLength":1,"workRunningCount":0}
[debug] [2020-09-24T16:18:12.262Z] [work-queue] {"queueLength":0,"workRunningCount":1}
[debug] [2020-09-24T16:18:12.263Z] Accepted request POST /clone-d5a5c/us-central1/api/payments/create?total=89900 --> api
[debug] [2020-09-24T16:18:12.275Z] [worker-pool] addWorker(api) {"metadata":{"emulator":{"name":"functions"},"message":"[worker-pool] addWorker(api)"}}
[debug] [2020-09-24T16:18:12.276Z] [worker-pool] Adding worker with key api, total=1 {"metadata":{"emulator":{"name":"functions"},"message":"[worker-pool] Adding worker with key api, total=1"}}
[debug] [2020-09-24T16:18:12.277Z] [worker-pool] submitWork(triggerId=api) {"metadata":{"emulator":{"name":"functions"},"message":"[worker-pool] submitWork(triggerId=api)"}}
[debug] [2020-09-24T16:18:12.277Z] [worker-api-ae3f902d-504a-46bd-a047-da5db6795c18]: Assigning socketPath: \\?\pipe\D:\Coding Stuff\My_Projects\CleverProgrammer_Projects\amazon-clone\functions\2688 {"metadata":{"emulator":{"name":"functions"},"message":"[worker-api-ae3f902d-504a-46bd-a047-da5db6795c18]: Assigning socketPath: \\\\?\\pipe\\D:\\Coding Stuff\\My_Projects\\CleverProgrammer_Projects\\amazon-clone\\functions\\2688"}}
[debug] [2020-09-24T16:18:12.277Z] [worker-api-ae3f902d-504a-46bd-a047-da5db6795c18]: BUSY {"metadata":{"emulator":{"name":"functions"},"message":"[worker-api-ae3f902d-504a-46bd-a047-da5db6795c18]: BUSY"}}
[debug] [2020-09-24T16:18:12.761Z] [runtime-status] [2688] Functions runtime initialized. {"cwd":"D:\\Coding Stuff\\My_Projects\\CleverProgrammer_Projects\\amazon-clone\\functions","node_version":"12.18.1"} {"metadata":{"emulator":{"name":"functions"},"function":{"name":"api"},"message":"[runtime-status] [2688] Functions runtime initialized. {\"cwd\":\"D:\\\\Coding Stuff\\\\My_Projects\\\\CleverProgrammer_Projects\\\\amazon-clone\\\\functions\",\"node_version\":\"12.18.1\"}"}}
[debug] [2020-09-24T16:18:12.766Z] [runtime-status] [2688] Disabled runtime features: undefined {"metadata":{"emulator":{"name":"functions"},"function":{"name":"api"},"message":"[runtime-status] [2688] Disabled runtime features: undefined"}}
[debug] [2020-09-24T16:18:12.772Z] [runtime-status] [2688] Resolved module firebase-admin {"declared":true,"installed":true,"version":"8.13.0","resolution":"D:\\Coding Stuff\\My_Projects\\CleverProgrammer_Projects\\amazon-clone\\functions\\node_modules\\firebase-admin\\lib\\index.js"} {"metadata":{"emulator":{"name":"functions"},"function":{"name":"api"},"message":"[runtime-status] [2688] Resolved module firebase-admin {\"declared\":true,\"installed\":true,\"version\":\"8.13.0\",\"resolution\":\"D:\\\\Coding Stuff\\\\My_Projects\\\\CleverProgrammer_Projects\\\\amazon-clone\\\\functions\\\\node_modules\\\\firebase-admin\\\\lib\\\\index.js\"}"}}
[debug] [2020-09-24T16:18:12.773Z] [runtime-status] [2688] Resolved module firebase-functions {"declared":true,"installed":true,"version":"3.11.0","resolution":"D:\\Coding Stuff\\My_Projects\\CleverProgrammer_Projects\\amazon-clone\\functions\\node_modules\\firebase-functions\\lib\\index.js"} {"metadata":{"emulator":{"name":"functions"},"function":{"name":"api"},"message":"[runtime-status] [2688] Resolved module firebase-functions {\"declared\":true,\"installed\":true,\"version\":\"3.11.0\",\"resolution\":\"D:\\\\Coding Stuff\\\\My_Projects\\\\CleverProgrammer_Projects\\\\amazon-clone\\\\functions\\\\node_modules\\\\firebase-functions\\\\lib\\\\index.js\"}"}}
[debug] [2020-09-24T16:18:12.774Z] [runtime-status] [2688] Resolved module firebase-functions {"declared":true,"installed":true,"version":"3.11.0","resolution":"D:\\Coding Stuff\\My_Projects\\CleverProgrammer_Projects\\amazon-clone\\functions\\node_modules\\firebase-functions\\lib\\index.js"} {"metadata":{"emulator":{"name":"functions"},"function":{"name":"api"},"message":"[runtime-status] [2688] Resolved module firebase-functions {\"declared\":true,\"installed\":true,\"version\":\"3.11.0\",\"resolution\":\"D:\\\\Coding Stuff\\\\My_Projects\\\\CleverProgrammer_Projects\\\\amazon-clone\\\\functions\\\\node_modules\\\\firebase-functions\\\\lib\\\\index.js\"}"}}
[debug] [2020-09-24T16:18:12.776Z] [runtime-status] [2688] 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":"api"},"message":"[runtime-status] [2688] 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] [2020-09-24T16:18:12.776Z] [runtime-status] [2688] Resolved module firebase-functions {"declared":true,"installed":true,"version":"3.11.0","resolution":"D:\\Coding Stuff\\My_Projects\\CleverProgrammer_Projects\\amazon-clone\\functions\\node_modules\\firebase-functions\\lib\\index.js"} {"metadata":{"emulator":{"name":"functions"},"function":{"name":"api"},"message":"[runtime-status] [2688] Resolved module firebase-functions {\"declared\":true,\"installed\":true,\"version\":\"3.11.0\",\"resolution\":\"D:\\\\Coding Stuff\\\\My_Projects\\\\CleverProgrammer_Projects\\\\amazon-clone\\\\functions\\\\node_modules\\\\firebase-functions\\\\lib\\\\index.js\"}"}}
[debug] [2020-09-24T16:18:12.822Z] [runtime-status] [2688] Checked functions.config() {"config":{}} {"metadata":{"emulator":{"name":"functions"},"function":{"name":"api"},"message":"[runtime-status] [2688] Checked functions.config() {\"config\":{}}"}}
[debug] [2020-09-24T16:18:12.823Z] [runtime-status] [2688] firebase-functions has been stubbed. {"functionsResolution":{"declared":true,"installed":true,"version":"3.11.0","resolution":"D:\\Coding Stuff\\My_Projects\\CleverProgrammer_Projects\\amazon-clone\\functions\\node_modules\\firebase-functions\\lib\\index.js"}} {"metadata":{"emulator":{"name":"functions"},"function":{"name":"api"},"message":"[runtime-status] [2688] firebase-functions has been stubbed. {\"functionsResolution\":{\"declared\":true,\"installed\":true,\"version\":\"3.11.0\",\"resolution\":\"D:\\\\Coding Stuff\\\\My_Projects\\\\CleverProgrammer_Projects\\\\amazon-clone\\\\functions\\\\node_modules\\\\firebase-functions\\\\lib\\\\index.js\"}}"}}
[debug] [2020-09-24T16:18:12.823Z] [runtime-status] [2688] Resolved module firebase-functions {"declared":true,"installed":true,"version":"3.11.0","resolution":"D:\\Coding Stuff\\My_Projects\\CleverProgrammer_Projects\\amazon-clone\\functions\\node_modules\\firebase-functions\\lib\\index.js"} {"metadata":{"emulator":{"name":"functions"},"function":{"name":"api"},"message":"[runtime-status] [2688] Resolved module firebase-functions {\"declared\":true,\"installed\":true,\"version\":\"3.11.0\",\"resolution\":\"D:\\\\Coding Stuff\\\\My_Projects\\\\CleverProgrammer_Projects\\\\amazon-clone\\\\functions\\\\node_modules\\\\firebase-functions\\\\lib\\\\index.js\"}"}}
[debug] [2020-09-24T16:18:12.824Z] [runtime-status] [2688] Resolved module firebase-admin {"declared":true,"installed":true,"version":"8.13.0","resolution":"D:\\Coding Stuff\\My_Projects\\CleverProgrammer_Projects\\amazon-clone\\functions\\node_modules\\firebase-admin\\lib\\index.js"} {"metadata":{"emulator":{"name":"functions"},"function":{"name":"api"},"message":"[runtime-status] [2688] Resolved module firebase-admin {\"declared\":true,\"installed\":true,\"version\":\"8.13.0\",\"resolution\":\"D:\\\\Coding Stuff\\\\My_Projects\\\\CleverProgrammer_Projects\\\\amazon-clone\\\\functions\\\\node_modules\\\\firebase-admin\\\\lib\\\\index.js\"}"}}
[debug] [2020-09-24T16:18:12.825Z] [runtime-status] [2688] Resolved module firebase-functions {"declared":true,"installed":true,"version":"3.11.0","resolution":"D:\\Coding Stuff\\My_Projects\\CleverProgrammer_Projects\\amazon-clone\\functions\\node_modules\\firebase-functions\\lib\\index.js"} {"metadata":{"emulator":{"name":"functions"},"function":{"name":"api"},"message":"[runtime-status] [2688] Resolved module firebase-functions {\"declared\":true,\"installed\":true,\"version\":\"3.11.0\",\"resolution\":\"D:\\\\Coding Stuff\\\\My_Projects\\\\CleverProgrammer_Projects\\\\amazon-clone\\\\functions\\\\node_modules\\\\firebase-functions\\\\lib\\\\index.js\"}"}}
[debug] [2020-09-24T16:18:12.825Z] [runtime-status] [2688] firebase-admin has been stubbed. {"adminResolution":{"declared":true,"installed":true,"version":"8.13.0","resolution":"D:\\Coding Stuff\\My_Projects\\CleverProgrammer_Projects\\amazon-clone\\functions\\node_modules\\firebase-admin\\lib\\index.js"}} {"metadata":{"emulator":{"name":"functions"},"function":{"name":"api"},"message":"[runtime-status] [2688] firebase-admin has been stubbed. {\"adminResolution\":{\"declared\":true,\"installed\":true,\"version\":\"8.13.0\",\"resolution\":\"D:\\\\Coding Stuff\\\\My_Projects\\\\CleverProgrammer_Projects\\\\amazon-clone\\\\functions\\\\node_modules\\\\firebase-admin\\\\lib\\\\index.js\"}}"}}
[debug] [2020-09-24T16:18:12.993Z] [runtime-status] [2688] Trigger "api" has been found, beginning invocation! {"metadata":{"emulator":{"name":"functions"},"function":{"name":"api"},"message":"[runtime-status] [2688] Trigger \"api\" has been found, beginning invocation!"}}
[info] i functions: Beginning execution of "api" {"metadata":{"emulator":{"name":"functions"},"function":{"name":"api"},"message":"Beginning execution of \"api\""}}
[debug] [2020-09-24T16:18:12.994Z] [runtime-status] [2688] triggerDefinition {"httpsTrigger":{},"name":"api","entryPoint":"api"} {"metadata":{"emulator":{"name":"functions"},"function":{"name":"api"},"message":"[runtime-status] [2688] triggerDefinition {\"httpsTrigger\":{},\"name\":\"api\",\"entryPoint\":\"api\"}"}}
[debug] [2020-09-24T16:18:12.995Z] [runtime-status] [2688] Running api in mode HTTPS {"metadata":{"emulator":{"name":"functions"},"function":{"name":"api"},"message":"[runtime-status] [2688] Running api in mode HTTPS"}}
[debug] [2020-09-24T16:18:12.998Z] [runtime-status] [2688] Attempting to listen to socketPath: \\?\pipe\D:\Coding Stuff\My_Projects\CleverProgrammer_Projects\amazon-clone\functions\2688 {"metadata":{"emulator":{"name":"functions"},"function":{"name":"api"},"message":"[runtime-status] [2688] Attempting to listen to socketPath: \\\\?\\pipe\\D:\\Coding Stuff\\My_Projects\\CleverProgrammer_Projects\\amazon-clone\\functions\\2688"}}
[debug] [2020-09-24T16:18:13.001Z] [functions] Runtime ready! Sending request! {"metadata":{"emulator":{"name":"functions"},"message":"[functions] Runtime ready! Sending request!"}}
[debug] [2020-09-24T16:18:13.009Z] [runtime-status] [2688] Ephemeral server handling POST request {"metadata":{"emulator":{"name":"functions"},"function":{"name":"api"},"message":"[runtime-status] [2688] Ephemeral server handling POST request"}}
[info] > Payment Request Recieved BOOM!!! for this amount >>> 89900 {"user":"Payment Request Recieved BOOM!!! for this amount >>> 89900","metadata":{"emulator":{"name":"functions"},"function":{"name":"api"},"message":"\u001b[90m> \u001b[39m Payment Request Recieved BOOM!!! for this amount >>> 89900"}}
[debug] [2020-09-24T16:18:13.030Z] [runtime-status] [2688] Ephemeral server survived. {"metadata":{"emulator":{"name":"functions"},"function":{"name":"api"},"message":"[runtime-status] [2688] Ephemeral server survived."}}
[info] i functions: Finished "api" in ~1s {"metadata":{"emulator":{"name":"functions"},"function":{"name":"api"},"message":"Finished \"api\" in ~1s"}}
[debug] [2020-09-24T16:18:14.073Z] [worker-api-ae3f902d-504a-46bd-a047-da5db6795c18]: IDLE {"metadata":{"emulator":{"name":"functions"},"message":"[worker-api-ae3f902d-504a-46bd-a047-da5db6795c18]: IDLE"}}
[debug] [2020-09-24T16:18:14.073Z] [work-queue] {"queueLength":0,"workRunningCount":0}
[debug] [2020-09-24T16:18:28.900Z] [work-queue] {"queueLength":1,"workRunningCount":0}
[debug] [2020-09-24T16:18:28.900Z] [work-queue] {"queueLength":0,"workRunningCount":1}
[debug] [2020-09-24T16:18:28.901Z] Accepted request POST /clone-d5a5c/us-central1/api/payments/create?total=0 --> api
[debug] [2020-09-24T16:18:28.901Z] [worker-pool] submitWork(triggerId=api) {"metadata":{"emulator":{"name":"functions"},"message":"[worker-pool] submitWork(triggerId=api)"}}
[debug] [2020-09-24T16:18:28.901Z] [worker-api-ae3f902d-504a-46bd-a047-da5db6795c18]: Assigning socketPath: \\?\pipe\D:\Coding Stuff\My_Projects\CleverProgrammer_Projects\amazon-clone\functions\2688 {"metadata":{"emulator":{"name":"functions"},"message":"[worker-api-ae3f902d-504a-46bd-a047-da5db6795c18]: Assigning socketPath: \\\\?\\pipe\\D:\\Coding Stuff\\My_Projects\\CleverProgrammer_Projects\\amazon-clone\\functions\\2688"}}
[debug] [2020-09-24T16:18:28.901Z] [worker-api-ae3f902d-504a-46bd-a047-da5db6795c18]: BUSY {"metadata":{"emulator":{"name":"functions"},"message":"[worker-api-ae3f902d-504a-46bd-a047-da5db6795c18]: BUSY"}}
[debug] [2020-09-24T16:18:28.902Z] [runtime-status] [2688] Trigger "api" has been found, beginning invocation! {"metadata":{"emulator":{"name":"functions"},"function":{"name":"api"},"message":"[runtime-status] [2688] Trigger \"api\" has been found, beginning invocation!"}}
[info] i functions: Beginning execution of "api" {"metadata":{"emulator":{"name":"functions"},"function":{"name":"api"},"message":"Beginning execution of \"api\""}}
[debug] [2020-09-24T16:18:28.903Z] [runtime-status] [2688] triggerDefinition {"httpsTrigger":{},"name":"api","entryPoint":"api"} {"metadata":{"emulator":{"name":"functions"},"function":{"name":"api"},"message":"[runtime-status] [2688] triggerDefinition {\"httpsTrigger\":{},\"name\":\"api\",\"entryPoint\":\"api\"}"}}
[debug] [2020-09-24T16:18:28.904Z] [runtime-status] [2688] Running api in mode HTTPS {"metadata":{"emulator":{"name":"functions"},"function":{"name":"api"},"message":"[runtime-status] [2688] Running api in mode HTTPS"}}
[debug] [2020-09-24T16:18:28.904Z] [runtime-status] [2688] Attempting to listen to socketPath: \\?\pipe\D:\Coding Stuff\My_Projects\CleverProgrammer_Projects\amazon-clone\functions\2688 {"metadata":{"emulator":{"name":"functions"},"function":{"name":"api"},"message":"[runtime-status] [2688] Attempting to listen to socketPath: \\\\?\\pipe\\D:\\Coding Stuff\\My_Projects\\CleverProgrammer_Projects\\amazon-clone\\functions\\2688"}}
[debug] [2020-09-24T16:18:28.905Z] [functions] Runtime ready! Sending request! {"metadata":{"emulator":{"name":"functions"},"message":"[functions] Runtime ready! Sending request!"}}
[debug] [2020-09-24T16:18:28.907Z] [runtime-status] [2688] Ephemeral server handling POST request {"metadata":{"emulator":{"name":"functions"},"function":{"name":"api"},"message":"[runtime-status] [2688] Ephemeral server handling POST request"}}
[info] > Payment Request Recieved BOOM!!! for this amount >>> 0 {"user":"Payment Request Recieved BOOM!!! for this amount >>> 0","metadata":{"emulator":{"name":"functions"},"function":{"name":"api"},"message":"\u001b[90m> \u001b[39m Payment Request Recieved BOOM!!! for this amount >>> 0"}}
[debug] [2020-09-24T16:18:28.929Z] [runtime-status] [2688] Ephemeral server survived. {"metadata":{"emulator":{"name":"functions"},"function":{"name":"api"},"message":"[runtime-status] [2688] Ephemeral server survived."}}
[info] > (node:2688) UnhandledPromiseRejectionWarning: Error: This value must be greater than or equal to 1. {"user":"(node:2688) UnhandledPromiseRejectionWarning: Error: This value must be greater than or equal to 1.","metadata":{"emulator":{"name":"functions"},"function":{"name":"api"},"message":"\u001b[90m> \u001b[39m (node:2688) UnhandledPromiseRejectionWarning: Error: This value must be greater than or equal to 1."}}
[info] > at Function.generate (D:\Coding Stuff\My_Projects\CleverProgrammer_Projects\amazon-clone\node_modules\stripe\lib\Error.js:39:16) {"user":" at Function.generate (D:\\Coding Stuff\\My_Projects\\CleverProgrammer_Projects\\amazon-clone\\node_modules\\stripe\\lib\\Error.js:39:16)","metadata":{"emulator":{"name":"functions"},"function":{"name":"api"},"message":"\u001b[90m> \u001b[39m at Function.generate (D:\\Coding Stuff\\My_Projects\\CleverProgrammer_Projects\\amazon-clone\\node_modules\\stripe\\lib\\Error.js:39:16)"}}
[info] > at IncomingMessage.<anonymous> (D:\Coding Stuff\My_Projects\CleverProgrammer_Projects\amazon-clone\node_modules\stripe\lib\StripeResource.js:190:33) {"user":" at IncomingMessage.<anonymous> (D:\\Coding Stuff\\My_Projects\\CleverProgrammer_Projects\\amazon-clone\\node_modules\\stripe\\lib\\StripeResource.js:190:33)","metadata":{"emulator":{"name":"functions"},"function":{"name":"api"},"message":"\u001b[90m> \u001b[39m at IncomingMessage.<anonymous> (D:\\Coding Stuff\\My_Projects\\CleverProgrammer_Projects\\amazon-clone\\node_modules\\stripe\\lib\\StripeResource.js:190:33)"}}
[info] > at Object.onceWrapper (events.js:421:28) {"user":" at Object.onceWrapper (events.js:421:28)","metadata":{"emulator":{"name":"functions"},"function":{"name":"api"},"message":"\u001b[90m> \u001b[39m at Object.onceWrapper (events.js:421:28)"}}
[info] > at IncomingMessage.emit (events.js:327:22) {"user":" at IncomingMessage.emit (events.js:327:22)","metadata":{"emulator":{"name":"functions"},"function":{"name":"api"},"message":"\u001b[90m> \u001b[39m at IncomingMessage.emit (events.js:327:22)"}}
[info] > at endReadableNT (_stream_readable.js:1221:12) {"user":" at endReadableNT (_stream_readable.js:1221:12)","metadata":{"emulator":{"name":"functions"},"function":{"name":"api"},"message":"\u001b[90m> \u001b[39m at endReadableNT (_stream_readable.js:1221:12)"}}
[info] > at processTicksAndRejections (internal/process/task_queues.js:84:21) {"user":" at processTicksAndRejections (internal/process/task_queues.js:84:21)","metadata":{"emulator":{"name":"functions"},"function":{"name":"api"},"message":"\u001b[90m> \u001b[39m at processTicksAndRejections (internal/process/task_queues.js:84:21)"}}
[info] > (node:2688) 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:2688) 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":"api"},"message":"\u001b[90m> \u001b[39m (node:2688) 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:2688) [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:2688) [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":"api"},"message":"\u001b[90m> \u001b[39m (node:2688) [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":"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\saad\AppData\Roaming\npm\node_modules\firebase-tools\lib\emulator\functionsEmulatorRuntime.js:642 {"user":"C:\\Users\\saad\\AppData\\Roaming\\npm\\node_modules\\firebase-tools\\lib\\emulator\\functionsEmulatorRuntime.js:642\r","metadata":{"emulator":{"name":"functions"},"function":{"name":"api"},"message":"\u001b[90m> \u001b[39m C:\\Users\\saad\\AppData\\Roaming\\npm\\node_modules\\firebase-tools\\lib\\emulator\\functionsEmulatorRuntime.js:642\r"}}
[info] > throw new Error("Function timed out."); {"user":" throw new Error(\"Function timed out.\");\r","metadata":{"emulator":{"name":"functions"},"function":{"name":"api"},"message":"\u001b[90m> \u001b[39m throw new Error(\"Function timed out.\");\r"}}
[info] > ^ {"user":" ^\r","metadata":{"emulator":{"name":"functions"},"function":{"name":"api"},"message":"\u001b[90m> \u001b[39m ^\r"}}
[info] > {"user":"\r","metadata":{"emulator":{"name":"functions"},"function":{"name":"api"},"message":"\u001b[90m> \u001b[39m \r"}}
[info] > Error: Function timed out. {"user":"Error: Function timed out.\r","metadata":{"emulator":{"name":"functions"},"function":{"name":"api"},"message":"\u001b[90m> \u001b[39m Error: Function timed out.\r"}}
[info] > at Timeout._onTimeout (C:\Users\saad\AppData\Roaming\npm\node_modules\firebase-tools\lib\emulator\functionsEmulatorRuntime.js:642:23) {"user":" at Timeout._onTimeout (C:\\Users\\saad\\AppData\\Roaming\\npm\\node_modules\\firebase-tools\\lib\\emulator\\functionsEmulatorRuntime.js:642:23)\r","metadata":{"emulator":{"name":"functions"},"function":{"name":"api"},"message":"\u001b[90m> \u001b[39m at Timeout._onTimeout (C:\\Users\\saad\\AppData\\Roaming\\npm\\node_modules\\firebase-tools\\lib\\emulator\\functionsEmulatorRuntime.js:642:23)\r"}}
[info] > at listOnTimeout (internal/timers.js:549:17) {"user":" at listOnTimeout (internal/timers.js:549:17)\r","metadata":{"emulator":{"name":"functions"},"function":{"name":"api"},"message":"\u001b[90m> \u001b[39m at listOnTimeout (internal/timers.js:549:17)\r"}}
[info] > at processTimers (internal/timers.js:492:7) {"user":" at processTimers (internal/timers.js:492:7)\r","metadata":{"emulator":{"name":"functions"},"function":{"name":"api"},"message":"\u001b[90m> \u001b[39m at processTimers (internal/timers.js:492:7)\r"}}
[debug] [2020-09-24T16:19:28.962Z] [worker-api-ae3f902d-504a-46bd-a047-da5db6795c18]: exited {"metadata":{"emulator":{"name":"functions"},"message":"[worker-api-ae3f902d-504a-46bd-a047-da5db6795c18]: exited"}}
[debug] [2020-09-24T16:19:28.962Z] [worker-api-ae3f902d-504a-46bd-a047-da5db6795c18]: FINISHED {"metadata":{"emulator":{"name":"functions"},"message":"[worker-api-ae3f902d-504a-46bd-a047-da5db6795c18]: FINISHED"}}
[debug] [2020-09-24T16:19:28.962Z] [work-queue] {"queueLength":0,"workRunningCount":0}
[debug] [2020-09-24T17:24:44.646Z] [worker-~diagnostic~-4bd502d5-82a5-4040-bdae-f64a17b64822]: exited {"metadata":{"emulator":{"name":"functions"},"message":"[worker-~diagnostic~-4bd502d5-82a5-4040-bdae-f64a17b64822]: exited"}}