-
Notifications
You must be signed in to change notification settings - Fork 15
/
firebase-debug.log
84 lines (73 loc) · 5.83 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
[debug] [2019-06-02T00:26:01.125Z] ----------------------------------------------------------------------
[debug] [2019-06-02T00:26:01.127Z] Command: /Users/neil/.nvm/versions/node/v12.2.0/bin/node /Users/neil/.nvm/versions/node/v12.2.0/bin/firebase deploy --only functions
[debug] [2019-06-02T00:26:01.127Z] CLI Version: 6.10.0
[debug] [2019-06-02T00:26:01.127Z] Platform: darwin
[debug] [2019-06-02T00:26:01.127Z] Node Version: v12.2.0
[debug] [2019-06-02T00:26:01.128Z] Time: Sun Jun 02 2019 07:26:01 GMT+0700 (Indochina Time)
[debug] [2019-06-02T00:26:01.128Z] ----------------------------------------------------------------------
[debug]
[debug] [2019-06-02T00:26:01.135Z] > 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] [2019-06-02T00:26:01.135Z] > authorizing via signed-in user
[debug] [2019-06-02T00:26:01.135Z] [iam] checking project revents-2c2ee for permissions ["cloudfunctions.functions.create","cloudfunctions.functions.delete","cloudfunctions.functions.get","cloudfunctions.functions.list","cloudfunctions.functions.update","cloudfunctions.operations.get","firebase.projects.get"]
[debug] [2019-06-02T00:26:01.136Z] >>> HTTP REQUEST POST https://cloudresourcemanager.googleapis.com/v1/projects/revents-2c2ee:testIamPermissions
[debug] [2019-06-02T00:26:02.524Z] <<< HTTP RESPONSE 200
[info]
[info] === Deploying to 'revents-2c2ee'...
[info]
[info] i deploying functions
[info] Running command: npm --prefix "$RESOURCE_DIR" run lint
[info] ✔ functions: Finished running predeploy script.
[debug] [2019-06-02T00:26:04.696Z] > [functions] package.json contents: {
"name": "functions",
"description": "Cloud Functions for Firebase",
"scripts": {
"lint": "eslint .",
"serve": "firebase serve --only functions",
"shell": "firebase functions:shell",
"start": "npm run shell",
"deploy": "firebase deploy --only functions",
"logs": "firebase functions:log"
},
"engines": {
"node": "8"
},
"dependencies": {
"firebase-admin": "~7.0.0",
"firebase-functions": "^2.3.0"
},
"devDependencies": {
"eslint": "^5.12.0",
"eslint-plugin-promise": "^4.0.1",
"firebase-functions-test": "^0.1.6"
},
"private": true
}
[info] i functions: ensuring necessary APIs are enabled...
[debug] [2019-06-02T00:26:04.697Z] >>> HTTP REQUEST GET https://servicemanagement.googleapis.com/v1/services/cloudfunctions.googleapis.com/projectSettings/revents-2c2ee?view=CONSUMER_VIEW
[debug] [2019-06-02T00:26:04.698Z] >>> HTTP REQUEST GET https://servicemanagement.googleapis.com/v1/services/runtimeconfig.googleapis.com/projectSettings/revents-2c2ee?view=CONSUMER_VIEW
[debug] [2019-06-02T00:26:06.882Z] <<< HTTP RESPONSE 200
[debug] [2019-06-02T00:26:06.910Z] <<< HTTP RESPONSE 200
[info] ✔ functions: all necessary APIs are enabled
[debug] [2019-06-02T00:26:06.911Z] >>> HTTP REQUEST GET https://cloudresourcemanager.googleapis.com/v1/projects/revents-2c2ee
[debug] [2019-06-02T00:26:08.367Z] <<< HTTP RESPONSE 200
[debug] [2019-06-02T00:26:08.367Z] >>> HTTP REQUEST GET https://mobilesdk-pa.googleapis.com/v1/projects/218617380649:getServerAppConfig
[debug] [2019-06-02T00:26:08.768Z] <<< HTTP RESPONSE 200
[info] i functions: preparing functions directory for uploading...
[debug] [2019-06-02T00:26:08.770Z] >>> HTTP REQUEST GET https://runtimeconfig.googleapis.com/v1beta1/projects/revents-2c2ee/configs
[debug] [2019-06-02T00:26:09.186Z] <<< HTTP RESPONSE 200
[info] i functions: packaged functions (40.31 KB) for uploading
[debug] [2019-06-02T00:26:09.316Z] >>> HTTP REQUEST POST https://cloudfunctions.googleapis.com/v1/projects/revents-2c2ee/locations/us-central1/functions:generateUploadUrl
[debug] [2019-06-02T00:26:10.169Z] <<< HTTP RESPONSE 200
[debug] [2019-06-02T00:26:10.170Z] >>> HTTP REQUEST PUT https://storage.googleapis.com/gcf-upload-us-central1-411180b3-560a-4084-b7be-8d6f04b63fc5/1add64bf-52e2-47f9-b446-8d1ed67fde4b.zip?GoogleAccessId=service-218617380649@gcf-admin-robot.iam.gserviceaccount.com&Expires=1559436970&Signature=vpZweE5ruM019PallWL%2BtjGCda08eqU38NWFr2ZgOKpRi0xzQsLFuPart%2BkRCAlBYho6Xv4evyiB67AyP5uFEQ0T%2FlRpg2bJ4cBSogWg3%2FJ0%2FDin31en8iquGC3hBgmdYWwr%2BTlCrqAnivcRxDgCTN2grXVXDdQr3%2FNd54A6dcGGEiTu%2FYExPCMLZbdBjlXkQCnsrcTgBUwRp755S%2BphNRnPgevafo9BDnY%2FJ3smyxTZAwvFMJ6uFvv0KyIIWNc5uvitWCwsMuHGtEWIJj%2BXNl33qjwxyD8HV%2FMDcydi2VjviOgkZGqf3foq6DjdtbKBIHfMnbxise%2BXZ4Mp3%2Bzy8w%3D%3D
[debug] [2019-06-02T00:26:10.896Z] <<< HTTP RESPONSE 200
[info] ✔ functions: functions folder uploaded successfully
[debug] [2019-06-02T00:26:10.898Z] >>> HTTP REQUEST GET https://cloudfunctions.googleapis.com/v1/projects/revents-2c2ee/locations/-/functions
[debug] [2019-06-02T00:26:11.829Z] <<< HTTP RESPONSE 200
[info] i functions: creating Node.js 8 function createActivity(us-central1)...
[debug] [2019-06-02T00:26:11.830Z] Trigger is: {"eventTrigger":{"resource":"projects/revents-2c2ee/databases/(default)/documents/events/{eventId}","eventType":"providers/cloud.firestore/eventTypes/document.create","service":"firestore.googleapis.com"}}
[info] i functions: creating Node.js 8 function cancelActivity(us-central1)...
[debug] [2019-06-02T00:26:11.831Z] Trigger is: {"eventTrigger":{"resource":"projects/revents-2c2ee/databases/(default)/documents/events/{eventId}","eventType":"providers/cloud.firestore/eventTypes/document.update","service":"firestore.googleapis.com"}}
[info]
The following functions are found in your project but do not exist in your local source code:
helloWorld(us-central1)
If you are renaming a function or changing its region, it is recommended that you create the new function first before deleting the old one to prevent event loss. For more info, visit https://firebase.google.com/docs/functions/manage-functions#modify