-
Notifications
You must be signed in to change notification settings - Fork 0
/
firebase-debug.log
130 lines (120 loc) · 8.2 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
[debug] [2017-12-13T18:29:12.193Z] ----------------------------------------------------------------------
[debug] [2017-12-13T18:29:12.201Z] Command: /usr/local/bin/node /usr/local/bin/firebase init
[debug] [2017-12-13T18:29:12.202Z] CLI Version: 3.16.0
[debug] [2017-12-13T18:29:12.202Z] Platform: darwin
[debug] [2017-12-13T18:29:12.202Z] Node Version: v8.2.1
[debug] [2017-12-13T18:29:12.204Z] Time: Wed Dec 13 2017 16:29:12 GMT-0200 (BRST)
[debug] [2017-12-13T18:29:12.204Z] ----------------------------------------------------------------------
[debug]
[debug] [2017-12-13T18:29:12.222Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase"]
[debug] [2017-12-13T18:29:12.223Z] > authorizing via signed-in user
[info]
🔥🔥🔥🔥🔥🔥🔥🔥 🔥🔥🔥🔥 🔥🔥🔥🔥🔥🔥🔥🔥 🔥🔥🔥🔥🔥🔥🔥🔥 🔥🔥🔥🔥🔥🔥🔥🔥 🔥🔥🔥 🔥🔥🔥🔥🔥🔥 🔥🔥🔥🔥🔥🔥🔥🔥
🔥🔥 🔥🔥 🔥🔥 🔥🔥 🔥🔥 🔥🔥 🔥🔥 🔥🔥 🔥🔥 🔥🔥 🔥🔥
🔥🔥🔥🔥🔥🔥 🔥🔥 🔥🔥🔥🔥🔥🔥🔥🔥 🔥🔥🔥🔥🔥🔥 🔥🔥🔥🔥🔥🔥🔥🔥 🔥🔥🔥🔥🔥🔥🔥🔥🔥 🔥🔥🔥🔥🔥🔥 🔥🔥🔥🔥🔥🔥
🔥🔥 🔥🔥 🔥🔥 🔥🔥 🔥🔥 🔥🔥 🔥🔥 🔥🔥 🔥🔥 🔥🔥 🔥🔥
🔥🔥 🔥🔥🔥🔥 🔥🔥 🔥🔥 🔥🔥🔥🔥🔥🔥🔥🔥 🔥🔥🔥🔥🔥🔥🔥🔥 🔥🔥 🔥🔥 🔥🔥🔥🔥🔥🔥 🔥🔥🔥🔥🔥🔥🔥🔥
You're about to initialize a Firebase project in this directory:
/Applications/MAMP/htdocs/alemao-cultural
Before we get started, keep in mind:
* You are currently outside your home directory
[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] [2017-12-13T18:29:38.394Z] > refreshing access token with scopes: ["email","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","openid"]
[debug] [2017-12-13T18:29:38.394Z] >>> HTTP REQUEST POST https://www.googleapis.com/oauth2/v3/token
{ refresh_token: '1/WifIrH8Ku2ybh7sx40ZjyC8Kv3qwb9MbUVJBEujKqII',
client_id: '563584335869-fgrhgmd47bqnekij5i8b5pr03ho849e6.apps.googleusercontent.com',
client_secret: 'j9iVZfS8kkCEFUPaAeJV0sAi',
grant_type: 'refresh_token',
scope: 'email https://www.googleapis.com/auth/cloudplatformprojects.readonly https://www.googleapis.com/auth/firebase openid' }
Wed Dec 13 2017 16:29:38 GMT-0200 (BRST)
[debug] [2017-12-13T18:29:39.058Z] <<< HTTP RESPONSE 200
[debug] [2017-12-13T18:29:39.080Z] >>> HTTP REQUEST GET https://admin.firebase.com/v1/projects
Wed Dec 13 2017 16:29:39 GMT-0200 (BRST)
[debug] [2017-12-13T18:29:40.332Z] <<< HTTP RESPONSE 200
[info]
=== Database Setup
[info]
[info] Firebase Realtime Database Rules allow you to define how your data should be
[info] structured and when your data can be read from and written to.
[info]
[debug] [2017-12-13T18:29:53.511Z] >>> HTTP REQUEST GET https://alemao-cd4c7.firebaseio.com/.settings/rules.json
Wed Dec 13 2017 16:29:53 GMT-0200 (BRST)
[debug] [2017-12-13T18:29:54.677Z] <<< HTTP RESPONSE 200
[info] ✔ Database Rules for alemao-cd4c7 have been downloaded to yes.
[info] Future modifications to yes will update Database Rules when you run
[info] firebase deploy.
[info]
=== Firestore Setup
[info]
[info] Firestore Security Rules allow you to define how and when to allow
[info] requests. You can keep these rules in your project directory
[info] and publish them with firebase deploy.
[info]
[info]
[info] Firestore indexes allow you to perform complex queries while
[info] maintaining performance that scales with the size of the result
[info] set. You can keep index definitions in your project directory
[info] and publish them with firebase deploy.
[info]
[info]
=== Functions Setup
[info]
[info] A functions directory will be created in your project with a Node.js
[info] package pre-configured. Functions can be deployed with firebase deploy.
[info]
[debug] [2017-12-13T18:30:01.289Z] > 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] [2017-12-13T18:30:01.291Z] > authorizing via signed-in user
[debug] [2017-12-13T18:30:01.292Z] > 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] [2017-12-13T18:30:01.292Z] >>> HTTP REQUEST POST https://www.googleapis.com/oauth2/v3/token
{ refresh_token: '1/WifIrH8Ku2ybh7sx40ZjyC8Kv3qwb9MbUVJBEujKqII',
client_id: '563584335869-fgrhgmd47bqnekij5i8b5pr03ho849e6.apps.googleusercontent.com',
client_secret: 'j9iVZfS8kkCEFUPaAeJV0sAi',
grant_type: 'refresh_token',
scope: 'email https://www.googleapis.com/auth/cloud-platform https://www.googleapis.com/auth/cloudplatformprojects.readonly https://www.googleapis.com/auth/firebase openid' }
Wed Dec 13 2017 16:30:01 GMT-0200 (BRST)
[debug] [2017-12-13T18:30:01.507Z] <<< HTTP RESPONSE 200
[debug] [2017-12-13T18:30:01.524Z] >>> HTTP REQUEST GET https://admin.firebase.com/v1/projects/alemao-cd4c7
Wed Dec 13 2017 16:30:01 GMT-0200 (BRST)
[debug] [2017-12-13T18:30:02.173Z] <<< HTTP RESPONSE 200
[debug] [2017-12-13T18:30:02.176Z] >>> HTTP REQUEST GET https://admin.firebase.com/v1/database/alemao-cd4c7/tokens
Wed Dec 13 2017 16:30:02 GMT-0200 (BRST)
[debug] [2017-12-13T18:30:02.873Z] <<< HTTP RESPONSE 200
[debug] [2017-12-13T18:30:02.881Z] >>> HTTP REQUEST PATCH https://servicemanagement.googleapis.com/v1/services/cloudfunctions.googleapis.com/projectSettings/alemao-cd4c7?updateMask=usageSettings
{ usageSettings: { consumerEnableStatus: 'ENABLED' } }
Wed Dec 13 2017 16:30:02 GMT-0200 (BRST)
[debug] [2017-12-13T18:30:02.882Z] >>> HTTP REQUEST PATCH https://servicemanagement.googleapis.com/v1/services/runtimeconfig.googleapis.com/projectSettings/alemao-cd4c7?updateMask=usageSettings
{ usageSettings: { consumerEnableStatus: 'ENABLED' } }
Wed Dec 13 2017 16:30:02 GMT-0200 (BRST)
[debug] [2017-12-13T18:30:05.286Z] <<< HTTP RESPONSE 200
[debug] [2017-12-13T18:30:05.299Z] <<< HTTP RESPONSE 200
[info] ✔ Wrote functions/package.json
[info] ✔ Wrote functions/index.js
[info]
=== Hosting Setup
[info]
[info] Your public directory is the folder (relative to your project directory) that
[info] will contain Hosting assets to be uploaded with firebase deploy. If you
[info] have a build process for your assets, use your build's output directory.
[info]
[debug] [2017-12-13T18:31:53.313Z] >>> HTTP REQUEST GET https://www.gstatic.com/firebasejs/releases.json
Wed Dec 13 2017 16:31:53 GMT-0200 (BRST)
[debug] [2017-12-13T18:31:53.792Z] <<< HTTP RESPONSE 200
[debug] [2017-12-13T18:31:54.066Z] Error: ENOTDIR: not a directory, open '/Applications/MAMP/htdocs/alemao-cultural/yes/index.html'
at Object.fs.openSync (fs.js:652:18)
at Object.fs.writeFileSync (fs.js:1299:33)
at Object.createFileSync (/usr/local/lib/node_modules/firebase-tools/node_modules/fs-extra/lib/ensure/file.js:34:6)
at Config.writeProjectFile (/usr/local/lib/node_modules/firebase-tools/lib/config.js:169:6)
at /usr/local/lib/node_modules/firebase-tools/lib/config.js:189:12
at tryCatch (/usr/local/lib/node_modules/firebase-tools/node_modules/rsvp/dist/rsvp.js:525:12)
at invokeCallback (/usr/local/lib/node_modules/firebase-tools/node_modules/rsvp/dist/rsvp.js:538:13)
at /usr/local/lib/node_modules/firebase-tools/node_modules/rsvp/dist/rsvp.js:606:14
at flush (/usr/local/lib/node_modules/firebase-tools/node_modules/rsvp/dist/rsvp.js:2415:5)
at _combinedTickCallback (internal/process/next_tick.js:131:7)
[error]
[error] Error: An unexpected error has occurred.