forked from Kanika637/amazon-clone
-
Notifications
You must be signed in to change notification settings - Fork 0
/
firebase-debug.log
87 lines (85 loc) · 18.6 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
[debug] [2021-09-28T20:49:48.297Z] ----------------------------------------------------------------------
[debug] [2021-09-28T20:49:48.546Z] Command: C:\Program Files\nodejs\node.exe C:\Users\kanika\AppData\Roaming\npm\node_modules\firebase-tools\lib\bin\firebase.js emulators:start
[debug] [2021-09-28T20:49:48.547Z] CLI Version: 9.18.0
[debug] [2021-09-28T20:49:48.547Z] Platform: win32
[debug] [2021-09-28T20:49:48.547Z] Node Version: v14.17.3
[debug] [2021-09-28T20:49:49.766Z] Time: Wed Sep 29 2021 02:19:48 GMT+0530 (India Standard Time)
[debug] [2021-09-28T20:49:49.766Z] ----------------------------------------------------------------------
[debug]
[debug] [2021-09-28T20:49:49.880Z] >>> [apiv2][query] GET https://firebase-public.firebaseio.com/cli.json [none]
[debug] [2021-09-28T20:49:55.370Z] > 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-09-28T20:49:55.371Z] > authorizing via signed-in user (kanikagola26@gmail.com)
[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 challenge-c2c10. This may result in unexpected behavior.
[debug] [2021-09-28T20:49:57.262Z] [hub] writing locator at C:\Users\kanika\AppData\Local\Temp\hub-challenge-c2c10.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-09-28T20:49:59.993Z] defaultcredentials: writing to file C:\Users\kanika\AppData\Roaming\firebase\kanikagola26_gmail_com_application_default_credentials.json
[debug] [2021-09-28T20:50:00.725Z] Setting GAC to C:\Users\kanika\AppData\Roaming\firebase\kanikagola26_gmail_com_application_default_credentials.json {"metadata":{"emulator":{"name":"functions"},"message":"Setting GAC to C:\\Users\\kanika\\AppData\\Roaming\\firebase\\kanikagola26_gmail_com_application_default_credentials.json"}}
[debug] [2021-09-28T20:50:00.729Z] > refreshing access token with scopes: []
[debug] [2021-09-28T20:50:00.731Z] >>> HTTP REQUEST POST https://www.googleapis.com/oauth2/v3/token
<request body omitted>
[debug] [2021-09-28T20:50:01.414Z] <<< HTTP RESPONSE 200 {"date":"Tue, 28 Sep 2021 20:49:59 GMT","cache-control":"no-cache, no-store, max-age=0, must-revalidate","pragma":"no-cache","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-T051=\":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-09-28T20:50:02.191Z] >>> [apiv2][query] GET https://firebase.googleapis.com/v1beta1/projects/challenge-c2c10/adminSdkConfig [none]
[debug] [2021-09-28T20:50:02.239Z] <<< [apiv2][status] GET https://firebase-public.firebaseio.com/cli.json 200
[debug] [2021-09-28T20:50:02.239Z] <<< [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-09-28T20:50:03.319Z] <<< [apiv2][status] GET https://firebase.googleapis.com/v1beta1/projects/challenge-c2c10/adminSdkConfig 200
[debug] [2021-09-28T20:50:03.320Z] <<< [apiv2][body] GET https://firebase.googleapis.com/v1beta1/projects/challenge-c2c10/adminSdkConfig {"projectId":"challenge-c2c10","storageBucket":"challenge-c2c10.appspot.com"}
[debug] [2021-09-28T20:50:03.936Z] >>> [apiv2][query] GET https://firebasehosting.googleapis.com/v1beta1/projects/challenge-c2c10/sites
[debug] [2021-09-28T20:50:06.633Z] <<< [apiv2][status] GET https://firebasehosting.googleapis.com/v1beta1/projects/challenge-c2c10/sites 200
[debug] [2021-09-28T20:50:06.633Z] <<< [apiv2][body] GET https://firebasehosting.googleapis.com/v1beta1/projects/challenge-c2c10/sites {"sites":[{"name":"projects/948865986468/sites/challenge-c2c10","defaultUrl":"https://challenge-c2c10.web.app","appId":"1:948865986468:web:49a40b2cfe05aa448b9b31","type":"DEFAULT_SITE"}]}
[debug] [2021-09-28T20:50:06.634Z] >>> [apiv2][query] GET https://firebase.googleapis.com/v1beta1/projects/challenge-c2c10/webApps/1:948865986468:web:49a40b2cfe05aa448b9b31/config [none]
[debug] [2021-09-28T20:50:08.368Z] <<< [apiv2][status] GET https://firebase.googleapis.com/v1beta1/projects/challenge-c2c10/webApps/1:948865986468:web:49a40b2cfe05aa448b9b31/config 200
[debug] [2021-09-28T20:50:08.368Z] <<< [apiv2][body] GET https://firebase.googleapis.com/v1beta1/projects/challenge-c2c10/webApps/1:948865986468:web:49a40b2cfe05aa448b9b31/config {"projectId":"challenge-c2c10","appId":"1:948865986468:web:49a40b2cfe05aa448b9b31","storageBucket":"challenge-c2c10.appspot.com","apiKey":"AIzaSyDDwBFCczkjYZUHtPG-NK1BBR0gjat0T1c","authDomain":"challenge-c2c10.firebaseapp.com","messagingSenderId":"948865986468","measurementId":"G-TGM7X4P6SP"}
[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] [2021-09-28T20:50:10.101Z] Ignoring unsupported arg: auto_download {"metadata":{"emulator":{"name":"ui"},"message":"Ignoring unsupported arg: auto_download"}}
[debug] [2021-09-28T20:50:10.101Z] Ignoring unsupported arg: port {"metadata":{"emulator":{"name":"ui"},"message":"Ignoring unsupported arg: port"}}
[debug] [2021-09-28T20:50:10.101Z] Starting Emulator UI with command {"binary":"node","args":["C:\\Users\\kanika\\.cache\\firebase\\emulators\\ui-v1.6.3\\server.bundle.js"],"optionalArgs":[],"joinArgs":false} {"metadata":{"emulator":{"name":"ui"},"message":"Starting Emulator UI with command {\"binary\":\"node\",\"args\":[\"C:\\\\Users\\\\kanika\\\\.cache\\\\firebase\\\\emulators\\\\ui-v1.6.3\\\\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-09-28T20:50:25.386Z] Web / API server started at localhost:4000
{"metadata":{"emulator":{"name":"ui"},"message":"Web / API server started at localhost:4000\n"}}
[info] i functions: Watching "C:\Users\kanika\Downloads\amazon-clone\functions" for Cloud Functions... {"metadata":{"emulator":{"name":"functions"},"message":"Watching \"C:\\Users\\kanika\\Downloads\\amazon-clone\\functions\" for Cloud Functions..."}}
[debug] [2021-09-28T20:50:26.167Z] [worker-pool] addWorker(~diagnostic~) {"metadata":{"emulator":{"name":"functions"},"message":"[worker-pool] addWorker(~diagnostic~)"}}
[debug] [2021-09-28T20:50:26.168Z] [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-09-28T20:50:26.169Z] [worker-pool] submitWork(triggerId=) {"metadata":{"emulator":{"name":"functions"},"message":"[worker-pool] submitWork(triggerId=)"}}
[debug] [2021-09-28T20:50:26.169Z] [worker-~diagnostic~-0dde12df-c24f-4eed-af04-b4c94ca1f913]: Assigning socketPath: \\?\pipe\C:\Users\kanika\Downloads\amazon-clone\functions\2392 {"metadata":{"emulator":{"name":"functions"},"message":"[worker-~diagnostic~-0dde12df-c24f-4eed-af04-b4c94ca1f913]: Assigning socketPath: \\\\?\\pipe\\C:\\Users\\kanika\\Downloads\\amazon-clone\\functions\\2392"}}
[debug] [2021-09-28T20:50:26.170Z] [worker-~diagnostic~-0dde12df-c24f-4eed-af04-b4c94ca1f913]: BUSY {"metadata":{"emulator":{"name":"functions"},"message":"[worker-~diagnostic~-0dde12df-c24f-4eed-af04-b4c94ca1f913]: BUSY"}}
[debug] [2021-09-28T20:51:00.712Z] [runtime-status] [2392] Functions runtime initialized. {"cwd":"C:\\Users\\kanika\\Downloads\\amazon-clone\\functions","node_version":"14.17.3"} {"metadata":{"emulator":{"name":"functions"},"message":"[runtime-status] [2392] Functions runtime initialized. {\"cwd\":\"C:\\\\Users\\\\kanika\\\\Downloads\\\\amazon-clone\\\\functions\",\"node_version\":\"14.17.3\"}"}}
[debug] [2021-09-28T20:51:00.713Z] [runtime-status] [2392] Disabled runtime features: undefined {"metadata":{"emulator":{"name":"functions"},"message":"[runtime-status] [2392] Disabled runtime features: undefined"}}
[debug] [2021-09-28T20:51:00.784Z] [runtime-status] [2392] Resolved module firebase-admin {"declared":true,"installed":true,"version":"9.11.1","resolution":"C:\\Users\\kanika\\Downloads\\amazon-clone\\functions\\node_modules\\firebase-admin\\lib\\index.js"} {"metadata":{"emulator":{"name":"functions"},"message":"[runtime-status] [2392] Resolved module firebase-admin {\"declared\":true,\"installed\":true,\"version\":\"9.11.1\",\"resolution\":\"C:\\\\Users\\\\kanika\\\\Downloads\\\\amazon-clone\\\\functions\\\\node_modules\\\\firebase-admin\\\\lib\\\\index.js\"}"}}
[debug] [2021-09-28T20:51:00.835Z] [runtime-status] [2392] Resolved module firebase-functions {"declared":true,"installed":true,"version":"3.15.7","resolution":"C:\\Users\\kanika\\Downloads\\amazon-clone\\functions\\node_modules\\firebase-functions\\lib\\index.js"} {"metadata":{"emulator":{"name":"functions"},"message":"[runtime-status] [2392] Resolved module firebase-functions {\"declared\":true,\"installed\":true,\"version\":\"3.15.7\",\"resolution\":\"C:\\\\Users\\\\kanika\\\\Downloads\\\\amazon-clone\\\\functions\\\\node_modules\\\\firebase-functions\\\\lib\\\\index.js\"}"}}
[debug] [2021-09-28T20:51:00.841Z] [runtime-status] [2392] Resolved module firebase-functions {"declared":true,"installed":true,"version":"3.15.7","resolution":"C:\\Users\\kanika\\Downloads\\amazon-clone\\functions\\node_modules\\firebase-functions\\lib\\index.js"} {"metadata":{"emulator":{"name":"functions"},"message":"[runtime-status] [2392] Resolved module firebase-functions {\"declared\":true,\"installed\":true,\"version\":\"3.15.7\",\"resolution\":\"C:\\\\Users\\\\kanika\\\\Downloads\\\\amazon-clone\\\\functions\\\\node_modules\\\\firebase-functions\\\\lib\\\\index.js\"}"}}
[debug] [2021-09-28T20:51:00.845Z] [runtime-status] [2392] 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] [2392] 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-09-28T20:51:00.848Z] [runtime-status] [2392] Resolved module firebase-functions {"declared":true,"installed":true,"version":"3.15.7","resolution":"C:\\Users\\kanika\\Downloads\\amazon-clone\\functions\\node_modules\\firebase-functions\\lib\\index.js"} {"metadata":{"emulator":{"name":"functions"},"message":"[runtime-status] [2392] Resolved module firebase-functions {\"declared\":true,\"installed\":true,\"version\":\"3.15.7\",\"resolution\":\"C:\\\\Users\\\\kanika\\\\Downloads\\\\amazon-clone\\\\functions\\\\node_modules\\\\firebase-functions\\\\lib\\\\index.js\"}"}}
[debug] [2021-09-28T20:51:02.920Z] [runtime-status] [2392] Checked functions.config() {"config":{}} {"metadata":{"emulator":{"name":"functions"},"message":"[runtime-status] [2392] Checked functions.config() {\"config\":{}}"}}
[debug] [2021-09-28T20:51:02.921Z] [runtime-status] [2392] firebase-functions has been stubbed. {"functionsResolution":{"declared":true,"installed":true,"version":"3.15.7","resolution":"C:\\Users\\kanika\\Downloads\\amazon-clone\\functions\\node_modules\\firebase-functions\\lib\\index.js"}} {"metadata":{"emulator":{"name":"functions"},"message":"[runtime-status] [2392] firebase-functions has been stubbed. {\"functionsResolution\":{\"declared\":true,\"installed\":true,\"version\":\"3.15.7\",\"resolution\":\"C:\\\\Users\\\\kanika\\\\Downloads\\\\amazon-clone\\\\functions\\\\node_modules\\\\firebase-functions\\\\lib\\\\index.js\"}}"}}
[debug] [2021-09-28T20:51:02.923Z] [runtime-status] [2392] Resolved module firebase-functions {"declared":true,"installed":true,"version":"3.15.7","resolution":"C:\\Users\\kanika\\Downloads\\amazon-clone\\functions\\node_modules\\firebase-functions\\lib\\index.js"} {"metadata":{"emulator":{"name":"functions"},"message":"[runtime-status] [2392] Resolved module firebase-functions {\"declared\":true,\"installed\":true,\"version\":\"3.15.7\",\"resolution\":\"C:\\\\Users\\\\kanika\\\\Downloads\\\\amazon-clone\\\\functions\\\\node_modules\\\\firebase-functions\\\\lib\\\\index.js\"}"}}
[debug] [2021-09-28T20:51:02.927Z] [runtime-status] [2392] Resolved module firebase-admin {"declared":true,"installed":true,"version":"9.11.1","resolution":"C:\\Users\\kanika\\Downloads\\amazon-clone\\functions\\node_modules\\firebase-admin\\lib\\index.js"} {"metadata":{"emulator":{"name":"functions"},"message":"[runtime-status] [2392] Resolved module firebase-admin {\"declared\":true,\"installed\":true,\"version\":\"9.11.1\",\"resolution\":\"C:\\\\Users\\\\kanika\\\\Downloads\\\\amazon-clone\\\\functions\\\\node_modules\\\\firebase-admin\\\\lib\\\\index.js\"}"}}
[debug] [2021-09-28T20:51:02.930Z] [runtime-status] [2392] Resolved module firebase-functions {"declared":true,"installed":true,"version":"3.15.7","resolution":"C:\\Users\\kanika\\Downloads\\amazon-clone\\functions\\node_modules\\firebase-functions\\lib\\index.js"} {"metadata":{"emulator":{"name":"functions"},"message":"[runtime-status] [2392] Resolved module firebase-functions {\"declared\":true,\"installed\":true,\"version\":\"3.15.7\",\"resolution\":\"C:\\\\Users\\\\kanika\\\\Downloads\\\\amazon-clone\\\\functions\\\\node_modules\\\\firebase-functions\\\\lib\\\\index.js\"}"}}
[debug] [2021-09-28T20:51:02.931Z] [runtime-status] [2392] firebase-admin has been stubbed. {"adminResolution":{"declared":true,"installed":true,"version":"9.11.1","resolution":"C:\\Users\\kanika\\Downloads\\amazon-clone\\functions\\node_modules\\firebase-admin\\lib\\index.js"}} {"metadata":{"emulator":{"name":"functions"},"message":"[runtime-status] [2392] firebase-admin has been stubbed. {\"adminResolution\":{\"declared\":true,\"installed\":true,\"version\":\"9.11.1\",\"resolution\":\"C:\\\\Users\\\\kanika\\\\Downloads\\\\amazon-clone\\\\functions\\\\node_modules\\\\firebase-admin\\\\lib\\\\index.js\"}}"}}
[warn] ! C:\Users\kanika\Downloads\amazon-clone\functions\index.js:38
http://localhost:5001/challenge-c2c10/us-central1/api).
SyntaxError: Unexpected end of input
at wrapSafe (internal/modules/cjs/loader.js:1001:16)
at Module._compile (internal/modules/cjs/loader.js:1049:27)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
at Module.load (internal/modules/cjs/loader.js:950:32)
at Function.Module._load (internal/modules/cjs/loader.js:790:14)
at Module.require (internal/modules/cjs/loader.js:974:19)
at require (internal/modules/cjs/helpers.js:92:18)
at initializeRuntime (C:\Users\kanika\AppData\Roaming\npm\node_modules\firebase-tools\lib\emulator\functionsEmulatorRuntime.js:715:29)
at processTicksAndRejections (internal/process/task_queues.js:95:5)
at async handleMessage (C:\Users\kanika\AppData\Roaming\npm\node_modules\firebase-tools\lib\emulator\functionsEmulatorRuntime.js:759:20) {"metadata":{"emulator":{"name":"functions"},"message":"C:\\Users\\kanika\\Downloads\\amazon-clone\\functions\\index.js:38\nhttp://localhost:5001/challenge-c2c10/us-central1/api).\n \n\nSyntaxError: Unexpected end of input\n at wrapSafe (internal/modules/cjs/loader.js:1001:16)\n at Module._compile (internal/modules/cjs/loader.js:1049:27)\n at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)\n at Module.load (internal/modules/cjs/loader.js:950:32)\n at Function.Module._load (internal/modules/cjs/loader.js:790:14)\n at Module.require (internal/modules/cjs/loader.js:974:19)\n at require (internal/modules/cjs/helpers.js:92:18)\n at initializeRuntime (C:\\Users\\kanika\\AppData\\Roaming\\npm\\node_modules\\firebase-tools\\lib\\emulator\\functionsEmulatorRuntime.js:715:29)\n at processTicksAndRejections (internal/process/task_queues.js:95:5)\n at async handleMessage (C:\\Users\\kanika\\AppData\\Roaming\\npm\\node_modules\\firebase-tools\\lib\\emulator\\functionsEmulatorRuntime.js:759:20)"}}
[warn] ! We were unable to load your functions code. (see above) {"metadata":{"emulator":{"name":"functions"}}}
[debug] [2021-09-28T20:51:03.406Z] [worker-~diagnostic~-0dde12df-c24f-4eed-af04-b4c94ca1f913]: exited {"metadata":{"emulator":{"name":"functions"},"message":"[worker-~diagnostic~-0dde12df-c24f-4eed-af04-b4c94ca1f913]: exited"}}
[debug] [2021-09-28T20:51:03.406Z] [worker-~diagnostic~-0dde12df-c24f-4eed-af04-b4c94ca1f913]: FINISHED {"metadata":{"emulator":{"name":"functions"},"message":"[worker-~diagnostic~-0dde12df-c24f-4eed-af04-b4c94ca1f913]: FINISHED"}}
[debug] [2021-09-28T21:09:41.921Z] [work-queue] {"queueLength":1,"workRunningCount":0}
[debug] [2021-09-28T21:09:42.555Z] [work-queue] {"queueLength":0,"workRunningCount":1}
[debug] [2021-09-28T21:09:43.443Z] [work-queue] {"queueLength":0,"workRunningCount":0}
[debug] [2021-09-28T21:16:43.425Z] [work-queue] {"queueLength":1,"workRunningCount":0}
[debug] [2021-09-28T21:16:43.488Z] [work-queue] {"queueLength":0,"workRunningCount":1}
[debug] [2021-09-28T21:16:43.712Z] [work-queue] {"queueLength":0,"workRunningCount":0}
[debug] [2021-09-28T21:26:06.056Z] [work-queue] {"queueLength":1,"workRunningCount":0}
[debug] [2021-09-28T21:26:06.329Z] [work-queue] {"queueLength":0,"workRunningCount":1}
[debug] [2021-09-28T21:26:06.658Z] [work-queue] {"queueLength":0,"workRunningCount":0}