firebase / firebase/firebase-tools
firebase deploy fails to create function server
- Dominant language
- TypeScript
- Stars
- 4.5k
- Forks
- 1.3k
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 84
Description
### [REQUIRED] Environment info
**firebase-tools:**
```
$ firebase --version
11.29.1
```
**Platform:**
+ Debian11.6
### [REQUIRED] Test case
+ I don't have any test cases
### [REQUIRED] Steps to reproduce
```
$ npx nuxi init titsuki-studio
$ cd titsuki-studio
$ npm install -g firebase-tools
$ npm install -D firebase-admin firebase-functions firebase-functions-test
$ firebase init hosting
```
Answer questions as:
```
? Please select an option: Use an existing project
? Select a default Firebase project for this directory: titsuki-studio (titsuki-studio)
i Using project titsuki-studio (titsuki-studio)
=== Hosting Setup
Your public directory is the folder (relative to your project directory) that
will contain Hosting assets to be uploaded with firebase deploy. If you
have a build process for your assets, use your build's output directory.
? What do you want to use as your public directory? .output/public
? Configure as a single-page app (rewrite all urls to /index.html)? No
? Set up automatic builds and deploys with GitHub? No
```
Edit firebase.json as:
```
{
"functions": {
"source": ".output/server",
"predeploy": [
"npm install --prefix $RESOURCE_DIR"
],
"runtime": "nodejs18"
},
"hosting": {
"public": ".output/public",
"ignore": [
"firebase.json",
"**/.*",
"**/node_modules/**"
]
}
}
```
Edit nuxt.config.ts:
```
// https://nuxt.com/docs/api/configuration/nuxt-config
import { defineNuxtConfig } from 'nuxt/config'
export default defineNuxtConfig({
nitro: { preset: 'firebase' }
})
```
```
$ firebase login
$ nuxt build
$ firebase deploy --debug # First run
$ firebase deploy --debug # Second run (this second run is superfluous. But this one outputs different error messages.)
```
### [REQUIRED] Expected behavior
firebase deploy doesn't cause any errors
### [REQUIRED] Actual behavior
First run:
```
$ firebase deploy --debug
[2023-04-30T05:54:00.763Z] > 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"]
[2023-04-30T05:54:00.764Z] > authorizing via signed-in user (XXXXXX@gmail.com)
[2023-04-30T05:54:00.764Z] [iam] checking project titsuki-studio 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"]
[2023-04-30T05:54:00.766Z] >>> [apiv2][query] POST https://cloudresourcemanager.googleapis.com/v1/projects/titsuki-studio:testIamPermissions [none]
[2023-04-30T05:54:00.766Z] >>> [apiv2][(partial)header] POST https://cloudresourcemanager.googleapis.com/v1/projects/titsuki-studio:testIamPermissions x-goog-quota-user=projects/titsuki-studio
[2023-04-30T05:54:00.766Z] >>> [apiv2][body] POST https://cloudresourcemanager.googleapis.com/v1/projects/titsuki-studio:testIamPermissions {"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"]}
[2023-04-30T05:54:01.450Z] <<< [apiv2][status] POST https://cloudresourcemanager.googleapis.com/v1/projects/titsuki-studio:testIamPermissions 200
[2023-04-30T05:54:01.451Z] <<< [apiv2][body] POST https://cloudresourcemanager.googleapis.com/v1/projects/titsuki-studio:testIamPermissions {"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"]}
[2023-04-30T05:54:01.451Z] >>> [apiv2][query] POST https://iam.googleapis.com/v1/projects/titsuki-studio/serviceAccounts/titsuki-studio@appspot.gserviceaccount.com:testIamPermissions [none]
[2023-04-30T05:54:01.451Z] >>> [apiv2][body] POST https://iam.googleapis.com/v1/projects/titsuki-studio/serviceAccounts/titsuki-studio@appspot.gserviceaccount.com:testIamPermissions {"permissions":["iam.serviceAccounts.actAs"]}
[2023-04-30T05:54:02.101Z] <<< [apiv2][status] POST https://iam.googleapis.com/v1/projects/titsuki-studio/serviceAccounts/titsuki-studio@appspot.gserviceaccount.com:testIamPermissions 200
[2023-04-30T05:54:02.101Z] <<< [apiv2][body] POST https://iam.googleapis.com/v1/projects/titsuki-studio/serviceAccounts/titsuki-studio@appspot.gserviceaccount.com:testIamPermissions {"permissions":["iam.serviceAccounts.actAs"]}
[2023-04-30T05:54:02.102Z] >>> [apiv2][query] GET https://firebase.googleapis.com/v1beta1/projects/titsuki-studio [none]
[2023-04-30T05:54:02.435Z] <<< [apiv2][status] GET https://firebase.googleapis.com/v1beta1/projects/titsuki-studio 200
[2023-04-30T05:54:02.435Z] <<< [apiv2][body] GET https://firebase.googleapis.com/v1beta1/projects/titsuki-studio {"projectId":"titsuki-studio","projectNumber":"682212412841","displayName":"titsuki-studio","name":"projects/titsuki-studio","resources":{"hostingSite":"titsuki-studio"},"state":"ACTIVE","etag":"1_48865a49-52b3-4a83-a7ae-e186133a3964"}
=== Deploying to 'titsuki-studio'...
i deploying functions, hosting
Running command: npm install --prefix $RESOURCE_DIR
npm WARN deprecated stable@0.1.8: Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm WARN deprecated cryptiles@2.0.5: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated circular-json@0.3.3: CircularJSON is in maintenance only, flatted is its successor.
npm WARN deprecated sourcemap-codec@1.4.8: Please use @jridgewell/sourcemap-codec instead
npm WARN deprecated boom@2.10.1: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
npm WARN deprecated minimatch@0.3.0: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated sntp@1.0.9: This module moved to @hapi/sntp. Please make sure to switch over as this distribution is no longer supported and may contain bugs and critical security issues.
npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm WARN deprecated har-validator@2.0.6: this library is no longer supported
npm WARN deprecated hoek@2.16.3: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
npm WARN deprecated mkdirp@0.5.1: Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
npm WARN deprecated standard-format@1.6.10: standard-format is deprecated in favor of a built-in autofixer in 'standard'. Usage: standard --fix
npm WARN deprecated request@2.79.0: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated hawk@3.1.3: This module moved to @hapi/hawk. Please make sure to switch over as this distribution is no longer supported and may contain bugs and critical security issues.
npm WARN deprecated core-js@1.2.7: core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js.
npm WARN deprecated core-js@2.6.12: core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js.
added 1436 packages, changed 6 packages, and audited 2481 packages in 45s
80 packages are looking for funding
run `npm fund` for details
69 vulnerabilities (4 low, 17 moderate, 30 high, 18 critical)
To address issues that do not require attention, run:
npm audit fix
To address all issues (including breaking changes), run:
npm audit fix --force
Run `npm audit` for details.
✔ functions: Finished running predeploy script.
[2023-04-30T05:54:47.717Z] >>> [apiv2][query] GET https://firebase.googleapis.com/v1beta1/projects/titsuki-studio [none]
[2023-04-30T05:54:48.031Z] <<< [apiv2][status] GET https://firebase.googleapis.com/v1beta1/projects/titsuki-studio 200
[2023-04-30T05:54:48.031Z] <<< [apiv2][body] GET https://firebase.googleapis.com/v1beta1/projects/titsuki-studio {"projectId":"titsuki-studio","projectNumber":"682212412841","displayName":"titsuki-studio","name":"projects/titsuki-studio","resources":{"hostingSite":"titsuki-studio"},"state":"ACTIVE","etag":"1_48865a49-52b3-4a83-a7ae-e186133a3964"}
i functions: preparing codebase default for deployment
i functions: ensuring required API cloudfunctions.googleapis.com is enabled...
i functions: ensuring required API cloudbuild.googleapis.com is enabled...
i artifactregistry: ensuring required API artifactregistry.googleapis.com is enabled...
[2023-04-30T05:54:48.033Z] >>> [apiv2][query] GET https://serviceusage.googleapis.com/v1/projects/titsuki-studio/services/cloudfunctions.googleapis.com [none]
[2023-04-30T05:54:48.033Z] >>> [apiv2][(partial)header] GET https://serviceusage.googleapis.com/v1/projects/titsuki-studio/services/cloudfunctions.googleapis.com x-goog-quota-user=projects/titsuki-studio
[2023-04-30T05:54:48.034Z] >>> [apiv2][query] GET https://serviceusage.googleapis.com/v1/projects/titsuki-studio/services/runtimeconfig.googleapis.com [none]
[2023-04-30T05:54:48.034Z] >>> [apiv2][(partial)header] GET https://serviceusage.googleapis.com/v1/projects/titsuki-studio/services/runtimeconfig.googleapis.com x-goog-quota-user=projects/titsuki-studio
[2023-04-30T05:54:48.034Z] >>> [apiv2][query] GET https://serviceusage.googleapis.com/v1/projects/titsuki-studio/services/cloudbuild.googleapis.com [none]
[2023-04-30T05:54:48.034Z] >>> [apiv2][(partial)header] GET https://serviceusage.googleapis.com/v1/projects/titsuki-studio/services/cloudbuild.googleapis.com x-goog-quota-user=projects/titsuki-studio
[2023-04-30T05:54:48.035Z] >>> [apiv2][query] GET https://serviceusage.googleapis.com/v1/projects/titsuki-studio/services/artifactregistry.googleapis.com [none]
[2023-04-30T05:54:48.035Z] >>> [apiv2][(partial)header] GET https://serviceusage.googleapis.com/v1/projects/titsuki-studio/services/artifactregistry.googleapis.com x-goog-quota-user=projects/titsuki-studio
[2023-04-30T05:54:49.063Z] <<< [apiv2][status] GET https://serviceusage.googleapis.com/v1/projects/titsuki-studio/services/runtimeconfig.googleapis.com 200
[2023-04-30T05:54:49.063Z] <<< [apiv2][body] GET https://serviceusage.googleapis.com/v1/projects/titsuki-studio/services/runtimeconfig.googleapis.com [omitted]
[2023-04-30T05:54:49.067Z] <<< [apiv2][status] GET https://serviceusage.googleapis.com/v1/projects/titsuki-studio/services/cloudfunctions.googleapis.com 200
[2023-04-30T05:54:49.067Z] <<< [apiv2][body] GET https://serviceusage.googleapis.com/v1/projects/titsuki-studio/services/cloudfunctions.googleapis.com [omitted]
✔ functions: required API cloudfunctions.googleapis.com is enabled
[2023-04-30T05:54:49.097Z] <<< [apiv2][status] GET https://serviceusage.googleapis.com/v1/projects/titsuki-studio/services/artifactregistry.googleapis.com 200
[2023-04-30T05:54:49.097Z] <<< [apiv2][body] GET https://serviceusage.googleapis.com/v1/projects/titsuki-studio/services/artifactregistry.googleapis.com [omitted]
✔ artifactregistry: required API artifactregistry.googleapis.com is enabled
[2023-04-30T05:54:49.101Z] <<< [apiv2][status] GET https://serviceusage.googleapis.com/v1/projects/titsuki-studio/services/cloudbuild.googleapis.com 200
[2023-04-30T05:54:49.101Z] <<< [apiv2][body] GET https://serviceusage.googleapis.com/v1/projects/titsuki-studio/services/cloudbuild.googleapis.com [omitted]
✔ functions: required API cloudbuild.googleapis.com is enabled
[2023-04-30T05:54:49.102Z] >>> [apiv2][query] GET https://firebase.googleapis.com/v1beta1/projects/titsuki-studio/adminSdkConfig [none]
[2023-04-30T05:54:49.432Z] <<< [apiv2][status] GET https://firebase.googleapis.com/v1beta1/projects/titsuki-studio/adminSdkConfig 200
[2023-04-30T05:54:49.432Z] <<< [apiv2][body] GET https://firebase.googleapis.com/v1beta1/projects/titsuki-studio/adminSdkConfig {"projectId":"titsuki-studio","storageBucket":"titsuki-studio.appspot.com"}
[2023-04-30T05:54:49.433Z] >>> [apiv2][query] GET https://runtimeconfig.googleapis.com/v1beta1/projects/titsuki-studio/configs [none]
[2023-04-30T05:54:49.788Z] <<< [apiv2][status] GET https://runtimeconfig.googleapis.com/v1beta1/projects/titsuki-studio/configs 200
[2023-04-30T05:54:49.788Z] <<< [apiv2][body] GET https://runtimeconfig.googleapis.com/v1beta1/projects/titsuki-studio/configs {}
[2023-04-30T05:54:49.789Z] Validating nodejs source
[2023-04-30T05:54:50.161Z] > [functions] package.json contents: {
"private": true,
"type": "module",
"main": "./index.mjs",
"dependencies": {
"firebase-functions-test": "latest",
"firebase-admin": "11.7.0",
"firebase-functions": "4.3.1",
"abort-controller": "3.0.0",
"agent-base": "6.0.2",
"arrify": "2.0.1",
"base64-js": "1.5.1",
"bignumber.js": "9.1.1",
"buffer-equal-constant-time": "1.0.1",
"buffer-from": "1.1.2",
"cookie-es": "0.5.0",
"cors": "2.8.5",
"debug": "4.3.4",
"defu": "6.1.2",
"destr": "1.2.2",
"devalue": "4.3.0",
"duplexify": "4.1.2",
"ecdsa-sig-formatter": "1.0.11",
"end-of-stream": "1.4.4",
"estree-walker": "2.0.2",
"event-target-shim": "5.0.1",
"extend": "3.0.2",
"fast-deep-equal": "3.1.3",
"fast-text-encoding": "1.0.6",
"functional-red-black-tree": "1.0.1",
"gaxios": "5.1.0",
"gcp-metadata": "5.2.0",
"google-auth-library": "8.7.0",
"google-gax": "3.6.0",
"google-p12-pem": "4.0.1",
"gtoken": "6.1.2",
"h3": "1.6.4",
"has-flag": "4.0.0",
"hookable": "5.5.3",
"https-proxy-agent": "5.0.1",
"inherits": "2.0.4",
"iron-webcrypto": "0.6.0",
"is-stream": "2.0.1",
"is-stream-ended": "0.1.4",
"jose": "4.14.3",
"json-bigint": "1.0.0",
"jsonwebtoken": "9.0.0",
"jwa": "2.0.0",
"jwks-rsa": "3.0.1",
"jws": "4.0.0",
"limiter": "1.1.5",
"lodash": "4.17.21",
"lodash.camelcase": "4.3.0",
"lodash.clonedeep": "4.5.0",
"long": "4.0.0",
"lru-cache": "6.0.0",
"lru-memoizer": "2.2.0",
"ms": "2.1.3",
"node-fetch": "2.6.9",
"node-fetch-native": "1.1.0",
"node-forge": "1.3.1",
"object-assign": "4.1.1",
"object-hash": "3.0.0",
"ofetch": "1.0.1",
"ohash": "1.1.2",
"once": "1.4.0",
"proto3-json-serializer": "1.1.1",
"protobufjs": "7.2.3",
"pseudomap": "1.0.2",
"radix3": "1.0.1",
"readable-stream": "3.6.2",
"retry-request": "5.0.2",
"safe-buffer": "5.2.1",
"scule": "1.0.0",
"semver": "7.5.0",
"source-map": "0.6.1",
"source-map-support": "0.5.13",
"stream-shift": "1.0.1",
"string_decoder": "1.3.0",
"supports-color": "7.2.0",
"text-decoding": "1.0.0",
"tr46": "0.0.3",
"tslib": "2.5.0",
"ufo": "1.1.1",
"uncrypto": "0.1.2",
"unctx": "2.3.0",
"unenv": "1.4.1",
"unhead": "1.1.26",
"unstorage": "1.5.0",
"util-deprecate": "1.0.2",
"vary": "1.1.2",
"vue": "3.2.47",
"vue-bundle-renderer": "1.0.3",
"webidl-conversions": "3.0.1",
"whatwg-url": "5.0.0",
"wrappy": "1.0.2",
"yallist": "4.0.0",
"@babel/parser": "7.21.5",
"@fastify/busboy": "1.2.1",
"@firebase/component": "0.6.4",
"@firebase/database-compat": "0.3.4",
"@firebase/logger": "0.4.0",
"@firebase/util": "1.9.3",
"@google-cloud/firestore": "6.5.0",
"@grpc/grpc-js": "1.8.14",
"@grpc/proto-loader": "0.7.6",
"@unhead/dom": "1.1.26",
"@unhead/shared": "1.1.26",
"@unhead/ssr": "1.1.26",
"@protobufjs/aspromise": "1.1.2",
"@protobufjs/base64": "1.1.2",
"@protobufjs/codegen": "2.0.4",
"@protobufjs/eventemitter": "1.1.0",
"@protobufjs/fetch": "1.1.0",
"@protobufjs/float": "1.0.2",
"@protobufjs/inquire": "1.1.0",
"@protobufjs/path": "1.1.2",
"@protobufjs/pool": "1.1.0",
"@protobufjs/utf8": "1.1.0",
"@vue/compiler-core": "3.2.47",
"@vue/compiler-dom": "3.2.47",
"@vue/compiler-ssr": "3.2.47",
"@vue/reactivity": "3.2.47",
"@vue/runtime-core": "3.2.47",
"@vue/runtime-dom": "3.2.47",
"@vue/server-renderer": "3.2.47",
"@vue/shared": "3.2.47"
},
"engines": {
"node": "18"
}
}
[2023-04-30T05:54:50.161Z] Building nodejs source
[2023-04-30T05:54:50.162Z] Could not find functions.yaml. Must use http discovery
[2023-04-30T05:54:50.168Z] Found firebase-functions binary at '/home/itoyota/Programs/titsuki-studio/.output/server/node_modules/.bin/firebase-functions'
[2023-04-30T05:54:50.248Z] Serving at port 8162
[2023-04-30T05:54:50.392Z] Got response from /__/functions.yaml {"endpoints":{"server":{"platform":"gcfv1","availableMemoryMb":null,"timeoutSeconds":null,"minInstances":null,"maxInstances":null,"ingressSettings":null,"serviceAccountEmail":null,"vpc":null,"httpsTrigger":{},"entryPoint":"server"}},"specVersion":"v1alpha1","requiredAPIs":[]}
[2023-04-30T05:54:50.397Z] shutdown requested via /__/quitquitquit
i functions: preparing .output/server directory for uploading...
i functions: packaged /home/itoyota/Programs/titsuki-studio/.output/server (283.24 KB) for uploading
[2023-04-30T05:54:50.478Z] >>> [apiv2][query] GET https://cloudfunctions.googleapis.com/v1/projects/titsuki-studio/locations/-/functions [none]
[2023-04-30T05:54:51.227Z] <<< [apiv2][status] GET https://cloudfunctions.googleapis.com/v1/projects/titsuki-studio/locations/-/functions 200
[2023-04-30T05:54:51.227Z] <<< [apiv2][body] GET https://cloudfunctions.googleapis.com/v1/projects/titsuki-studio/locations/-/functions {}
[2023-04-30T05:54:51.228Z] >>> [apiv2][query] GET https://cloudfunctions.googleapis.com/v2/projects/titsuki-studio/locations/-/functions filter=environment%3D%22GEN_2%22
[2023-04-30T05:54:52.631Z] <<< [apiv2][status] GET https://cloudfunctions.googleapis.com/v2/projects/titsuki-studio/locations/-/functions 200
[2023-04-30T05:54:52.631Z] <<< [apiv2][body] GET https://cloudfunctions.googleapis.com/v2/projects/titsuki-studio/locations/-/functions {}
[2023-04-30T05:54:52.635Z] >>> [apiv2][query] GET https://firebase.googleapis.com/v1beta1/projects/titsuki-studio [none]
[2023-04-30T05:54:52.954Z] <<< [apiv2][status] GET https://firebase.googleapis.com/v1beta1/projects/titsuki-studio 200
[2023-04-30T05:54:52.954Z] <<< [apiv2][body] GET https://firebase.googleapis.com/v1beta1/projects/titsuki-studio {"projectId":"titsuki-studio","projectNumber":"682212412841","displayName":"titsuki-studio","name":"projects/titsuki-studio","resources":{"hostingSite":"titsuki-studio"},"state":"ACTIVE","etag":"1_48865a49-52b3-4a83-a7ae-e186133a3964"}
[2023-04-30T05:54:52.957Z] >>> [apiv2][query] POST https://firebasehosting.googleapis.com/v1beta1/projects/-/sites/titsuki-studio/versions [none]
[2023-04-30T05:54:52.957Z] >>> [apiv2][body] POST https://firebasehosting.googleapis.com/v1beta1/projects/-/sites/titsuki-studio/versions {"status":"CREATED","labels":{"deployment-tool":"cli-firebase"}}
[2023-04-30T05:54:54.143Z] <<< [apiv2][status] POST https://firebasehosting.googleapis.com/v1beta1/projects/-/sites/titsuki-studio/versions 200
[2023-04-30T05:54:54.143Z] <<< [apiv2][body] POST https://firebasehosting.googleapis.com/v1beta1/projects/-/sites/titsuki-studio/versions {"name":"projects/682212412841/sites/titsuki-studio/versions/87bbb7bf372261c3","status":"CREATED","config":{},"labels":{"deployment-tool":"cli-firebase"}}
[2023-04-30T05:54:54.143Z] [functions] found 1 new HTTP functions, testing setIamPolicy permission...
[2023-04-30T05:54:54.144Z] >>> [apiv2][query] POST https://cloudresourcemanager.googleapis.com/v1/projects/titsuki-studio:testIamPermissions [none]
[2023-04-30T05:54:54.144Z] >>> [apiv2][(partial)header] POST https://cloudresourcemanager.googleapis.com/v1/projects/titsuki-studio:testIamPermissions x-goog-quota-user=projects/titsuki-studio
[2023-04-30T05:54:54.144Z] >>> [apiv2][body] POST https://cloudresourcemanager.googleapis.com/v1/projects/titsuki-studio:testIamPermissions {"permissions":["cloudfunctions.functions.setIamPolicy"]}
[2023-04-30T05:54:54.834Z] <<< [apiv2][status] POST https://cloudresourcemanager.googleapis.com/v1/projects/titsuki-studio:testIamPermissions 200
[2023-04-30T05:54:54.834Z] <<< [apiv2][body] POST https://cloudresourcemanager.googleapis.com/v1/projects/titsuki-studio:testIamPermissions {"permissions":["cloudfunctions.functions.setIamPolicy"]}
[2023-04-30T05:54:54.834Z] [functions] found setIamPolicy permission, proceeding with deploy
[2023-04-30T05:54:54.835Z] >>> [apiv2][query] POST https://cloudfunctions.googleapis.com/v1/projects/titsuki-studio/locations/us-central1/functions:generateUploadUrl [none]
[2023-04-30T05:54:54.835Z] >>> [apiv2][body] POST https://cloudfunctions.googleapis.com/v1/projects/titsuki-studio/locations/us-central1/functions:generateUploadUrl {}
[2023-04-30T05:54:55.665Z] <<< [apiv2][status] POST https://cloudfunctions.googleapis.com/v1/projects/titsuki-studio/locations/us-central1/functions:generateUploadUrl 200
[2023-04-30T05:54:55.665Z] <<< [apiv2][body] POST https://cloudfunctions.googleapis.com/v1/projects/titsuki-studio/locations/us-central1/functions:generateUploadUrl {"uploadUrl":"https://storage.googleapis.com/uploads-551862105409.us-central1.cloudfunctions.appspot.com/4d0d29f7-a944-4ae5-af4f-569d802295d9.zip?GoogleAccessId=service-682212412841@gcf-admin-robot.iam.gserviceaccount.com&Expires=1682835895&Signature=RgNJPg3RYRfZ0%2BTjHaAWU9Z52OujrVCsAuZ0Y0cUvnrTt62%2B3XkhkGQMKEErJGxkY3zar1U6NTr%2ByfVNOJl2ne7ocwX8miQp4ncwIZg%2FTD6oIm9Y9tcS%2BM%2Fw3H8xXD0YIcF7m4hRAUFdc5ekexVtTxl337g2uVHHI1HUBNEKdwuvHBW%2FunehZkSxkx%2F3yaCT%2FGNBHCBycOmz407yz5WA4ur7l1cJhh0OG095Ic3h2BVUNu0HkAe7Opcn3ga7UbgEWpfZmrr7AapdTmdZHB2pOx2yZu5cY7RPVTsy29f2Wq8Qddl0%2Bp5iNQo7y75eojpsf8dv09Xj5%2B4iJRp6wuU05g%3D%3D"}
[2023-04-30T05:54:55.666Z] >>> [apiv2][query] PUT https://storage.googleapis.com/uploads-551862105409.us-central1.cloudfunctions.appspot.com/4d0d29f7-a944-4ae5-af4f-569d802295d9.zip GoogleAccessId=service-682212412841%40gcf-admin-robot.iam.gserviceaccount.com&Expires=1682835895&Signature=RgNJPg3RYRfZ0%2BTjHaAWU9Z52OujrVCsAuZ0Y0cUvnrTt62%2B3XkhkGQMKEErJGxkY3zar1U6NTr%2ByfVNOJl2ne7ocwX8miQp4ncwIZg%2FTD6oIm9Y9tcS%2BM%2Fw3H8xXD0YIcF7m4hRAUFdc5ekexVtTxl337g2uVHHI1HUBNEKdwuvHBW%2FunehZkSxkx%2F3yaCT%2FGNBHCBycOmz407yz5WA4ur7l1cJhh0OG095Ic3h2BVUNu0HkAe7Opcn3ga7UbgEWpfZmrr7AapdTmdZHB2pOx2yZu5cY7RPVTsy29f2Wq8Qddl0%2Bp5iNQo7y75eojpsf8dv09Xj5%2B4iJRp6wuU05g%3D%3D
[2023-04-30T05:54:55.666Z] >>> [apiv2][body] PUT https://storage.googleapis.com/uploads-551862105409.us-central1.cloudfunctions.appspot.com/4d0d29f7-a944-4ae5-af4f-569d802295d9.zip [stream]
[2023-04-30T05:54:56.042Z] <<< [apiv2][status] PUT https://storage.googleapis.com/uploads-551862105409.us-central1.cloudfunctions.appspot.com/4d0d29f7-a944-4ae5-af4f-569d802295d9.zip 200
[2023-04-30T05:54:56.042Z] <<< [apiv2][body] PUT https://storage.googleapis.com/uploads-551862105409.us-central1.cloudfunctions.appspot.com/4d0d29f7-a944-4ae5-af4f-569d802295d9.zip [omitted]
✔ functions: .output/server folder uploaded successfully
i hosting[titsuki-studio]: beginning deploy...
i hosting[titsuki-studio]: found 8 files in .output/public
[2023-04-30T05:54:56.046Z] [hosting] uploading with 200 concurrency
[2023-04-30T05:54:56.047Z] [hosting] hash cache [Lm91dHB1dC9wdWJsaWM] not populated
[2023-04-30T05:54:56.057Z] [hosting] hash cache [Lm91dHB1dC9wdWJsaWM] stored for 8 files
[2023-04-30T05:54:56.057Z] [hosting][hash queue][FINAL] {"max":9,"min":1,"avg":2.875,"active":0,"complete":8,"success":8,"errored":0,"retried":0,"total":8,"elapsed":10}
[2023-04-30T05:54:56.058Z] >>> [apiv2][query] POST https://firebasehosting.googleapis.com/v1beta1/projects/682212412841/sites/titsuki-studio/versions/87bbb7bf372261c3:populateFiles [none]
[2023-04-30T05:54:56.058Z] >>> [apiv2][body] POST https://firebasehosting.googleapis.com/v1beta1/projects/682212412841/sites/titsuki-studio/versions/87bbb7bf372261c3:populateFiles {"files":{"/_nuxt/error-404.23f2309d.css":"1ebbd67dff15b1016595bc3e742018269ba0b99ba8aa68590366111d346fdb70","/_nuxt/error-500.9b970c02.js":"e206f69d45a959066947cda69d2711b9fbbe8eaaf33d8d7c07c834c97b960fc2","/_nuxt/error-404.722e957e.js":"d5c598b7f984526fc5c12224868898904257a5a0f5284f224bde1f358bc5b756","/_nuxt/entry.dd64dcb9.css":"fbaffa4de00555e67ed006a4449a3fd079f215281d7196d3e04d7bd76f928860","/favicon.ico":"712e21055878c59329fe2c6bd230313ef4e8a7b9224797eccb5b9e98611f8676","/_nuxt/error-500.aa16ed4d.css":"6acf44aee8c731db826a392f93ca0f0484e433eb1b91c07b7f1a2289f6bf57e4","/_nuxt/error-component.8913fcbf.js":"f841e5caa0375899001d02f002134eef875b1a65c3adb73d88551fb4a3f30083","/_nuxt/entry.3129e61d.js":"a628e13ca886fb58faf8b3a333a93995437ea4503c670000fccb0080cda4f837"}}
[2023-04-30T05:54:56.922Z] <<< [apiv2][status] POST https://firebasehosting.googleapis.com/v1beta1/projects/682212412841/sites/titsuki-studio/versions/87bbb7bf372261c3:populateFiles 200
[2023-04-30T05:54:56.922Z] <<< [apiv2][body] POST https://firebasehosting.googleapis.com/v1beta1/projects/682212412841/sites/titsuki-studio/versions/87bbb7bf372261c3:populateFiles {"uploadUrl":"https://upload-firebasehosting.googleapis.com/upload/sites/titsuki-studio/versions/87bbb7bf372261c3/files"}
[2023-04-30T05:54:56.922Z] [hosting][populate queue][FINAL] {"max":865,"min":865,"avg":865,"active":0,"complete":1,"success":1,"errored":0,"retried":0,"total":1,"elapsed":865}
[2023-04-30T05:54:56.922Z] [hosting] uploads queued: 0
[2023-04-30T05:54:56.922Z] [hosting][upload queue][FINAL] {"max":0,"min":9999999999,"avg":0,"active":0,"complete":0,"success":0,"errored":0,"retried":0,"total":0,"elapsed":1682834096922}
i hosting: upload complete
✔ hosting[titsuki-studio]: file upload complete
[2023-04-30T05:54:56.923Z] [hosting] deploy completed after 879ms
i functions: creating Node.js 18 function server(us-central1)...
[2023-04-30T05:54:56.926Z] >>> [apiv2][query] POST https://cloudfunctions.googleapis.com/v1/projects/titsuki-studio/locations/us-central1/functions [none]
[2023-04-30T05:54:56.926Z] >>> [apiv2][body] POST https://cloudfunctions.googleapis.com/v1/projects/titsuki-studio/locations/us-central1/functions {"name":"projects/titsuki-studio/locations/us-central1/functions/server","sourceUploadUrl":"https://storage.googleapis.com/uploads-551862105409.us-central1.cloudfunctions.appspot.com/4d0d29f7-a944-4ae5-af4f-569d802295d9.zip?GoogleAccessId=service-682212412841@gcf-admin-robot.iam.gserviceaccount.com&Expires=1682835895&Signature=RgNJPg3RYRfZ0%2BTjHaAWU9Z52OujrVCsAuZ0Y0cUvnrTt62%2B3XkhkGQMKEErJGxkY3zar1U6NTr%2ByfVNOJl2ne7ocwX8miQp4ncwIZg%2FTD6oIm9Y9tcS%2BM%2Fw3H8xXD0YIcF7m4hRAUFdc5ekexVtTxl337g2uVHHI1HUBNEKdwuvHBW%2FunehZkSxkx%2F3yaCT%2FGNBHCBycOmz407yz5WA4ur7l1cJhh0OG095Ic3h2BVUNu0HkAe7Opcn3ga7UbgEWpfZmrr7AapdTmdZHB2pOx2yZu5cY7RPVTsy29f2Wq8Qddl0%2Bp5iNQo7y75eojpsf8dv09Xj5%2B4iJRp6wuU05g%3D%3D","entryPoint":"server","runtime":"nodejs18","dockerRegistry":"ARTIFACT_REGISTRY","labels":{"deployment-tool":"cli-firebase","firebase-functions-hash":"aaede689c5c0f253dcfe5c7c964febf75cd23e1a"},"httpsTrigger":{"securityLevel":"SECURE_ALWAYS"},"minInstances":null,"maxInstances":null,"ingressSettings":null,"environmentVariables":{"FIREBASE_CONFIG":"{\"projectId\":\"titsuki-studio\",\"storageBucket\":\"titsuki-studio.appspot.com\"}","GCLOUD_PROJECT":"titsuki-studio","EVENTARC_CLOUD_EVENT_SOURCE":"projects/titsuki-studio/locations/us-central1/functions/server"},"serviceAccountEmail":null,"availableMemoryMb":null,"timeout":null,"vpcConnector":null,"vpcConnectorEgressSettings":null,"buildEnvironmentVariables":{"GOOGLE_NODE_RUN_SCRIPTS":""}}
[2023-04-30T05:54:57.842Z] <<< [apiv2][status] POST https://cloudfunctions.googleapis.com/v1/projects/titsuki-studio/locations/us-central1/functions 200
[2023-04-30T05:54:57.842Z] <<< [apiv2][body] POST https://cloudfunctions.googleapis.com/v1/projects/titsuki-studio/locations/us-central1/functions {"name":"operations/dGl0c3VraS1zdHVkaW8vdXMtY2VudHJhbDEvc2VydmVyL1dIY3VnRGtLaG9r","metadata":{"@type":"type.googleapis.com/google.cloud.functions.v1.OperationMetadataV1","target":"projects/titsuki-studio/locations/us-central1/functions/server","type":"CREATE_FUNCTION","request":{"@type":"type.googleapis.com/google.cloud.functions.v1.CloudFunction","name":"projects/titsuki-studio/locations/us-central1/functions/server","httpsTrigger":{"securityLevel":"SECURE_ALWAYS"},"entryPoint":"server","labels":{"deployment-tool":"cli-firebase","firebase-functions-hash":"aaede689c5c0f253dcfe5c7c964febf75cd23e1a"},"sourceUploadUrl":"https://storage.googleapis.com/uploads-551862105409.us-central1.cloudfunctions.appspot.com/4d0d29f7-a944-4ae5-af4f-569d802295d9.zip?GoogleAccessId=service-682212412841@gcf-admin-robot.iam.gserviceaccount.com&Expires=1682835895&Signature=RgNJPg3RYRfZ0%2BTjHaAWU9Z52OujrVCsAuZ0Y0cUvnrTt62%2B3XkhkGQMKEErJGxkY3zar1U6NTr%2ByfVNOJl2ne7ocwX8miQp4ncwIZg%2FTD6oIm9Y9tcS%2BM%2Fw3H8xXD0YIcF7m4hRAUFdc5ekexVtTxl337g2uVHHI1HUBNEKdwuvHBW%2FunehZkSxkx%2F3yaCT%2FGNBHCBycOmz407yz5WA4ur7l1cJhh0OG095Ic3h2BVUNu0HkAe7Opcn3ga7UbgEWpfZmrr7AapdTmdZHB2pOx2yZu5cY7RPVTsy29f2Wq8Qddl0%2Bp5iNQo7y75eojpsf8dv09Xj5%2B4iJRp6wuU05g%3D%3D","environmentVariables":{"FIREBASE_CONFIG":"{\"projectId\":\"titsuki-studio\",\"storageBucket\":\"titsuki-studio.appspot.com\"}","GCLOUD_PROJECT":"titsuki-studio","EVENTARC_CLOUD_EVENT_SOURCE":"projects/titsuki-studio/locations/us-central1/functions/server"},"runtime":"nodejs18","buildEnvironmentVariables":{"GOOGLE_NODE_RUN_SCRIPTS":""},"dockerRegistry":"ARTIFACT_REGISTRY"},"versionId":"1","updateTime":"2023-04-30T05:54:57Z"}}
[2023-04-30T05:54:57.843Z] >>> [apiv2][query] GET https://cloudfunctions.googleapis.com/v1/operations/dGl0c3VraS1zdHVkaW8vdXMtY2VudHJhbDEvc2VydmVyL1dIY3VnRGtLaG9r [none]
[2023-04-30T05:54:58.406Z] <<< [apiv2][status] GET https://cloudfunctions.googleapis.com/v1/operations/dGl0c3VraS1zdHVkaW8vdXMtY2VudHJhbDEvc2VydmVyL1dIY3VnRGtLaG9r 200
[2023-04-30T05:54:58.406Z] <<< [apiv2][body] GET https://cloudfunctions.googleapis.com/v1/operations/dGl0c3VraS1zdHVkaW8vdXMtY2VudHJhbDEvc2VydmVyL1dIY3VnRGtLaG9r {"name":"operations/dGl0c3VraS1zdHVkaW8vdXMtY2VudHJhbDEvc2VydmVyL1dIY3VnRGtLaG9r","metadata":{"@type":"type.googleapis.com/google.cloud.functions.v1.OperationMetadataV1","target":"projects/titsuki-studio/locations/us-central1/functions/server","type":"CREATE_FUNCTION","request":{"@type":"type.googleapis.com/google.cloud.functions.v1.CloudFunction","name":"projects/titsuki-studio/locations/us-central1/functions/server","httpsTrigger":{"securityLevel":"SECURE_ALWAYS"},"entryPoint":"server","labels":{"deployment-tool":"cli-firebase","firebase-functions-hash":"aaede689c5c0f253dcfe5c7c964febf75cd23e1a"},"sourceUploadUrl":"https://storage.googleapis.com/uploads-551862105409.us-central1.cloudfunctions.appspot.com/4d0d29f7-a944-4ae5-af4f-569d802295d9.zip?GoogleAccessId=service-682212412841@gcf-admin-robot.iam.gserviceaccount.com&Expires=1682835895&Signature=RgNJPg3RYRfZ0%2BTjHaAWU9Z52OujrVCsAuZ0Y0cUvnrTt62%2B3XkhkGQMKEErJGxkY3zar1U6NTr%2ByfVNOJl2ne7ocwX8miQp4ncwIZg%2FTD6oIm9Y9tcS%2BM%2Fw3H8xXD0YIcF7m4hRAUFdc5ekexVtTxl337g2uVHHI1HUBNEKdwuvHBW%2FunehZkSxkx%2F3yaCT%2FGNBHCBycOmz407yz5WA4ur7l1cJhh0OG095Ic3h2BVUNu0HkAe7Opcn3ga7UbgEWpfZmrr7AapdTmdZHB2pOx2yZu5cY7RPVTsy29f2Wq8Qddl0%2Bp5iNQo7y75eojpsf8dv09Xj5%2B4iJRp6wuU05g%3D%3D","environmentVariables":{"FIREBASE_CONFIG":"{\"projectId\":\"titsuki-studio\",\"storageBucket\":\"titsuki-studio.appspot.com\"}","GCLOUD_PROJECT":"titsuki-studio","EVENTARC_CLOUD_EVENT_SOURCE":"projects/titsuki-studio/locations/us-central1/functions/server"},"runtime":"nodejs18","buildEnvironmentVariables":{"GOOGLE_NODE_RUN_SCRIPTS":""},"dockerRegistry":"ARTIFACT_REGISTRY"},"versionId":"1","updateTime":"2023-04-30T05:54:57Z"}}
[2023-04-30T05:54:58.908Z] [create-default-us-central1-server] Retrying task index 0
[2023-04-30T05:54:58.908Z] >>> [apiv2][query] GET https://cloudfunctions.googleapis.com/v1/operations/dGl0c3VraS1zdHVkaW8vdXMtY2VudHJhbDEvc2VydmVyL1dIY3VnRGtLaG9r [none]
[2023-04-30T05:54:59.265Z] <<< [apiv2][status] GET https://cloudfunctions.googleapis.com/v1/operations/dGl0c3VraS1zdHVkaW8vdXMtY2VudHJhbDEvc2VydmVyL1dIY3VnRGtLaG9r 200
[2023-04-30T05:54:59.265Z] <<< [apiv2][body] GET https://cloudfunctions.googleapis.com/v1/operations/dGl0c3VraS1zdHVkaW8vdXMtY2VudHJhbDEvc2VydmVyL1dIY3VnRGtLaG9r {"name":"operations/dGl0c3VraS1zdHVkaW8vdXMtY2VudHJhbDEvc2VydmVyL1dIY3VnRGtLaG9r","metadata":{"@type":"type.googleapis.com/google.cloud.functions.v1.OperationMetadataV1","target":"projects/titsuki-studio/locations/us-central1/functions/server","type":"CREATE_FUNCTION","request":{"@type":"type.googleapis.com/google.cloud.functions.v1.CloudFunction","name":"projects/titsuki-studio/locations/us-central1/functions/server","httpsTrigger":{"securityLevel":"SECURE_ALWAYS"},"entryPoint":"server","labels":{"deployment-tool":"cli-firebase","firebase-functions-hash":"aaede689c5c0f253dcfe5c7c964febf75cd23e1a"},"sourceUploadUrl":"https://storage.googleapis.com/uploads-551862105409.us-central1.cloudfunctions.appspot.com/4d0d29f7-a944-4ae5-af4f-569d802295d9.zip?GoogleAccessId=service-682212412841@gcf-admin-robot.iam.gserviceaccount.com&Expires=1682835895&Signature=RgNJPg3RYRfZ0%2BTjHaAWU9Z52OujrVCsAuZ0Y0cUvnrTt62%2B3XkhkGQMKEErJGxkY3zar1U6NTr%2ByfVNOJl2ne7ocwX8miQp4ncwIZg%2FTD6oIm9Y9tcS%2BM%2Fw3H8xXD0YIcF7m4hRAUFdc5ekexVtTxl337g2uVHHI1HUBNEKdwuvHBW%2FunehZkSxkx%2F3yaCT%2FGNBHCBycOmz407yz5WA4ur7l1cJhh0OG095Ic3h2BVUNu0HkAe7Opcn3ga7UbgEWpfZmrr7AapdTmdZHB2pOx2yZu5cY7RPVTsy29f2Wq8Qddl0%2Bp5iNQo7y75eojpsf8dv09Xj5%2B4iJRp6wuU05g%3D%3D","environmentVariables":{"FIREBASE_CONFIG":"{\"projectId\":\"titsuki-studio\",\"storageBucket\":\"titsuki-studio.appspot.com\"}","GCLOUD_PROJECT":"titsuki-studio","EVENTARC_CLOUD_EVENT_SOURCE":"projects/titsuki-studio/locations/us-central1/functions/server"},"runtime":"nodejs18","buildEnvironmentVariables":{"GOOGLE_NODE_RUN_SCRIPTS":""},"dockerRegistry":"ARTIFACT_REGISTRY"},"versionId":"1","updateTime":"2023-04-30T05:54:57Z","buildId":"de40ad66-e781-4cbc-a35b-cf889869c6f1","buildName":"projects/682212412841/locations/us-central1/builds/de40ad66-e781-4cbc-a35b-cf889869c6f1"}}
[2023-04-30T05:55:00.267Z] [create-default-us-central1-server] Retrying task index 0
[2023-04-30T05:55:00.267Z] >>> [apiv2][query] GET https://cloudfunctions.googleapis.com/v1/operations/dGl0c3VraS1zdHVkaW8vdXMtY2VudHJhbDEvc2VydmVyL1dIY3VnRGtLaG9r [none]
[2023-04-30T05:55:00.682Z] <<< [apiv2][status] GET https://cloudfunctions.googleapis.com/v1/operations/dGl0c3VraS1zdHVkaW8vdXMtY2VudHJhbDEvc2VydmVyL1dIY3VnRGtLaG9r 200
[2023-04-30T05:55:00.683Z] <<< [apiv2][body] GET https://cloudfunctions.googleapis.com/v1/operations/dGl0c3VraS1zdHVkaW8vdXMtY2VudHJhbDEvc2VydmVyL1dIY3VnRGtLaG9r {"name":"operations/dGl0c3VraS1zdHVkaW8vdXMtY2VudHJhbDEvc2VydmVyL1dIY3VnRGtLaG9r","metadata":{"@type":"type.googleapis.com/google.cloud.functions.v1.OperationMetadataV1","target":"projects/titsuki-studio/locations/us-central1/functions/server","type":"CREATE_FUNCTION","request":{"@type":"type.googleapis.com/google.cloud.functions.v1.CloudFunction","name":"projects/titsuki-studio/locations/us-central1/functions/server","httpsTrigger":{"securityLevel":"SECURE_ALWAYS"},"entryPoint":"server","labels":{"deployment-tool":"cli-firebase","firebase-functions-hash":"aaede689c5c0f253dcfe5c7c964febf75cd23e1a"},"sourceUploadUrl":"https://storage.googleapis.com/uploads-551862105409.us-central1.cloudfunctions.appspot.com/4d0d29f7-a944-4ae5-af4f-569d802295d9.zip?GoogleAccessId=service-682212412841@gcf-admin-robot.iam.gserviceaccount.com&Expires=1682835895&Signature=RgNJPg3RYRfZ0%2BTjHaAWU9Z52OujrVCsAuZ0Y0cUvnrTt62%2B3XkhkGQMKEErJGxkY3zar1U6NTr%2ByfVNOJl2ne7ocwX8miQp4ncwIZg%2FTD6oIm9Y9tcS%2BM%2Fw3H8xXD0YIcF7m4hRAUFdc5ekexVtTxl337g2uVHHI1HUBNEKdwuvHBW%2FunehZkSxkx%2F3yaCT%2FGNBHCBycOmz407yz5WA4ur7l1cJhh0OG095Ic3h2BVUNu0HkAe7Opcn3ga7UbgEWpfZmrr7AapdTmdZHB2pOx2yZu5cY7RPVTsy29f2Wq8Qddl0%2Bp5iNQo7y75eojpsf8dv09Xj5%2B4iJRp6wuU05g%3D%3D","environmentVariables":{"FIREBASE_CONFIG":"{\"projectId\":\"titsuki-studio\",\"storageBucket\":\"titsuki-studio.appspot.com\"}","GCLOUD_PROJECT":"titsuki-studio","EVENTARC_CLOUD_EVENT_SOURCE":"projects/titsuki-studio/locations/us-central1/functions/server"},"runtime":"nodejs18","buildEnvironmentVariables":{"GOOGLE_NODE_RUN_SCRIPTS":""},"dockerRegistry":"ARTIFACT_REGISTRY"},"versionId":"1","updateTime":"2023-04-30T05:54:57Z","buildId":"de40ad66-e781-4cbc-a35b-cf889869c6f1","buildName":"projects/682212412841/locations/us-central1/builds/de40ad66-e781-4cbc-a35b-cf889869c6f1"}}
[2023-04-30T05:55:02.685Z] [create-default-us-central1-server] Retrying task index 0
[2023-04-30T05:55:02.685Z] >>> [apiv2][query] GET https://cloudfunctions.googleapis.com/v1/operations/dGl0c3VraS1zdHVkaW8vdXMtY2VudHJhbDEvc2VydmVyL1dIY3VnRGtLaG9r [none]
[2023-04-30T05:55:03.261Z] <<< [apiv2][status] GET https://cloudfunctions.googleapis.com/v1/operations/dGl0c3VraS1zdHVkaW8vdXMtY2VudHJhbDEvc2VydmVyL1dIY3VnRGtLaG9r 200
[2023-04-30T05:55:03.261Z] <<< [apiv2][body] GET https://cloudfunctions.googleapis.com/v1/operations/dGl0c3VraS1zdHVkaW8vdXMtY2VudHJhbDEvc2VydmVyL1dIY3VnRGtLaG9r {"name":"operations/dGl0c3VraS1zdHVkaW8vdXMtY2VudHJhbDEvc2VydmVyL1dIY3VnRGtLaG9r","metadata":{"@type":"type.googleapis.com/google.cloud.functions.v1.OperationMetadataV1","target":"projects/titsuki-studio/locations/us-central1/functions/server","type":"CREATE_FUNCTION","request":{"@type":"type.googleapis.com/google.cloud.functions.v1.CloudFunction","name":"projects/titsuki-studio/locations/us-central1/functions/server","httpsTrigger":{"securityLevel":"SECURE_ALWAYS"},"entryPoint":"server","labels":{"deployment-tool":"cli-firebase","firebase-functions-hash":"aaede689c5c0f253dcfe5c7c964febf75cd23e1a"},"sourceUploadUrl":"https://storage.googleapis.com/uploads-551862105409.us-central1.cloudfunctions.appspot.com/4d0d29f7-a944-4ae5-af4f-569d802295d9.zip?GoogleAccessId=service-682212412841@gcf-admin-robot.iam.gserviceaccount.com&Expires=1682835895&Signature=RgNJPg3RYRfZ0%2BTjHaAWU9Z52OujrVCsAuZ0Y0cUvnrTt62%2B3XkhkGQMKEErJGxkY3zar1U6NTr%2ByfVNOJl2ne7ocwX8miQp4ncwIZg%2FTD6oIm9Y9tcS%2BM%2Fw3H8xXD0YIcF7m4hRAUFdc5ekexVtTxl337g2uVHHI1HUBNEKdwuvHBW%2FunehZkSxkx%2F3yaCT%2FGNBHCBycOmz407yz5WA4ur7l1cJhh0OG095Ic3h2BVUNu0HkAe7Opcn3ga7UbgEWpfZmrr7AapdTmdZHB2pOx2yZu5cY7RPVTsy29f2Wq8Qddl0%2Bp5iNQo7y75eojpsf8dv09Xj5%2B4iJRp6wuU05g%3D%3D","environmentVariables":{"FIREBASE_CONFIG":"{\"projectId\":\"titsuki-studio\",\"storageBucket\":\"titsuki-studio.appspot.com\"}","GCLOUD_PROJECT":"titsuki-studio","EVENTARC_CLOUD_EVENT_SOURCE":"projects/titsuki-studio/locations/us-central1/functions/server"},"runtime":"nodejs18","buildEnvironmentVariables":{"GOOGLE_NODE_RUN_SCRIPTS":""},"dockerRegistry":"ARTIFACT_REGISTRY"},"versionId":"1","updateTime":"2023-04-30T05:54:57Z","buildId":"de40ad66-e781-4cbc-a35b-cf889869c6f1","buildName":"projects/682212412841/locations/us-central1/builds/de40ad66-e781-4cbc-a35b-cf889869c6f1"}}
[2023-04-30T05:55:07.266Z] [create-default-us-central1-server] Retrying task index 0
[2023-04-30T05:55:07.266Z] >>> [apiv2][query] GET https://cloudfunctions.googleapis.com/v1/operations/dGl0c3VraS1zdHVkaW8vdXMtY2VudHJhbDEvc2VydmVyL1dIY3VnRGtLaG9r [none]
[2023-04-30T05:55:07.814Z] <<< [apiv2][status] GET https://cloudfunctions.googleapis.com/v1/operations/dGl0c3VraS1zdHVkaW8vdXMtY2VudHJhbDEvc2VydmVyL1dIY3VnRGtLaG9r 200
[2023-04-30T05:55:07.815Z] <<< [apiv2][body] GET https://cloudfunctions.googleapis.com/v1/operations/dGl0c3VraS1zdHVkaW8vdXMtY2VudHJhbDEvc2VydmVyL1dIY3VnRGtLaG9r {"name":"operations/dGl0c3VraS1zdHVkaW8vdXMtY2VudHJhbDEvc2VydmVyL1dIY3VnRGtLaG9r","metadata":{"@type":"type.googleapis.com/google.cloud.functions.v1.OperationMetadataV1","target":"projects/titsuki-studio/locations/us-central1/functions/server","type":"CREATE_FUNCTION","request":{"@type":"type.googleapis.com/google.cloud.functions.v1.CloudFunction","name":"projects/titsuki-studio/locations/us-central1/functions/server","httpsTrigger":{"securityLevel":"SECURE_ALWAYS"},"entryPoint":"server","labels":{"deployment-tool":"cli-firebase","firebase-functions-hash":"aaede689c5c0f253dcfe5c7c964febf75cd23e1a"},"sourceUploadUrl":"https://storage.googleapis.com/uploads-551862105409.us-central1.cloudfunctions.appspot.com/4d0d29f7-a944-4ae5-af4f-569d802295d9.zip?GoogleAccessId=service-682212412841@gcf-admin-robot.iam.gserviceaccount.com&Expires=1682835895&Signature=RgNJPg3RYRfZ0%2BTjHaAWU9Z52OujrVCsAuZ0Y0cUvnrTt62%2B3XkhkGQMKEErJGxkY3zar1U6NTr%2ByfVNOJl2ne7ocwX8miQp4ncwIZg%2FTD6oIm9Y9tcS%2BM%2Fw3H8xXD0YIcF7m4hRAUFdc5ekexVtTxl337g2uVHHI1HUBNEKdwuvHBW%2FunehZkSxkx%2F3yaCT%2FGNBHCBycOmz407yz5WA4ur7l1cJhh0OG095Ic3h2BVUNu0HkAe7Opcn3ga7UbgEWpfZmrr7AapdTmdZHB2pOx2yZu5cY7RPVTsy29f2Wq8Qddl0%2Bp5iNQo7y75eojpsf8dv09Xj5%2B4iJRp6wuU05g%3D%3D","environmentVariables":{"FIREBASE_CONFIG":"{\"projectId\":\"titsuki-studio\",\"storageBucket\":\"titsuki-studio.appspot.com\"}","GCLOUD_PROJECT":"titsuki-studio","EVENTARC_CLOUD_EVENT_SOURCE":"projects/titsuki-studio/locations/us-central1/functions/server"},"runtime":"nodejs18","buildEnvironmentVariables":{"GOOGLE_NODE_RUN_SCRIPTS":""},"dockerRegistry":"ARTIFACT_REGISTRY"},"versionId":"1","updateTime":"2023-04-30T05:54:57Z","buildId":"de40ad66-e781-4cbc-a35b-cf889869c6f1","buildName":"projects/682212412841/locations/us-central1/builds/de40ad66-e781-4cbc-a35b-cf889869c6f1"}}
[2023-04-30T05:55:15.819Z] [create-default-us-central1-server] Retrying task index 0
[2023-04-30T05:55:15.820Z] > refreshing access token with scopes: []
[2023-04-30T05:55:15.821Z] >>> [apiv2][query] POST https://www.googleapis.com/oauth2/v3/token [none]
[2023-04-30T05:55:15.821Z] >>> [apiv2][body] POST https://www.googleapis.com/oauth2/v3/token [omitted]
[2023-04-30T05:55:15.973Z] <<< [apiv2][status] POST https://www.googleapis.com/oauth2/v3/token 200
[2023-04-30T05:55:15.973Z] <<< [apiv2][body] POST https://www.googleapis.com/oauth2/v3/token [omitted]
[2023-04-30T05:55:15.983Z] >>> [apiv2][query] GET https://cloudfunctions.googleapis.com/v1/operations/dGl0c3VraS1zdHVkaW8vdXMtY2VudHJhbDEvc2VydmVyL1dIY3VnRGtLaG9r [none]
[2023-04-30T05:55:16.519Z] <<< [apiv2][status] GET https://cloudfunctions.googleapis.com/v1/operations/dGl0c3VraS1zdHVkaW8vdXMtY2VudHJhbDEvc2VydmVyL1dIY3VnRGtLaG9r 200
[2023-04-30T05:55:16.519Z] <<< [apiv2][body] GET https://cloudfunctions.googleapis.com/v1/operations/dGl0c3VraS1zdHVkaW8vdXMtY2VudHJhbDEvc2VydmVyL1dIY3VnRGtLaG9r {"name":"operations/dGl0c3VraS1zdHVkaW8vdXMtY2VudHJhbDEvc2VydmVyL1dIY3VnRGtLaG9r","metadata":{"@type":"type.googleapis.com/google.cloud.functions.v1.OperationMetadataV1","target":"projects/titsuki-studio/locations/us-central1/functions/server","type":"CREATE_FUNCTION","request":{"@type":"type.googleapis.com/google.cloud.functions.v1.CloudFunction","name":"projects/titsuki-studio/locations/us-central1/functions/server","httpsTrigger":{"securityLevel":"SECURE_ALWAYS"},"entryPoint":"server","labels":{"deployment-tool":"cli-firebase","firebase-functions-hash":"aaede689c5c0f253dcfe5c7c964febf75cd23e1a"},"sourceUploadUrl":"https://storage.googleapis.com/uploads-551862105409.us-central1.cloudfunctions.appspot.com/4d0d29f7-a944-4ae5-af4f-569d802295d9.zip?GoogleAccessId=service-682212412841@gcf-admin-robot.iam.gserviceaccount.com&Expires=1682835895&Signature=RgNJPg3RYRfZ0%2BTjHaAWU9Z52OujrVCsAuZ0Y0cUvnrTt62%2B3XkhkGQMKEErJGxkY3zar1U6NTr%2ByfVNOJl2ne7ocwX8miQp4ncwIZg%2FTD6oIm9Y9tcS%2BM%2Fw3H8xXD0YIcF7m4hRAUFdc5ekexVtTxl337g2uVHHI1HUBNEKdwuvHBW%2FunehZkSxkx%2F3yaCT%2FGNBHCBycOmz407yz5WA4ur7l1cJhh0OG095Ic3h2BVUNu0HkAe7Opcn3ga7UbgEWpfZmrr7AapdTmdZHB2pOx2yZu5cY7RPVTsy29f2Wq8Qddl0%2Bp5iNQo7y75eojpsf8dv09Xj5%2B4iJRp6wuU05g%3D%3D","environmentVariables":{"FIREBASE_CONFIG":"{\"projectId\":\"titsuki-studio\",\"storageBucket\":\"titsuki-studio.appspot.com\"}","GCLOUD_PROJECT":"titsuki-studio","EVENTARC_CLOUD_EVENT_SOURCE":"projects/titsuki-studio/locations/us-central1/functions/server"},"runtime":"nodejs18","buildEnvironmentVariables":{"GOOGLE_NODE_RUN_SCRIPTS":""},"dockerRegistry":"ARTIFACT_REGISTRY"},"versionId":"1","updateTime":"2023-04-30T05:54:57Z","buildId":"de40ad66-e781-4cbc-a35b-cf889869c6f1","buildName":"projects/682212412841/locations/us-central1/builds/de40ad66-e781-4cbc-a35b-cf889869c6f1"}}
[2023-04-30T05:55:26.526Z] [create-default-us-central1-server] Retrying task index 0
[2023-04-30T05:55:26.526Z] >>> [apiv2][query] GET https://cloudfunctions.googleapis.com/v1/operations/dGl0c3VraS1zdHVkaW8vdXMtY2VudHJhbDEvc2VydmVyL1dIY3VnRGtLaG9r [none]
[2023-04-30T05:55:27.077Z] <<< [apiv2][status] GET https://cloudfunctions.googleapis.com/v1/operations/dGl0c3VraS1zdHVkaW8vdXMtY2VudHJhbDEvc2VydmVyL1dIY3VnRGtLaG9r 200
[2023-04-30T05:55:27.077Z] <<< [apiv2][body] GET https://cloudfunctions.googleapis.com/v1/operations/dGl0c3VraS1zdHVkaW8vdXMtY2VudHJhbDEvc2VydmVyL1dIY3VnRGtLaG9r {"name":"operations/dGl0c3VraS1zdHVkaW8vdXMtY2VudHJhbDEvc2VydmVyL1dIY3VnRGtLaG9r","metadata":{"@type":"type.googleapis.com/google.cloud.functions.v1.OperationMetadataV1","target":"projects/titsuki-studio/locations/us-central1/functions/server","type":"CREATE_FUNCTION","request":{"@type":"type.googleapis.com/google.cloud.functions.v1.CloudFunction","name":"projects/titsuki-studio/locations/us-central1/functions/server","httpsTrigger":{"securityLevel":"SECURE_ALWAYS"},"entryPoint":"server","labels":{"deployment-tool":"cli-firebase","firebase-functions-hash":"aaede689c5c0f253dcfe5c7c964febf75cd23e1a"},"sourceUploadUrl":"https://storage.googleapis.com/uploads-551862105409.us-central1.cloudfunctions.appspot.com/4d0d29f7-a944-4ae5-af4f-569d802295d9.zip?GoogleAccessId=service-682212412841@gcf-admin-robot.iam.gserviceaccount.com&Expires=1682835895&Signature=RgNJPg3RYRfZ0%2BTjHaAWU9Z52OujrVCsAuZ0Y0cUvnrTt62%2B3XkhkGQMKEErJGxkY3zar1U6NTr%2ByfVNOJl2ne7ocwX8miQp4ncwIZg%2FTD6oIm9Y9tcS%2BM%2Fw3H8xXD0YIcF7m4hRAUFdc5ekexVtTxl337g2uVHHI1HUBNEKdwuvHBW%2FunehZkSxkx%2F3yaCT%2FGNBHCBycOmz407yz5WA4ur7l1cJhh0OG095Ic3h2BVUNu0HkAe7Opcn3ga7UbgEWpfZmrr7AapdTmdZHB2pOx2yZu5cY7RPVTsy29f2Wq8Qddl0%2Bp5iNQo7y75eojpsf8dv09Xj5%2B4iJRp6wuU05g%3D%3D","environmentVariables":{"FIREBASE_CONFIG":"{\"projectId\":\"titsuki-studio\",\"storageBucket\":\"titsuki-studio.appspot.com\"}","GCLOUD_PROJECT":"titsuki-studio","EVENTARC_CLOUD_EVENT_SOURCE":"projects/titsuki-studio/locations/us-central1/functions/server"},"runtime":"nodejs18","buildEnvironmentVariables":{"GOOGLE_NODE_RUN_SCRIPTS":""},"dockerRegistry":"ARTIFACT_REGISTRY"},"versionId":"1","updateTime":"2023-04-30T05:54:57Z","buildId":"de40ad66-e781-4cbc-a35b-cf889869c6f1","buildName":"projects/682212412841/locations/us-central1/builds/de40ad66-e781-4cbc-a35b-cf889869c6f1"}}
[2023-04-30T05:55:37.087Z] [create-default-us-central1-server] Retrying task index 0
[2023-04-30T05:55:37.088Z] >>> [apiv2][query] GET https://cloudfunctions.googleapis.com/v1/operations/dGl0c3VraS1zdHVkaW8vdXMtY2VudHJhbDEvc2VydmVyL1dIY3VnRGtLaG9r [none]
[2023-04-30T05:55:37.662Z] <<< [apiv2][status] GET https://cloudfunctions.googleapis.com/v1/operations/dGl0c3VraS1zdHVkaW8vdXMtY2VudHJhbDEvc2VydmVyL1dIY3VnRGtLaG9r 200
[2023-04-30T05:55:37.662Z] <<< [apiv2][body] GET https://cloudfunctions.googleapis.com/v1/operations/dGl0c3VraS1zdHVkaW8vdXMtY2VudHJhbDEvc2VydmVyL1dIY3VnRGtLaG9r {"name":"operations/dGl0c3VraS1zdHVkaW8vdXMtY2VudHJhbDEvc2VydmVyL1dIY3VnRGtLaG9r","metadata":{"@type":"type.googleapis.com/google.cloud.functions.v1.OperationMetadataV1","target":"projects/titsuki-studio/locations/us-central1/functions/server","type":"CREATE_FUNCTION","request":{"@type":"type.googleapis.com/google.cloud.functions.v1.CloudFunction","name":"projects/titsuki-studio/locations/us-central1/functions/server","httpsTrigger":{"securityLevel":"SECURE_ALWAYS"},"entryPoint":"server","labels":{"deployment-tool":"cli-firebase","firebase-functions-hash":"aaede689c5c0f253dcfe5c7c964febf75cd23e1a"},"sourceUploadUrl":"https://storage.googleapis.com/uploads-551862105409.us-central1.cloudfunctions.appspot.com/4d0d29f7-a944-4ae5-af4f-569d802295d9.zip?GoogleAccessId=service-682212412841@gcf-admin-robot.iam.gserviceaccount.com&Expires=1682835895&Signature=RgNJPg3RYRfZ0%2BTjHaAWU9Z52OujrVCsAuZ0Y0cUvnrTt62%2B3XkhkGQMKEErJGxkY3zar1U6NTr%2ByfVNOJl2ne7ocwX8miQp4ncwIZg%2FTD6oIm9Y9tcS%2BM%2Fw3H8xXD0YIcF7m4hRAUFdc5ekexVtTxl337g2uVHHI1HUBNEKdwuvHBW%2FunehZkSxkx%2F3yaCT%2FGNBHCBycOmz407yz5WA4ur7l1cJhh0OG095Ic3h2BVUNu0HkAe7Opcn3ga7UbgEWpfZmrr7AapdTmdZHB2pOx2yZu5cY7RPVTsy29f2Wq8Qddl0%2Bp5iNQo7y75eojpsf8dv09Xj5%2B4iJRp6wuU05g%3D%3D","environmentVariables":{"FIREBASE_CONFIG":"{\"projectId\":\"titsuki-studio\",\"storageBucket\":\"titsuki-studio.appspot.com\"}","GCLOUD_PROJECT":"titsuki-studio","EVENTARC_CLOUD_EVENT_SOURCE":"projects/titsuki-studio/locations/us-central1/functions/server"},"runtime":"nodejs18","buildEnvironmentVariables":{"GOOGLE_NODE_RUN_SCRIPTS":""},"dockerRegistry":"ARTIFACT_REGISTRY"},"versionId":"1","updateTime":"2023-04-30T05:55:30Z","buildId":"de40ad66-e781-4cbc-a35b-cf889869c6f1","buildName":"projects/682212412841/locations/us-central1/builds/de40ad66-e781-4cbc-a35b-cf889869c6f1"},"done":true,"error":{"code":3,"message":"Build failed: npm ERR! code EUSAGE\nnpm ERR! \nnpm ERR! `npm ci` can only install packages when your package.json and package-lock.json or npm-shrinkwrap.json are in sync. Please update your lock file with `npm install` before continuing.\nnpm ERR! \nnpm ERR! Invalid: lock file's ts-node@8.10.2 does not satisfy ts-node@10.9.1\nnpm ERR! Missing: ts-node@8.10.2 from lock file\nnpm ERR! Missing: ts-node@8.10.2 from lock file\nnpm ERR! Missing: diff@4.0.2 from lock file\nnpm ERR! Missing: source-map-support@0.5.21 from lock file\nnpm ERR! Missing: @cspotcode/source-map-support@0.8.1 from lock file\nnpm ERR! Missing: @tsconfig/node10@1.0.9 from lock file\nnpm ERR! Missing: @tsconfig/node12@1.0.11 from lock file\nnpm ERR! Missing: @tsconfig/node14@1.0.3 from lock file\nnpm ERR! Missing: @tsconfig/node16@1.0.3 from lock file\nnpm ERR! Missing: acorn-walk@8.2.0 from lock file\nnpm ERR! Missing: create-require@1.1.1 from lock file\nnpm ERR! Missing: v8-compile-cache-lib@3.0.1 from lock file\nnpm ERR! Missing: @jridgewell/trace-mapping@0.3.9 from lock file\nnpm ERR! \nnpm ERR! Clean install a project\nnpm ERR! \nnpm ERR! Usage:\nnpm ERR! npm ci\nnpm ERR! \nnpm ERR! Options:\nnpm ERR! [-S|--save|--no-save|--save-prod|--save-dev|--save-optional|--save-peer|--save-bundle]\nnpm ERR! [-E|--save-exact] [-g|--global]\nnpm ERR! [--install-strategy ] [--legacy-bundling]\nnpm ERR! [--global-style] [--omit [--omit ...]]\nnpm ERR! [--strict-peer-deps] [--no-package-lock] [--foreground-scripts]\nnpm ERR! [--ignore-scripts] [--no-audit] [--no-bin-links] [--no-fund] [--dry-run]\nnpm ERR! [-w|--workspace [-w|--workspace ...]]\nnpm ERR! [-ws|--workspaces] [--include-workspace-root] [--install-links]\nnpm ERR! \nnpm ERR! aliases: clean-install, ic, install-clean, isntall-clean\nnpm ERR! \nnpm ERR! Run \"npm help ci\" for more info\n\nnpm ERR! A complete log of this run can be found in:\nnpm ERR! /www-data-home/.npm/_logs/2023-04-30T05_55_19_811Z-debug-0.log; Error ID: beaf8772"}}
[2023-04-30T05:55:37.662Z] Got source token undefined for region us-central1
Build failed: npm ERR! code EUSAGE
npm ERR!
npm ERR! `npm ci` can only install packages when your package.json and package-lock.json or npm-shrinkwrap.json are in sync. Please update your lock file with `npm install` before continuing.
npm ERR!
npm ERR! Invalid: lock file's ts-node@8.10.2 does not satisfy ts-node@10.9.1
npm ERR! Missing: ts-node@8.10.2 from lock file
npm ERR! Missing: ts-node@8.10.2 from lock file
npm ERR! Missing: diff@4.0.2 from lock file
npm ERR! Missing: source-map-support@0.5.21 from lock file
npm ERR! Missing: @cspotcode/source-map-support@0.8.1 from lock file
npm ERR! Missing: @tsconfig/node10@1.0.9 from lock file
npm ERR! Missing: @tsconfig/node12@1.0.11 from lock file
npm ERR! Missing: @tsconfig/node14@1.0.3 from lock file
npm ERR! Missing: @tsconfig/node16@1.0.3 from lock file
npm ERR! Missing: acorn-walk@8.2.0 from lock file
npm ERR! Missing: create-require@1.1.1 from lock file
npm ERR! Missing: v8-compile-cache-lib@3.0.1 from lock file
npm ERR! Missing: @jridgewell/trace-mapping@0.3.9 from lock file
npm ERR!
npm ERR! Clean install a project
npm ERR!
npm ERR! Usage:
npm ERR! npm ci
npm ERR!
npm ERR! Options:
npm ERR! [-S|--save|--no-save|--save-prod|--save-dev|--save-optional|--save-peer|--save-bundle]
npm ERR! [-E|--save-exact] [-g|--global]
npm ERR! [--install-strategy ] [--legacy-bundling]
npm ERR! [--global-style] [--omit [--omit ...]]
npm ERR! [--strict-peer-deps] [--no-package-lock] [--foreground-scripts]
npm ERR! [--ignore-scripts] [--no-audit] [--no-bin-links] [--no-fund] [--dry-run]
npm ERR! [-w|--workspace [-w|--workspace ...]]
npm ERR! [-ws|--workspaces] [--include-workspace-root] [--install-links]
npm ERR!
npm ERR! aliases: clean-install, ic, install-clean, isntall-clean
npm ERR!
npm ERR! Run "npm help ci" for more info
npm ERR! A complete log of this run can be found in:
npm ERR! /www-data-home/.npm/_logs/2023-04-30T05_55_19_811Z-debug-0.log; Error ID: beaf8772
[2023-04-30T05:55:37.666Z] Total Function Deployment time: 40738
[2023-04-30T05:55:37.666Z] 1 Functions Deployed
[2023-04-30T05:55:37.666Z] 1 Functions Errored
[2023-04-30T05:55:37.666Z] 0 Function Deployments Aborted
[2023-04-30T05:55:37.666Z] Average Function Deployment time: 40737
Functions deploy had errors with the following functions:
server(us-central1)
[2023-04-30T05:55:37.820Z] Not printing URL for HTTPS function. Typically this means it didn't match a filter or we failed deployment
i functions: cleaning up build files...
[2023-04-30T05:55:37.821Z] >>> [apiv2][query] DELETE https://artifactregistry.googleapis.com/v1beta2/projects/titsuki-studio/locations/us-central1/repositories/gcf-artifacts/packages/server [none]
[2023-04-30T05:55:37.821Z] >>> [apiv2][query] GET https://us.gcr.io/v2/titsuki-studio/gcf/us-central1/tags/list [none]
[2023-04-30T05:55:38.179Z] <<< [apiv2][status] GET https://us.gcr.io/v2/titsuki-studio/gcf/us-central1/tags/list 200
[2023-04-30T05:55:38.180Z] <<< [apiv2][body] GET https://us.gcr.io/v2/titsuki-studio/gcf/us-central1/tags/list {"child":[],"manifest":{},"name":"titsuki-studio/gcf/us-central1","tags":[]}
[2023-04-30T05:55:38.180Z] Could not find image for function projects/titsuki-studio/locations/us-central1/functions/server
[2023-04-30T05:55:38.948Z] <<< [apiv2][status] DELETE https://artifactregistry.googleapis.com/v1beta2/projects/titsuki-studio/locations/us-central1/repositories/gcf-artifacts/packages/server 404
[2023-04-30T05:55:38.949Z] <<< [apiv2][body] DELETE https://artifactregistry.googleapis.com/v1beta2/projects/titsuki-studio/locations/us-central1/repositories/gcf-artifacts/packages/server {"error":{"code":404,"message":"Package \"projects/titsuki-studio/locations/us-central1/repositories/gcf-artifacts/packages/server\" was not found.","status":"NOT_FOUND"}}
[2023-04-30T05:55:38.949Z] Functions deploy failed.
[2023-04-30T05:55:38.949Z] {
"endpoint": {
"id": "server",
"project": "titsuki-studio",
"region": "us-central1",
"entryPoint": "server",
"platform": "gcfv1",
"runtime": "nodejs18",
"httpsTrigger": {},
"serviceAccount": null,
"ingressSettings": null,
"availableMemoryMb": null,
"timeoutSeconds": null,
"maxInstances": null,
"minInstances": null,
"vpc": null,
"environmentVariables": {
"FIREBASE_CONFIG": "{\"projectId\":\"titsuki-studio\",\"storageBucket\":\"titsuki-studio.appspot.com\"}",
"GCLOUD_PROJECT": "titsuki-studio",
"EVENTARC_CLOUD_EVENT_SOURCE": "projects/titsuki-studio/locations/us-central1/functions/server"
},
"codebase": "default",
"targetedByOnly": false,
"hash": "aaede689c5c0f253dcfe5c7c964febf75cd23e1a",
"labels": {
"deployment-tool": "cli-firebase"
}
},
"op": "create",
"original": {
"name": "FirebaseError",
"children": [],
"exit": 1,
"message": "Build failed: npm ERR! code EUSAGE\nnpm ERR! \nnpm ERR! `npm ci` can only install packages when your package.json and package-lock.json or npm-shrinkwrap.json are in sync. Please update your lock file with `npm install` before continuing.\nnpm ERR! \nnpm ERR! Invalid: lock file's ts-node@8.10.2 does not satisfy ts-node@10.9.1\nnpm ERR! Missing: ts-node@8.10.2 from lock file\nnpm ERR! Missing: ts-node@8.10.2 from lock file\nnpm ERR! Missing: diff@4.0.2 from lock file\nnpm ERR! Missing: source-map-support@0.5.21 from lock file\nnpm ERR! Missing: @cspotcode/source-map-support@0.8.1 from lock file\nnpm ERR! Missing: @tsconfig/node10@1.0.9 from lock file\nnpm ERR! Missing: @tsconfig/node12@1.0.11 from lock file\nnpm ERR! Missing: @tsconfig/node14@1.0.3 from lock file\nnpm ERR! Missing: @tsconfig/node16@1.0.3 from lock file\nnpm ERR! Missing: acorn-walk@8.2.0 from lock file\nnpm ERR! Missing: create-require@1.1.1 from lock file\nnpm ERR! Missing: v8-compile-cache-lib@3.0.1 from lock file\nnpm ERR! Missing: @jridgewell/trace-mapping@0.3.9 from lock file\nnpm ERR! \nnpm ERR! Clean install a project\nnpm ERR! \nnpm ERR! Usage:\nnpm ERR! npm ci\nnpm ERR! \nnpm ERR! Options:\nnpm ERR! [-S|--save|--no-save|--save-prod|--save-dev|--save-optional|--save-peer|--save-bundle]\nnpm ERR! [-E|--save-exact] [-g|--global]\nnpm ERR! [--install-strategy ] [--legacy-bundling]\nnpm ERR! [--global-style] [--omit [--omit ...]]\nnpm ERR! [--strict-peer-deps] [--no-package-lock] [--foreground-scripts]\nnpm ERR! [--ignore-scripts] [--no-audit] [--no-bin-links] [--no-fund] [--dry-run]\nnpm ERR! [-w|--workspace [-w|--workspace ...]]\nnpm ERR! [-ws|--workspaces] [--include-workspace-root] [--install-links]\nnpm ERR! \nnpm ERR! aliases: clean-install, ic, install-clean, isntall-clean\nnpm ERR! \nnpm ERR! Run \"npm help ci\" for more info\n\nnpm ERR! A complete log of this run can be found in:\nnpm ERR! /www-data-home/.npm/_logs/2023-04-30T05_55_19_811Z-debug-0.log; Error ID: beaf8772",
"status": 3
}
}
[2023-04-30T05:55:39.069Z] Error: Failed to create function server in region us-central1
at /home/itoyota/node-v18.16.0-linux-x64/lib/node_modules/firebase-tools/lib/deploy/functions/release/fabricator.js:48:11
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Fabricator.createV1Function (/home/itoyota/node-v18.16.0-linux-x64/lib/node_modules/firebase-tools/lib/deploy/functions/release/fabricator.js:177:32)
at async Fabricator.createEndpoint (/home/itoyota/node-v18.16.0-linux-x64/lib/node_modules/firebase-tools/lib/deploy/functions/release/fabricator.js:129:13)
at async handle (/home/itoyota/node-v18.16.0-linux-x64/lib/node_modules/firebase-tools/lib/deploy/functions/release/fabricator.js:85:17)
Error: There was an error deploying functions
```
Second run: https://gist.github.com/titsuki/64a1aaadc47cc603a1d19972ebbd7b24
Contributor guide
Assessment
This issue has not been assessed yet.