CAU-NLP-Spring-2019-PQ-Man-.../firebase-debug.log

137 lines
10 KiB
Plaintext

[debug] [2019-06-12T09:46:48.317Z] ----------------------------------------------------------------------
[debug] [2019-06-12T09:46:48.320Z] Command: C:\Program Files\nodejs\node.exe C:\Users\Mathieu\AppData\Roaming\npm\node_modules\firebase-tools\lib\bin\firebase.js functions:shell
[debug] [2019-06-12T09:46:48.321Z] CLI Version: 6.10.0
[debug] [2019-06-12T09:46:48.321Z] Platform: win32
[debug] [2019-06-12T09:46:48.321Z] Node Version: v10.15.1
[debug] [2019-06-12T09:46:48.322Z] Time: Wed Jun 12 2019 18:46:48 GMT+0900 (GMT+09:00)
[debug] [2019-06-12T09:46:48.322Z] ----------------------------------------------------------------------
[debug]
[debug] [2019-06-12T09:46:48.334Z] > 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-12T09:46:48.335Z] > authorizing via signed-in user
[debug] [2019-06-12T09:46:48.336Z] [iam] checking project pq-man for permissions ["firebase.projects.get"]
[debug] [2019-06-12T09:46:48.338Z] >>> HTTP REQUEST POST https://cloudresourcemanager.googleapis.com/v1/projects/pq-man:testIamPermissions
[debug] [2019-06-12T09:46:49.265Z] <<< HTTP RESPONSE 200
[warn] ! Your requested "node" version "8" doesn't match your global version "10"
[debug] [2019-06-12T09:46:49.272Z] >>> HTTP REQUEST GET https://cloudresourcemanager.googleapis.com/v1/projects/pq-man
[debug] [2019-06-12T09:46:50.085Z] <<< HTTP RESPONSE 200
[debug] [2019-06-12T09:46:50.086Z] >>> HTTP REQUEST GET https://mobilesdk-pa.googleapis.com/v1/projects/155870179466:getServerAppConfig
[debug] [2019-06-12T09:46:50.562Z] <<< HTTP RESPONSE 200
[info] + functions: Emulator started at http://localhost:5001
[debug] [2019-06-12T09:46:50.571Z] [functions] Watching "C:\Users\Mathieu\Documents\CAU-Project\CAU-NLP-Spring-2019-PQ-Man-Site\functions" for Cloud Functions...
[debug] [2019-06-12T09:46:51.169Z] DEBUG: Functions runtime initialized.
[debug] [2019-06-12T09:46:51.170Z] DEBUG: Disabled runtime features: {"functions_config_helper":true,"network_filtering":true,"timeout":true,"memory_limiting":true,"protect_env":true,"admin_stubs":true}
[warn] ! The Cloud Functions emulator requires the module "firebase-functions-test" to be installed as a development dependency. To fix this, run "npm install --save-dev firebase-functions-test" in your functions directory.
[debug] [2019-06-12T09:46:51.378Z] [functions] Your functions could not be parsed due to an issue with your node_modules (see above)
[debug] [2019-06-12T09:47:02.855Z] DEBUG: File C:\Users\Mathieu\Documents\CAU-Project\CAU-NLP-Spring-2019-PQ-Man-Site\functions\src\index.ts changed, reloading triggers
[debug] [2019-06-12T09:47:04.552Z] DEBUG: Functions runtime initialized.
[debug] [2019-06-12T09:47:04.554Z] DEBUG: Disabled runtime features: {"functions_config_helper":true,"network_filtering":true,"timeout":true,"memory_limiting":true,"protect_env":true,"admin_stubs":true}
[warn] ! The Cloud Functions emulator requires the module "firebase-functions-test" to be installed as a development dependency. To fix this, run "npm install --save-dev firebase-functions-test" in your functions directory.
[debug] [2019-06-12T09:47:04.934Z] [functions] Your functions could not be parsed due to an issue with your node_modules (see above)
[debug] [2019-06-12T09:48:50.310Z] ----------------------------------------------------------------------
[debug] [2019-06-12T09:48:50.312Z] Command: C:\Program Files\nodejs\node.exe C:\Users\Mathieu\AppData\Roaming\npm\node_modules\firebase-tools\lib\bin\firebase.js serve
[debug] [2019-06-12T09:48:50.313Z] CLI Version: 6.10.0
[debug] [2019-06-12T09:48:50.313Z] Platform: win32
[debug] [2019-06-12T09:48:50.313Z] Node Version: v10.15.1
[debug] [2019-06-12T09:48:50.314Z] Time: Wed Jun 12 2019 18:48:50 GMT+0900 (GMT+09:00)
[debug] [2019-06-12T09:48:50.314Z] ----------------------------------------------------------------------
[debug]
[debug] [2019-06-12T09:48:50.327Z] > 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-12T09:48:50.328Z] > authorizing via signed-in user
[debug] [2019-06-12T09:48:50.328Z] [iam] checking project pq-man for permissions ["firebase.projects.get"]
[debug] [2019-06-12T09:48:50.330Z] >>> HTTP REQUEST POST https://cloudresourcemanager.googleapis.com/v1/projects/pq-man:testIamPermissions
[debug] [2019-06-12T09:48:51.198Z] <<< HTTP RESPONSE 200
[debug] [2019-06-12T09:48:51.199Z] >>> HTTP REQUEST GET https://cloudresourcemanager.googleapis.com/v1/projects/pq-man
[debug] [2019-06-12T09:48:52.006Z] <<< HTTP RESPONSE 200
[info]
[info] === Serving from 'C:\Users\Mathieu\Documents\CAU-Project\CAU-NLP-Spring-2019-PQ-Man-Site'...
[info]
[warn] ! Your requested "node" version "8" doesn't match your global version "10"
[debug] [2019-06-12T09:48:52.017Z] >>> HTTP REQUEST GET https://mobilesdk-pa.googleapis.com/v1/projects/155870179466/clients/_:getWebAppConfig
[debug] [2019-06-12T09:48:52.017Z] >>> HTTP REQUEST GET https://mobilesdk-pa.googleapis.com/v1/projects/155870179466:getServerAppConfig
[debug] [2019-06-12T09:48:52.504Z] <<< HTTP RESPONSE 200
[info] + functions: Emulator started at http://localhost:5001
[debug] [2019-06-12T09:48:53.060Z] <<< HTTP RESPONSE 200
[info] i functions: Watching "C:\Users\Mathieu\Documents\CAU-Project\CAU-NLP-Spring-2019-PQ-Man-Site\functions" for Cloud Functions...
[info] i hosting: Serving hosting files from: dist/PQ-Man
[info] + hosting: Local server: http://localhost:5000
[debug] [2019-06-12T09:48:53.629Z] Functions runtime initialized.
[debug] [2019-06-12T09:48:53.630Z] Disabled runtime features: {"functions_config_helper":true,"network_filtering":true,"timeout":true,"memory_limiting":true,"protect_env":true,"admin_stubs":true}
[warn] ! The Cloud Functions emulator requires the module "firebase-functions-test" to be installed as a development dependency. To fix this, run "npm install --save-dev firebase-functions-test" in your functions directory.
[info] i functions: Your functions could not be parsed due to an issue with your node_modules (see above)
[debug] [2019-06-12T12:46:28.923Z] ----------------------------------------------------------------------
[debug] [2019-06-12T12:46:28.926Z] Command: C:\Program Files\nodejs\node.exe C:\Users\Mathieu\AppData\Roaming\npm\node_modules\firebase-tools\lib\bin\firebase.js deploy
[debug] [2019-06-12T12:46:28.926Z] CLI Version: 6.10.0
[debug] [2019-06-12T12:46:28.926Z] Platform: win32
[debug] [2019-06-12T12:46:28.926Z] Node Version: v10.15.1
[debug] [2019-06-12T12:46:28.928Z] Time: Wed Jun 12 2019 21:46:28 GMT+0900 (GMT+09:00)
[debug] [2019-06-12T12:46:28.928Z] ----------------------------------------------------------------------
[debug]
[debug] [2019-06-12T12:46:28.939Z] > 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-12T12:46:28.941Z] > authorizing via signed-in user
[debug] [2019-06-12T12:46:28.941Z] [iam] checking project pq-man for permissions ["cloudfunctions.functions.create","cloudfunctions.functions.delete","cloudfunctions.functions.get","cloudfunctions.functions.list","cloudfunctions.functions.update","cloudfunctions.operations.get","firebase.projects.get","firebasehosting.sites.update"]
[debug] [2019-06-12T12:46:28.944Z] >>> HTTP REQUEST POST https://cloudresourcemanager.googleapis.com/v1/projects/pq-man:testIamPermissions
[debug] [2019-06-12T12:46:29.861Z] <<< HTTP RESPONSE 200
[debug] [2019-06-12T12:46:29.863Z] >>> HTTP REQUEST GET https://firebase.googleapis.com/v1beta1/projects/pq-man
[debug] [2019-06-12T12:46:30.683Z] <<< HTTP RESPONSE 200
[info]
[info] === Deploying to 'pq-man'...
[info]
[info] i deploying functions, hosting
[info] Running command: npm --prefix "$RESOURCE_DIR" run lint
[info] Running command: npm --prefix "$RESOURCE_DIR" run build
[info] + functions: Finished running predeploy script.
[info] Running command: npm run build-prod
[info] + hosting: Finished running predeploy script.
[debug] [2019-06-12T12:47:32.569Z] > [functions] package.json contents: {
"name": "functions",
"scripts": {
"lint": "tslint --project tsconfig.json",
"build": "tsc",
"serve": "npm run build && firebase serve --only functions",
"shell": "npm run build && firebase functions:shell",
"start": "npm run shell",
"deploy": "firebase deploy --only functions",
"logs": "firebase functions:log"
},
"engines": {
"node": "10"
},
"main": "lib/index.js",
"dependencies": {
"firebase-admin": "~7.0.0",
"firebase-functions": "^2.3.0",
"request": "^2.88.0"
},
"devDependencies": {
"firebase-functions-test": "^0.1.6",
"tslint": "^5.12.0",
"typescript": "^3.2.2"
},
"private": true
}
[info] i functions: ensuring necessary APIs are enabled...
[debug] [2019-06-12T12:47:32.570Z] >>> HTTP REQUEST GET https://servicemanagement.googleapis.com/v1/services/cloudfunctions.googleapis.com/projectSettings/pq-man?view=CONSUMER_VIEW
[debug] [2019-06-12T12:47:32.570Z] >>> HTTP REQUEST GET https://servicemanagement.googleapis.com/v1/services/runtimeconfig.googleapis.com/projectSettings/pq-man?view=CONSUMER_VIEW
[debug] [2019-06-12T12:47:34.293Z] <<< HTTP RESPONSE 200
[debug] [2019-06-12T12:47:34.396Z] <<< HTTP RESPONSE 200
[info] + functions: all necessary APIs are enabled
[debug] [2019-06-12T12:47:34.397Z] >>> HTTP REQUEST GET https://cloudresourcemanager.googleapis.com/v1/projects/pq-man
[debug] [2019-06-12T12:47:35.193Z] <<< HTTP RESPONSE 200
[debug] [2019-06-12T12:47:35.193Z] >>> HTTP REQUEST GET https://mobilesdk-pa.googleapis.com/v1/projects/155870179466:getServerAppConfig
[debug] [2019-06-12T12:47:36.033Z] <<< HTTP RESPONSE 200
[debug] [2019-06-12T12:47:36.034Z] >>> HTTP REQUEST POST https://firebasehosting.googleapis.com/v1beta1/sites/pq-man/versions