-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfirebase-debug.log
153 lines (143 loc) · 14.1 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
[debug] [2021-05-22T18:12:09.525Z] ----------------------------------------------------------------------
[debug] [2021-05-22T18:12:09.527Z] Command: C:\Users\Lenovo\AppData\Local\Programs\node\node.exe C:\Users\Lenovo\AppData\Roaming\npm\node_modules\firebase-tools\lib\bin\firebase.js init
[debug] [2021-05-22T18:12:09.527Z] CLI Version: 9.11.0
[debug] [2021-05-22T18:12:09.527Z] Platform: win32
[debug] [2021-05-22T18:12:09.527Z] Node Version: v14.16.0
[debug] [2021-05-22T18:12:09.528Z] Time: Sat May 22 2021 22:42:09 GMT+0430 (Iran Daylight Time)
[debug] [2021-05-22T18:12:09.528Z] ----------------------------------------------------------------------
[debug]
[debug] [2021-05-22T18:12:09.530Z] >>> [apiv2][query] GET https://firebase-public.firebaseio.com/cli.json [none]
[debug] [2021-05-22T18:12:09.554Z] > 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-05-22T18:12:09.554Z] > authorizing via signed-in user (abolfazljdst@gmail.com)
[info]
######## #### ######## ######## ######## ### ###### ########
## ## ## ## ## ## ## ## ## ## ##
###### ## ######## ###### ######## ######### ###### ######
## ## ## ## ## ## ## ## ## ## ##
## #### ## ## ######## ######## ## ## ###### ########
You're about to initialize a Firebase project in this directory:
C:\Users\Lenovo\Desktop\online-chatting
[info]
=== Project Setup
[info]
[info] First, let's associate this project directory with a Firebase project.
[info] You can create multiple project aliases by running firebase use --add,
[info] but for now we'll just set up a default project.
[info]
[debug] [2021-05-22T18:13:59.780Z] >>> [apiv2][query] GET https://firebase.googleapis.com/v1beta1/projects pageSize=100
[debug] [2021-05-22T18:14:01.372Z] Failed to make request: invalid json response body at https://firebase.googleapis.com/v1beta1/projects?pageSize=100 reason: Unexpected token < in JSON at position 0
[debug] [2021-05-22T18:14:20.951Z] FirebaseError: Failed to make request: invalid json response body at https://firebase.googleapis.com/v1beta1/projects?pageSize=100 reason: Unexpected token < in JSON at position 0
at Client.request (C:\Users\Lenovo\AppData\Roaming\npm\node_modules\firebase-tools\lib\apiv2.js:109:19)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async getProjectPage (C:\Users\Lenovo\AppData\Roaming\npm\node_modules\firebase-tools\lib\management\projects.js:233:17)
at async getFirebaseProjectPage (C:\Users\Lenovo\AppData\Roaming\npm\node_modules\firebase-tools\lib\management\projects.js:250:23)
at async selectProjectInteractively (C:\Users\Lenovo\AppData\Roaming\npm\node_modules\firebase-tools\lib\management\projects.js:95:41)
at async Object.doSetup [as project] (C:\Users\Lenovo\AppData\Roaming\npm\node_modules\firebase-tools\lib\init\features\project.js:87:27)
at async init (C:\Users\Lenovo\AppData\Roaming\npm\node_modules\firebase-tools\lib\init\index.js:19:9)
[error]
[error] Error: Failed to list Firebase projects. See firebase-debug.log for more info.
[debug] [2021-05-22T18:14:44.881Z] ----------------------------------------------------------------------
[debug] [2021-05-22T18:14:44.885Z] Command: C:\Users\Lenovo\AppData\Local\Programs\node\node.exe C:\Users\Lenovo\AppData\Roaming\npm\node_modules\firebase-tools\lib\bin\firebase.js init
[debug] [2021-05-22T18:14:44.885Z] CLI Version: 9.11.0
[debug] [2021-05-22T18:14:44.885Z] Platform: win32
[debug] [2021-05-22T18:14:44.885Z] Node Version: v14.16.0
[debug] [2021-05-22T18:14:44.887Z] Time: Sat May 22 2021 22:44:44 GMT+0430 (Iran Daylight Time)
[debug] [2021-05-22T18:14:44.887Z] ----------------------------------------------------------------------
[debug]
[debug] [2021-05-22T18:14:44.891Z] >>> [apiv2][query] GET https://firebase-public.firebaseio.com/cli.json [none]
[debug] [2021-05-22T18:14:44.916Z] > 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-05-22T18:14:44.916Z] > authorizing via signed-in user (abolfazljdst@gmail.com)
[info]
######## #### ######## ######## ######## ### ###### ########
## ## ## ## ## ## ## ## ## ## ##
###### ## ######## ###### ######## ######### ###### ######
## ## ## ## ## ## ## ## ## ## ##
## #### ## ## ######## ######## ## ## ###### ########
You're about to initialize a Firebase project in this directory:
C:\Users\Lenovo\Desktop\online-chatting
[info]
=== Project Setup
[info]
[info] First, let's associate this project directory with a Firebase project.
[info] You can create multiple project aliases by running firebase use --add,
[info] but for now we'll just set up a default project.
[info]
[info] i If you want to create a project in a Google Cloud organization or folder, please use "firebase projects:create" instead, and return to this command when you've created the project.
[debug] [2021-05-22T18:15:33.181Z] > 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] [2021-05-22T18:15:33.182Z] >>> HTTP REQUEST POST https://www.googleapis.com/oauth2/v3/token
<request body omitted>
[debug] [2021-05-22T18:15:33.917Z] <<< HTTP RESPONSE 200 {"pragma":"no-cache","expires":"Mon, 01 Jan 1990 00:00:00 GMT","date":"Sat, 22 May 2021 18:15:34 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-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-05-22T18:15:33.996Z] >>> HTTP REQUEST POST https://cloudresourcemanager.googleapis.com/v1/projects
{"projectId":" ","name":" "}
[debug] [2021-05-22T18:15:34.627Z] <<< HTTP RESPONSE 403 {"content-type":"text/html; charset=UTF-8","referrer-policy":"no-referrer","content-length":"1590","server-timing":"gfet4t7; dur=0","date":"Sat, 22 May 2021 18:15:35 GMT","alt-svc":"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\"","connection":"close"}
[debug] [2021-05-22T18:15:34.627Z] <<< HTTP RESPONSE BODY <!DOCTYPE html>
<html lang=en>
<meta charset=utf-8>
<meta name=viewport content="initial-scale=1, minimum-scale=1, width=device-width">
<title>Error 403 (Forbidden)!!1</title>
<style>
*{margin:0;padding:0}html,code{font:15px/22px arial,sans-serif}html{background:#fff;color:#222;padding:15px}body{margin:7% auto 0;max-width:390px;min-height:180px;padding:30px 0 15px}* > body{background:url(//www.google.com/images/errors/robot.png) 100% 5px no-repeat;padding-right:205px}p{margin:11px 0 22px;overflow:hidden}ins{color:#777;text-decoration:none}a img{border:0}@media screen and (max-width:772px){body{background:none;margin-top:0;max-width:none;padding-right:0}}#logo{background:url(//www.google.com/images/branding/googlelogo/1x/googlelogo_color_150x54dp.png) no-repeat;margin-left:-5px}@media only screen and (min-resolution:192dpi){#logo{background:url(//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png) no-repeat 0% 0%/100% 100%;-moz-border-image:url(//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png) 0}}@media only screen and (-webkit-min-device-pixel-ratio:2){#logo{background:url(//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png) no-repeat;-webkit-background-size:100% 100%}}#logo{display:inline-block;height:54px;width:150px}
</style>
<a href=//www.google.com/><span id=logo aria-label=Google></span></a>
<p><b>403.</b> <ins>That’s an error.</ins>
<p>Your client does not have permission to get URL <code>/v1/projects</code> from this server. <ins>That’s all we know.</ins>
[debug] [2021-05-22T18:15:53.233Z] FirebaseError: HTTP Error: 403, Unknown Error
at module.exports (C:\Users\Lenovo\AppData\Roaming\npm\node_modules\firebase-tools\lib\responseToError.js:38:12)
at Request._callback (C:\Users\Lenovo\AppData\Roaming\npm\node_modules\firebase-tools\lib\api.js:41:35)
at Request.self.callback (C:\Users\Lenovo\AppData\Roaming\npm\node_modules\firebase-tools\node_modules\request\request.js:185:22)
at Request.emit (events.js:315:20)
at Request.EventEmitter.emit (domain.js:467:12)
at Request.<anonymous> (C:\Users\Lenovo\AppData\Roaming\npm\node_modules\firebase-tools\node_modules\request\request.js:1154:10)
at Request.emit (events.js:315:20)
at Request.EventEmitter.emit (domain.js:467:12)
at IncomingMessage.<anonymous> (C:\Users\Lenovo\AppData\Roaming\npm\node_modules\firebase-tools\node_modules\request\request.js:1076:12)
at Object.onceWrapper (events.js:421:28)
at IncomingMessage.emit (events.js:327:22)
at IncomingMessage.EventEmitter.emit (domain.js:467:12)
at endReadableNT (internal/streams/readable.js:1327:12)
at processTicksAndRejections (internal/process/task_queues.js:80:21)
[error]
[error] Error: Failed to create project. See firebase-debug.log for more info.
[debug] [2021-05-22T18:16:08.966Z] ----------------------------------------------------------------------
[debug] [2021-05-22T18:16:08.969Z] Command: C:\Users\Lenovo\AppData\Local\Programs\node\node.exe C:\Users\Lenovo\AppData\Roaming\npm\node_modules\firebase-tools\lib\bin\firebase.js init
[debug] [2021-05-22T18:16:08.969Z] CLI Version: 9.11.0
[debug] [2021-05-22T18:16:08.969Z] Platform: win32
[debug] [2021-05-22T18:16:08.969Z] Node Version: v14.16.0
[debug] [2021-05-22T18:16:08.970Z] Time: Sat May 22 2021 22:46:08 GMT+0430 (Iran Daylight Time)
[debug] [2021-05-22T18:16:08.971Z] ----------------------------------------------------------------------
[debug]
[debug] [2021-05-22T18:16:08.973Z] >>> [apiv2][query] GET https://firebase-public.firebaseio.com/cli.json [none]
[debug] [2021-05-22T18:16:09.003Z] > 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-05-22T18:16:09.004Z] > authorizing via signed-in user (abolfazljdst@gmail.com)
[info]
######## #### ######## ######## ######## ### ###### ########
## ## ## ## ## ## ## ## ## ## ##
###### ## ######## ###### ######## ######### ###### ######
## ## ## ## ## ## ## ## ## ## ##
## #### ## ## ######## ######## ## ## ###### ########
You're about to initialize a Firebase project in this directory:
C:\Users\Lenovo\Desktop\online-chatting
[info]
=== Project Setup
[info]
[info] First, let's associate this project directory with a Firebase project.
[info] You can create multiple project aliases by running firebase use --add,
[info] but for now we'll just set up a default project.
[info]
[debug] [2021-05-22T18:16:17.989Z] > refreshing access token with scopes: []
[debug] [2021-05-22T18:16:17.990Z] >>> HTTP REQUEST POST https://www.googleapis.com/oauth2/v3/token
<request body omitted>
[debug] [2021-05-22T18:16:19.286Z] <<< HTTP RESPONSE 200 {"pragma":"no-cache","cache-control":"no-cache, no-store, max-age=0, must-revalidate","expires":"Mon, 01 Jan 1990 00:00:00 GMT","date":"Sat, 22 May 2021 18:16:19 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-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-05-22T18:16:19.394Z] >>> [apiv2][query] GET https://firebase.googleapis.com/v1beta1/availableProjects pageSize=100
[debug] [2021-05-22T18:16:19.945Z] Failed to make request: invalid json response body at https://firebase.googleapis.com/v1beta1/availableProjects?pageSize=100 reason: Unexpected token < in JSON at position 0
[debug] [2021-05-22T18:16:38.589Z] FirebaseError: Failed to make request: invalid json response body at https://firebase.googleapis.com/v1beta1/availableProjects?pageSize=100 reason: Unexpected token < in JSON at position 0
at Client.request (C:\Users\Lenovo\AppData\Roaming\npm\node_modules\firebase-tools\lib\apiv2.js:109:19)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async getProjectPage (C:\Users\Lenovo\AppData\Roaming\npm\node_modules\firebase-tools\lib\management\projects.js:233:17)
at async getAvailableCloudProjectPage (C:\Users\Lenovo\AppData\Roaming\npm\node_modules\firebase-tools\lib\management\projects.js:265:16)
at async Object.promptAvailableProjectId (C:\Users\Lenovo\AppData\Roaming\npm\node_modules\firebase-tools\lib\management\projects.js:143:41)
at async promptAndAddFirebaseToCloudProject (C:\Users\Lenovo\AppData\Roaming\npm\node_modules\firebase-tools\lib\init\features\project.js:37:23)
at async Object.doSetup [as project] (C:\Users\Lenovo\AppData\Roaming\npm\node_modules\firebase-tools\lib\init\features\project.js:87:27)
at async init (C:\Users\Lenovo\AppData\Roaming\npm\node_modules\firebase-tools\lib\init\index.js:19:9)
[error]
[error] Error: Failed to list available Google Cloud Platform projects. See firebase-debug.log for more info.