firebase-tools
firebase-tools copied to clipboard
Firebase CLI hangs when setting up Github Action Script on firebase init for hosting
[REQUIRED] Environment info
10.4.2firebase-tools:
WindowsPlatform:
[REQUIRED] Test case
[REQUIRED] Steps to reproduce
- firebase init
- check both hosting options, hit enter
- select existing project
- enter "build" as public directory
- enter "Y" to configure as a single-page app
- enter "Y" to setup automatic builds and deploys with Github
- enter "Y" to overwrite build/index.html
- authorize with Github
- enter my repository url and hit enter
- hangs forever. tried several times.
[REQUIRED] Expected behavior
Complete firebase init with hosting and create a Github Actions for my firebase hosting project.
[REQUIRED] Actual behavior
Hangs after this
Could you please try this again with --debug
? It produces useful log output for the request which you can upload here.
Could you please try this again with
--debug
? It produces useful log output for the request which you can upload here.
[debug] [2022-04-04T04:06:20.493Z] ---------------------------------------------------------------------- [debug] [2022-04-04T04:06:20.494Z] Command: C:\Program Files\nodejs\node.exe C:\Users\Charlie\AppData\Roaming\npm\node_modules\firebase-tools\lib\bin\firebase.js init --debug [debug] [2022-04-04T04:06:20.494Z] CLI Version: 10.5.0 [debug] [2022-04-04T04:06:20.495Z] Platform: win32 [debug] [2022-04-04T04:06:20.495Z] Node Version: v16.14.2 [debug] [2022-04-04T04:06:20.495Z] Time: Sun Apr 03 2022 21:06:20 GMT-0700 (Pacific Daylight Time) [debug] [2022-04-04T04:06:20.495Z] ---------------------------------------------------------------------- [debug] [debug] [2022-04-04T04:06:20.500Z] > 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] [2022-04-04T04:06:20.501Z] > authorizing via signed-in user ([email protected]) [info] ######## #### ######## ######## ######## ### ###### ######## ## ## ## ## ## ## ## ## ## ## ## ###### ## ######## ###### ######## ######### ###### ###### ## ## ## ## ## ## ## ## ## ## ## ## #### ## ## ######## ######## ## ## ###### ########
You're about to initialize a Firebase project in this directory:
D:\Projects\fortune-seekers-game
[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] [2022-04-04T04:06:26.838Z] >>> [apiv2][query] GET https://firebase.googleapis.com/v1beta1/projects pageSize=100
[debug] [2022-04-04T04:06:27.277Z] <<< [apiv2][status] GET https://firebase.googleapis.com/v1beta1/projects 200
[debug] [2022-04-04T04:06:27.277Z] <<< [apiv2][body] GET https://firebase.googleapis.com/v1beta1/projects [omitted]
[info] i Using project fortune-seekers-game (Fortune Seekers Game)
[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] [2022-04-04T04:06:34.525Z] >>> [apiv2][query] GET https://www.gstatic.com/firebasejs/releases.json [none]
[debug] [2022-04-04T04:06:34.785Z] <<< [apiv2][status] GET https://www.gstatic.com/firebasejs/releases.json 200
[debug] [2022-04-04T04:06:34.786Z] <<< [apiv2][body] GET https://www.gstatic.com/firebasejs/releases.json {"current":{"version":"9.6.10","browserURL":"https://www.gstatic.com/firebasejs/9.6.10/firebase.js","packageURL":"https://www.gstatic.com/firebasejs/9.6.10/firebase.tgz"},"live":{"version":"9.6","browserURL":"https://www.gstatic.com/firebasejs/live/9.6/firebase.js","packageURL":"https://www.gstatic.com/firebasejs/live/9.6/firebase.tgz"},"components":{"analytics":"https://www.gstatic.com/firebasejs/9.6.10/firebase-analytics.js","app":"https://www.gstatic.com/firebasejs/9.6.10/firebase-app.js","app-check":"https://www.gstatic.com/firebasejs/9.6.10/firebase-app-check.js","auth":"https://www.gstatic.com/firebasejs/9.6.10/firebase-auth.js","auth/cordova":"https://www.gstatic.com/firebasejs/9.6.10/firebase-auth/cordova.js","auth/react-native":"https://www.gstatic.com/firebasejs/9.6.10/firebase-auth/react-native.js","functions":"https://www.gstatic.com/firebasejs/9.6.10/firebase-functions.js","firestore":"https://www.gstatic.com/firebasejs/9.6.10/firebase-firestore.js","firestore/lite":"https://www.gstatic.com/firebasejs/9.6.10/firebase-firestore/lite.js","storage":"https://www.gstatic.com/firebasejs/9.6.10/firebase-storage.js","performance":"https://www.gstatic.com/firebasejs/9.6.10/firebase-performance.js","remote-config":"https://www.gstatic.com/firebasejs/9.6.10/firebase-remote-config.js","messaging":"https://www.gstatic.com/firebasejs/9.6.10/firebase-messaging.js","messaging/sw":"https://www.gstatic.com/firebasejs/9.6.10/firebase-messaging/sw.js","database":"https://www.gstatic.com/firebasejs/9.6.10/firebase-database.js","firestore.memory":"https://www.gstatic.com/firebasejs/9.6.10/firebase-firestore.memory.js"}}
[info] + Wrote build/index.html
[info]
[info] i Detected a .git folder at D:\Projects\fortune-seekers-game
[info] i Authorizing with GitHub to upload your service account to a GitHub repository's secrets store.
[info]
[info] Visit this URL on this device to log in:
[info] https://github.com/login/oauth/authorize?client_id=89cf50f02ac6aaed3484&state=359029826&redirect_uri=http%3A%2F%2Flocalhost%3A9005&scope=read%3Auser%20repo%20public_repo
[info]
[info] Waiting for authentication...
[debug] [2022-04-04T04:06:37.045Z] >>> HTTP REQUEST POST https://github.com/login/oauth/access_token
{"client_id":"89cf50f02ac6aaed3484","client_secret":"------------------","code":"777e8eb3f61ca7d8099b","redirect_uri":"http://localhost:9005","state":"359029826"}
[debug] [2022-04-04T04:06:37.320Z] <<< HTTP RESPONSE 200 {"server":"GitHub.com","date":"Mon, 04 Apr 2022 04:06:38 GMT","content-type":"application/json; charset=utf-8","transfer-encoding":"chunked","vary":"X-PJAX, X-PJAX-Container, Accept-Encoding, Accept, X-Requested-With","permissions-policy":"interest-cohort=()","etag":"W/"1dafe0acd223be2b70661d59caf2b812"","cache-control":"max-age=0, private, must-revalidate","strict-transport-security":"max-age=31536000; includeSubdomains; preload","x-frame-options":"deny","x-content-type-options":"nosniff","x-xss-protection":"0","referrer-policy":"origin-when-cross-origin, strict-origin-when-cross-origin","expect-ct":"max-age=2592000, report-uri="https://api.github.com/_private/browser/errors"","content-security-policy":"default-src 'none'; base-uri 'self'; block-all-mixed-content; child-src github.com/assets-cdn/worker/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com objects-origin.githubusercontent.com www.githubstatus.com collector.githubapp.com collector.github.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com cdn.optimizely.com logx.optimizely.com/v1/events translator.github.com .actions.githubusercontent.com wss://.actions.githubusercontent.com online.visualstudio.com/api/v1/locations raw.githubusercontent.com github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src render.githubusercontent.com viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: github.githubassets.com identicons.github.com collector.githubapp.com collector.github.com github-cloud.s3.amazonaws.com secured-user-images.githubusercontent.com/ *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; worker-src github.com/assets-cdn/worker/ gist.github.com/assets-cdn/worker/","x-github-request-id":"D04D:0E91:B2412A:DD5909:624A6ECE"}
[debug] [2022-04-04T04:06:37.323Z] >>> [apiv2][query] GET https://api.github.com/user [none]
[debug] [2022-04-04T04:06:37.613Z] <<< [apiv2][status] GET https://api.github.com/user 200
[debug] [2022-04-04T04:06:37.613Z] <<< [apiv2][body] GET https://api.github.com/user {"login":"hwale","id":9906964,"node_id":"MDQ6VXNlcjk5MDY5NjQ=","avatar_url":"https://avatars.githubusercontent.com/u/9906964?v=4","gravatar_id":"","url":"https://api.github.com/users/hwale","html_url":"https://github.com/hwale","followers_url":"https://api.github.com/users/hwale/followers","following_url":"https://api.github.com/users/hwale/following{/other_user}","gists_url":"https://api.github.com/users/hwale/gists{/gist_id}","starred_url":"https://api.github.com/users/hwale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hwale/subscriptions","organizations_url":"https://api.github.com/users/hwale/orgs","repos_url":"https://api.github.com/users/hwale/repos","events_url":"https://api.github.com/users/hwale/events{/privacy}","received_events_url":"https://api.github.com/users/hwale/received_events","type":"User","site_admin":false,"name":"Charlie Park","company":null,"blog":"","location":null,"email":null,"hireable":null,"bio":null,"twitter_username":null,"public_repos":10,"public_gists":0,"followers":5,"following":6,"created_at":"2014-11-22T23:45:01Z","updated_at":"2022-03-24T21:05:27Z","private_gists":2,"total_private_repos":6,"owned_private_repos":6,"disk_usage":17092,"collaborators":1,"two_factor_authentication":true,"plan":{"name":"free","space":976562499,"collaborators":0,"private_repos":10000}}
[info]
[info] + Success! Logged into GitHub as hwale
[info]
[debug] [2022-04-04T04:06:46.556Z] >>> [apiv2][query] GET https://api.github.com/repos/hwale/fortune-seekers-game/actions/secrets/public-key type=owner
[debug] [2022-04-04T04:06:46.802Z] <<< [apiv2][status] GET https://api.github.com/repos/hwale/fortune-seekers-game/actions/secrets/public-key 200
[debug] [2022-04-04T04:06:46.802Z] <<< [apiv2][body] GET https://api.github.com/repos/hwale/fortune-seekers-game/actions/secrets/public-key {"key_id":"568250167242549743","key":"eePV5SoL+TzmFxaE+so27WEVwEFmcKkmowRw5moPfSY="}
[debug] [2022-04-04T04:06:46.804Z] >>> [apiv2][query] GET https://api.github.com/repos/hwale/fortune-seekers-game [none]
[debug] [2022-04-04T04:06:47.063Z] <<< [apiv2][status] GET https://api.github.com/repos/hwale/fortune-seekers-game 200
[debug] [2022-04-04T04:06:47.063Z] <<< [apiv2][body] GET https://api.github.com/repos/hwale/fortune-seekers-game {"id":477540878,"node_id":"R_kgDOHHayDg","name":"fortune-seekers-game","full_name":"hwale/fortune-seekers-game","private":false,"owner":{"login":"hwale","id":9906964,"node_id":"MDQ6VXNlcjk5MDY5NjQ=","avatar_url":"https://avatars.githubusercontent.com/u/9906964?v=4","gravatar_id":"","url":"https://api.github.com/users/hwale","html_url":"https://github.com/hwale","followers_url":"https://api.github.com/users/hwale/followers","following_url":"https://api.github.com/users/hwale/following{/other_user}","gists_url":"https://api.github.com/users/hwale/gists{/gist_id}","starred_url":"https://api.github.com/users/hwale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hwale/subscriptions","organizations_url":"https://api.github.com/users/hwale/orgs","repos_url":"https://api.github.com/users/hwale/repos","events_url":"https://api.github.com/users/hwale/events{/privacy}","received_events_url":"https://api.github.com/users/hwale/received_events","type":"User","site_admin":false},"html_url":"https://github.com/hwale/fortune-seekers-game","description":null,"fork":false,"url":"https://api.github.com/repos/hwale/fortune-seekers-game","forks_url":"https://api.github.com/repos/hwale/fortune-seekers-game/forks","keys_url":"https://api.github.com/repos/hwale/fortune-seekers-game/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hwale/fortune-seekers-game/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hwale/fortune-seekers-game/teams","hooks_url":"https://api.github.com/repos/hwale/fortune-seekers-game/hooks","issue_events_url":"https://api.github.com/repos/hwale/fortune-seekers-game/issues/events{/number}","events_url":"https://api.github.com/repos/hwale/fortune-seekers-game/events","assignees_url":"https://api.github.com/repos/hwale/fortune-seekers-game/assignees{/user}","branches_url":"https://api.github.com/repos/hwale/fortune-seekers-game/branches{/branch}","tags_url":"https://api.github.com/repos/hwale/fortune-seekers-game/tags","blobs_url":"https://api.github.com/repos/hwale/fortune-seekers-game/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hwale/fortune-seekers-game/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hwale/fortune-seekers-game/git/refs{/sha}","trees_url":"https://api.github.com/repos/hwale/fortune-seekers-game/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hwale/fortune-seekers-game/statuses/{sha}","languages_url":"https://api.github.com/repos/hwale/fortune-seekers-game/languages","stargazers_url":"https://api.github.com/repos/hwale/fortune-seekers-game/stargazers","contributors_url":"https://api.github.com/repos/hwale/fortune-seekers-game/contributors","subscribers_url":"https://api.github.com/repos/hwale/fortune-seekers-game/subscribers","subscription_url":"https://api.github.com/repos/hwale/fortune-seekers-game/subscription","commits_url":"https://api.github.com/repos/hwale/fortune-seekers-game/commits{/sha}","git_commits_url":"https://api.github.com/repos/hwale/fortune-seekers-game/git/commits{/sha}","comments_url":"https://api.github.com/repos/hwale/fortune-seekers-game/comments{/number}","issue_comment_url":"https://api.github.com/repos/hwale/fortune-seekers-game/issues/comments{/number}","contents_url":"https://api.github.com/repos/hwale/fortune-seekers-game/contents/{+path}","compare_url":"https://api.github.com/repos/hwale/fortune-seekers-game/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hwale/fortune-seekers-game/merges","archive_url":"https://api.github.com/repos/hwale/fortune-seekers-game/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hwale/fortune-seekers-game/downloads","issues_url":"https://api.github.com/repos/hwale/fortune-seekers-game/issues{/number}","pulls_url":"https://api.github.com/repos/hwale/fortune-seekers-game/pulls{/number}","milestones_url":"https://api.github.com/repos/hwale/fortune-seekers-game/milestones{/number}","notifications_url":"https://api.github.com/repos/hwale/fortune-seekers-game/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hwale/fortune-seekers-game/labels{/name}","releases_url":"https://api.github.com/repos/hwale/fortune-seekers-game/releases{/id}","deployments_url":"https://api.github.com/repos/hwale/fortune-seekers-game/deployments","created_at":"2022-04-04T03:48:52Z","updated_at":"2022-04-04T03:52:54Z","pushed_at":"2022-04-04T03:52:51Z","git_url":"git://github.com/hwale/fortune-seekers-game.git","ssh_url":"[email protected]:hwale/fortune-seekers-game.git","clone_url":"https://github.com/hwale/fortune-seekers-game.git","svn_url":"https://github.com/hwale/fortune-seekers-game","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":null,"allow_forking":true,"is_template":false,"topics":[],"visibility":"public","forks":0,"open_issues":0,"watchers":0,"default_branch":"main","permissions":{"admin":true,"maintain":true,"push":true,"triage":true,"pull":true},"temp_clone_token":"","allow_squash_merge":true,"allow_merge_commit":true,"allow_rebase_merge":true,"allow_auto_merge":false,"delete_branch_on_merge":false,"allow_update_branch":false,"network_count":0,"subscribers_count":1}
[debug] [2022-04-04T04:06:47.065Z] >>> [apiv2][query] POST https://iam.googleapis.com/v1/projects/fortune-seekers-game/serviceAccounts [none]
[debug] [2022-04-04T04:06:47.065Z] >>> [apiv2][body] POST https://iam.googleapis.com/v1/projects/fortune-seekers-game/serviceAccounts {"accountId":"github-action-477540878","serviceAccount":{"displayName":"GitHub Actions (hwale/fortune-seekers-game)","description":"A service account with permission to deploy to Firebase Hosting for the GitHub repository hwale/fortune-seekers-game"}}
[debug] [2022-04-04T04:06:47.510Z] <<< [apiv2][status] POST https://iam.googleapis.com/v1/projects/fortune-seekers-game/serviceAccounts 409
[debug] [2022-04-04T04:06:47.510Z] <<< [apiv2][body] POST https://iam.googleapis.com/v1/projects/fortune-seekers-game/serviceAccounts {"error":{"code":409,"message":"Service account github-action-477540878 already exists within project projects/fortune-seekers-game.","status":"ALREADY_EXISTS","details":[{"@type":"type.googleapis.com/google.rpc.ResourceInfo","resourceName":"projects/fortune-seekers-game/serviceAccounts/github-action-477540878@fortune-seekers-game.iam.gserviceaccount.com"}]}}
[debug] [2022-04-04T04:06:47.511Z] >>> [apiv2][query] GET https://iam.googleapis.com/v1/projects/fortune-seekers-game/serviceAccounts/github-action-477540878@fortune-seekers-game.iam.gserviceaccount.com [none]
[debug] [2022-04-04T04:06:47.512Z] >>> [apiv2][query] POST https://cloudresourcemanager.googleapis.com/v1/projects/fortune-seekers-game:getIamPolicy [none]
[debug] [2022-04-04T04:06:47.769Z] <<< [apiv2][status] GET https://iam.googleapis.com/v1/projects/fortune-seekers-game/serviceAccounts/github-action-477540878@fortune-seekers-game.iam.gserviceaccount.com 200
[debug] [2022-04-04T04:06:47.770Z] <<< [apiv2][body] GET https://iam.googleapis.com/v1/projects/fortune-seekers-game/serviceAccounts/github-action-477540878@fortune-seekers-game.iam.gserviceaccount.com {"name":"projects/fortune-seekers-game/serviceAccounts/github-action-477540878@fortune-seekers-game.iam.gserviceaccount.com","projectId":"fortune-seekers-game","uniqueId":"103490004753497024879","email":"github-action-477540878@fortune-seekers-game.iam.gserviceaccount.com","displayName":"GitHub Actions (hwale/fortune-seekers-game)","etag":"MDEwMjE5MjA=","description":"A service account with permission to deploy to Firebase Hosting for the GitHub repository hwale/fortune-seekers-game","oauth2ClientId":"103490004753497024879"}
[debug] [2022-04-04T04:06:47.774Z] <<< [apiv2][status] POST https://cloudresourcemanager.googleapis.com/v1/projects/fortune-seekers-game:getIamPolicy 200
[debug] [2022-04-04T04:06:47.774Z] <<< [apiv2][body] POST https://cloudresourcemanager.googleapis.com/v1/projects/fortune-seekers-game:getIamPolicy {"version":1,"etag":"BwXbzBy/6RI=","bindings":[{"role":"roles/firebase.managementServiceAgent","members":["serviceAccount:firebase-service-account@firebase-sa-management.iam.gserviceaccount.com","serviceAccount:[email protected]"]},{"role":"roles/firebase.sdkAdminServiceAgent","members":["serviceAccount:firebase-adminsdk-k1ej9@fortune-seekers-game.iam.gserviceaccount.com"]},{"role":"roles/firebaseauth.admin","members":["serviceAccount:github-action-477540878@fortune-seekers-game.iam.gserviceaccount.com"]},{"role":"roles/firebasehosting.admin","members":["serviceAccount:github-action-477540878@fortune-seekers-game.iam.gserviceaccount.com"]},{"role":"roles/firebaserules.system","members":["serviceAccount:[email protected]"]},{"role":"roles/iam.serviceAccountTokenCreator","members":["serviceAccount:firebase-adminsdk-k1ej9@fortune-seekers-game.iam.gserviceaccount.com"]},{"role":"roles/owner","members":["user:[email protected]"]},{"role":"roles/pubsub.serviceAgent","members":["serviceAccount:[email protected]"]},{"role":"roles/run.viewer","members":["serviceAccount:github-action-477540878@fortune-seekers-game.iam.gserviceaccount.com"]},{"role":"roles/serviceusage.apiKeysViewer","members":["serviceAccount:github-action-477540878@fortune-seekers-game.iam.gserviceaccount.com"]}]}
[debug] [2022-04-04T04:06:47.775Z] >>> [apiv2][query] POST https://cloudresourcemanager.googleapis.com/v1/projects/fortune-seekers-game:setIamPolicy [none]
[debug] [2022-04-04T04:06:47.775Z] >>> [apiv2][body] POST https://cloudresourcemanager.googleapis.com/v1/projects/fortune-seekers-game:setIamPolicy {"policy":{"version":1,"etag":"BwXbzBy/6RI=","bindings":[{"role":"roles/firebase.managementServiceAgent","members":["serviceAccount:firebase-service-account@firebase-sa-management.iam.gserviceaccount.com","serviceAccount:[email protected]"]},{"role":"roles/firebase.sdkAdminServiceAgent","members":["serviceAccount:firebase-adminsdk-k1ej9@fortune-seekers-game.iam.gserviceaccount.com"]},{"role":"roles/firebaseauth.admin","members":["serviceAccount:github-action-477540878@fortune-seekers-game.iam.gserviceaccount.com"]},{"role":"roles/firebasehosting.admin","members":["serviceAccount:github-action-477540878@fortune-seekers-game.iam.gserviceaccount.com"]},{"role":"roles/firebaserules.system","members":["serviceAccount:[email protected]"]},{"role":"roles/iam.serviceAccountTokenCreator","members":["serviceAccount:firebase-adminsdk-k1ej9@fortune-seekers-game.iam.gserviceaccount.com"]},{"role":"roles/owner","members":["user:[email protected]"]},{"role":"roles/pubsub.serviceAgent","members":["serviceAccount:[email protected]"]},{"role":"roles/run.viewer","members":["serviceAccount:github-action-477540878@fortune-seekers-game.iam.gserviceaccount.com"]},{"role":"roles/serviceusage.apiKeysViewer","members":["serviceAccount:github-action-477540878@fortune-seekers-game.iam.gserviceaccount.com"]}]},"updateMask":"bindings"}
[debug] [2022-04-04T04:06:48.410Z] <<< [apiv2][status] POST https://cloudresourcemanager.googleapis.com/v1/projects/fortune-seekers-game:setIamPolicy 200
[debug] [2022-04-04T04:06:48.410Z] <<< [apiv2][body] POST https://cloudresourcemanager.googleapis.com/v1/projects/fortune-seekers-game:setIamPolicy {"version":1,"etag":"BwXbzEHwjis=","bindings":[{"role":"roles/firebase.managementServiceAgent","members":["serviceAccount:firebase-service-account@firebase-sa-management.iam.gserviceaccount.com","serviceAccount:[email protected]"]},{"role":"roles/firebase.sdkAdminServiceAgent","members":["serviceAccount:firebase-adminsdk-k1ej9@fortune-seekers-game.iam.gserviceaccount.com"]},{"role":"roles/firebaseauth.admin","members":["serviceAccount:github-action-477540878@fortune-seekers-game.iam.gserviceaccount.com"]},{"role":"roles/firebasehosting.admin","members":["serviceAccount:github-action-477540878@fortune-seekers-game.iam.gserviceaccount.com"]},{"role":"roles/firebaserules.system","members":["serviceAccount:[email protected]"]},{"role":"roles/iam.serviceAccountTokenCreator","members":["serviceAccount:firebase-adminsdk-k1ej9@fortune-seekers-game.iam.gserviceaccount.com"]},{"role":"roles/owner","members":["user:[email protected]"]},{"role":"roles/pubsub.serviceAgent","members":["serviceAccount:[email protected]"]},{"role":"roles/run.viewer","members":["serviceAccount:github-action-477540878@fortune-seekers-game.iam.gserviceaccount.com"]},{"role":"roles/serviceusage.apiKeysViewer","members":["serviceAccount:github-action-477540878@fortune-seekers-game.iam.gserviceaccount.com"]}]}
[debug] [2022-04-04T04:06:48.411Z] >>> [apiv2][query] POST https://iam.googleapis.com/v1/projects/fortune-seekers-game/serviceAccounts/github-action-477540878@fortune-seekers-game.iam.gserviceaccount.com/keys [none]
[debug] [2022-04-04T04:06:48.411Z] >>> [apiv2][body] POST https://iam.googleapis.com/v1/projects/fortune-seekers-game/serviceAccounts/github-action-477540878@fortune-seekers-game.iam.gserviceaccount.com/keys {"keyAlgorithm":"KEY_ALG_UNSPECIFIED","privateKeyType":"TYPE_GOOGLE_CREDENTIALS_FILE"}
[debug] [2022-04-04T04:06:49.049Z] <<< [apiv2][status] POST https://iam.googleapis.com/v1/projects/fortune-seekers-game/serviceAccounts/github-action-477540878@fortune-seekers-game.iam.gserviceaccount.com/keys 200
[debug] [2022-04-04T04:06:49.050Z] <<< [apiv2][body] POST https://iam.googleapis.com/v1/projects/fortune-seekers-game/serviceAccounts/github-action-477540878@fortune-seekers-game.iam.gserviceaccount.com/keys {"name":"projects/fortune-seekers-game/serviceAccounts/github-action-477540878@fortune-seekers-game.iam.gserviceaccount.com/keys/98a7559fde405d49a0b0c40b27c1ed8158076930","privateKeyType":"TYPE_GOOGLE_CREDENTIALS_FILE","privateKeyData":"------------","validAfterTime":"2022-04-04T04:06:50Z","validBeforeTime":"9999-12-31T23:59:59Z","keyAlgorithm":"KEY_ALG_RSA_2048","keyOrigin":"GOOGLE_PROVIDED","keyType":"USER_MANAGED"}
[info]
[info] + Created service account github-action-477540878 with Firebase Hosting admin permissions.
[debug] [2022-04-04T04:06:49.065Z] >>> [apiv2][query] PUT https://api.github.com/repos/hwale/fortune-seekers-game/actions/secrets/FIREBASE_SERVICE_ACCOUNT_FORTUNE_SEEKERS_GAME [none]
[debug] [2022-04-04T04:06:49.065Z] >>> [apiv2][body] PUT https://api.github.com/repos/hwale/fortune-seekers-game/actions/secrets/FIREBASE_SERVICE_ACCOUNT_FORTUNE_SEEKERS_GAME {"encrypted_value":"lsQpUVhkaEyaPl0XDt42pq6BFAznxyk+zw974TAadAcna1W2ELNvvC9e30D9eweUcWpYyMQSCshho32/jeMnjzQL2FuIfFNZ+Hoe+KP3KxfjSlOr7hudsm/PyN+/xqjWJ6DX9tKUkUCrcTswCc2ejXtTnO3d4Q0rVmjU5VsPt1YCGdis2Cy/3oDdMEzEgOVHttxbMqnrzdM4AYETu3hnbd2+cfNhVruhFJWRuE1aHxZjAnyXpT7RhqosqxDIwSc7UxlpwqwS9C8mEQAnewmhEskDR68HTe5EXe07hNK44KYN7b0YFKLydMsdEn3ELCZ1Ju2nkUQDf9YPlVHng18mITZ6Onno652yTlp1cxWiTjhdTHtP+2VVLCZid7Y+vT1rj8n8pyEJxExe3oLUoERblmqFM37OjReGwiQTIj7a6oj5pw3ZOhRGvJAy2fwrlfQA9BRlZjeHQYpD/BFstw039vqC2ApSIIOzHg50QgtQY5t4cH7V1cmlfQV567xApPg7VZbIZ+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1QPMasADpmc9UJ5qkYmFI40w9T4g6YSR46VQMMr5kHa1sf1kfcOCKQ4yqjZjL8q1F1wgxTANWbVEZj6npoF7FmnACWIqKYh0qBIQ/T3HsiwDmd5YL5Px5SKnLFM0nVewKyFzNhIVgL6WAbLRLhstodZILLjJeOUZhKUzRFpkELTo6FL+r306eYrcaGzOV4WzAGuJUZnPqpFIilcJeqG2KOwgNXPoX0gj/w9Vp4jV2CLJAzBSpgkaIEmddrkNhnNmzLDW+ekp2e6Pp+0vyXx8pv0f7hmMfxyxLDRoOjRhz7wIvoVrdrHZgCoeOc7xjzCgXQMiBmnmEPBkEQatM5xuKILisaGLP/6sYO6Z+ki8Frms5FWD2yKb9TBMp+8tz4pgQ2KGuvakbwtpPAoRHVEH29I/58BwLAShrOGZM7ha5WzcugKjB5B4wmja3FFktRPNPmJ2YVx3z8VejyQCaa59NjbNZQUcq4j0vaiVDjaeOMjDO9wnascLXI3Np5X4BcLnsFZ/guVxCgSiWM1S","key_id":"568250167242549743"}
[debug] [2022-04-04T04:06:49.373Z] <<< [apiv2][status] PUT https://api.github.com/repos/hwale/fortune-seekers-game/actions/secrets/FIREBASE_SERVICE_ACCOUNT_FORTUNE_SEEKERS_GAME 204
[debug] [2022-04-04T04:06:49.373Z] <<< [apiv2][body] PUT https://api.github.com/repos/hwale/fortune-seekers-game/actions/secrets/FIREBASE_SERVICE_ACCOUNT_FORTUNE_SEEKERS_GAME undefined
[info] + Uploaded service account JSON to GitHub as secret FIREBASE_SERVICE_ACCOUNT_FORTUNE_SEEKERS_GAME.
[info] i You can manage your secrets at https://github.com/hwale/fortune-seekers-game/settings/secrets.
[info]
It hangs after this.
Heya, this seems to still be an issue with the current latest version of the cli. I'm encountering this issue on Windows 11 with a fresh install of the latest nvm (as recommended by the docs) and Node v16.17.0. The cli is getting stuck in the same place as @hwale is experiencing. Further details below:
Environment info:
- Windows 11 Pro
- Version - 21H2
- OS build - 22000.856
- nvm
- v1.1.9
- using Node LTS (currently v16.17.0)
firebase-debug.log snippet:
[debug] [2022-09-16T12:55:28.209Z] ---------------------------------------------------------------------- [debug] [2022-09-16T12:55:28.210Z] Command: C:\Program Files\nodejs\node.exe C:\Users\loomy\AppData\Roaming\npm\node_modules\firebase-tools\lib\bin\firebase.js init hosting [debug] [2022-09-16T12:55:28.211Z] CLI Version: 11.9.0 [debug] [2022-09-16T12:55:28.211Z] Platform: win32 [debug] [2022-09-16T12:55:28.211Z] Node Version: v16.17.0 [debug] [2022-09-16T12:55:28.211Z] Time: Fri Sep 16 2022 13:55:28 GMT+0100 (British Summer Time) [debug] [2022-09-16T12:55:28.211Z] ---------------------------------------------------------------------- [debug] [debug] [2022-09-16T12:55:28.218Z] > 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] [2022-09-16T12:55:28.218Z] > authorizing via signed-in user ([email protected]) <...snip content to end of log...> [info] + Created service account github-action-446538207 with Firebase Hosting admin permissions. [debug] [2022-09-16T12:56:07.433Z] >>> [apiv2][query] PUT https://api.github.com/repos/wooffet/nightingaleknits/actions/secrets/FIREBASE_SERVICE_ACCOUNT_NIGHTINGALEKNITS_E66B3 [none] [debug] [2022-09-16T12:56:07.433Z] >>> [apiv2][body] PUT https://api.github.com/repos/wooffet/nightingaleknits/actions/secrets/FIREBASE_SERVICE_ACCOUNT_NIGHTINGALEKNITS_E66B3 {"encrypted_value":"KNflRlxh47yhZ6qPita3ZCyofFVNOndJeydC+X4ACVNDn7i2OQ2wpWpn97QOVqh0RnJyfMmXwFkM5PXtKmkwq8u4vwXQ27B11J3lJo1LD4UTDoCNx1irrkF6SgfxQw+udzbOoyP7njeQtErrW9bSqolrU5BuULT6VvIGZVoUC9goDNZs0Z6j7o5vWER8OvrPr+k6q/PhtS1dJHliibL+4QMkeUExsvBHPmBD3MadZSJ2k+uXBuJXNdVybzSJJC4jB5syFV20Mxf9K0oAhvXKgaTtm/AeY2h8GXF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WTLdYLO2qNjFOPkO3SottUp3+P9s1FMJ25p8mbdFbljfD3F8aGLQ5FrLYVrjNgM+gRyyW/J5pNdNKAo+AT6Uorv0F4fA70tBCvCWCoMYn51TnNKxzZzUnsL59QpXVF+oq1chMTAtpG7netkB0p2Tc6iI67OLCChrrsDX3tlSJJ6BrzSwd7DJQ6NyBjk3+wGP+sxiXBvXS/79fkcQjaOWJUPY4JaB7f4wLDNL0c9I1qb+NPuUWlD7Q5ZJP4cOhmh8+Lf3YHFFlzGFNUoTkY2ZDoDKS32L/w6HuOfNQ9jqWgaJss7LIYSpOxH5OCWwUQ8yJZ7pXxtLOo5CI7c6uatUrO1leCOE93o6XdDNMpz427vnVDGOp6b6DGsmUWJtUV3dy8SBsymuXhcD5OKLlPcFABFqMputzp9LnIvxzzvq3onTnKWhu1wUTyAlup1bkTcjQ+QcE7hhcLK8mdOaqIBrsLsEhWCwUOk6fyHNvX4K5VHXvHkQlxF6vjH724GLJU24mtf+TrUClnD9ZBSoh7DNMW8wkYDrpr4khRDD0HGvF9LQIpX/4yaBw6P2hmnQJ+5f57I/NnANm/wo7atjbHAYkQyZpTQt762IcRl9tPi6X+0oVDDH+oKbaP3M737Q0pSm5zw/jnjsLj7LYCNoxLH1QrA83A+sa6fPp/uOMYwueMsCyAlXmkms9PPQgLWxr341uovnye8lVfimRxRy4A3G0nHG7iy8JQyDjkfLGuQmOAvnIYnaC0uAfn4sxKK5BoXmGZ4gEPk9","key_id":"568250167242549743"} [debug] [2022-09-16T12:56:07.904Z] <<< [apiv2][status] PUT https://api.github.com/repos/wooffet/nightingaleknits/actions/secrets/FIREBASE_SERVICE_ACCOUNT_NIGHTINGALEKNITS_E66B3 204 [debug] [2022-09-16T12:56:07.904Z] <<< [apiv2][body] PUT https://api.github.com/repos/wooffet/nightingaleknits/actions/secrets/FIREBASE_SERVICE_ACCOUNT_NIGHTINGALEKNITS_E66B3 undefined [info] + Uploaded service account JSON to GitHub as secret FIREBASE_SERVICE_ACCOUNT_NIGHTINGALEKNITS_E66B3. [info] i You can manage your secrets at https://github.com/wooffet/nightingaleknits/settings/secrets. [info]
I've attached my full firebase-debug.log to try to keep this comment condensed :) firebase-debug.log
Existing firebase project. firebase init hosting:github
Terminal hangs after providing a value for "What script should be run before every deploy?" npm run build-dev
The logging also hangs; firebase-debug.log ends with: "[info] i You can manage your secrets at ... [info] "
Windows 11 Pro 21H2 22000.1042
Getting this issue as well. Anyone solve?
Same here. Any help?
I also reproduce this issue. On macos.
Debug log shows this is the cause
GET https://api.github.com/repos/[redacted]/actions/secrets/public-key 404
@jhuleatt any progress on this issue?
Same here
Same
any updates on this issue?
Hello! In-case it's helpful for someone, I was facing the same issue and figured out it was because I had no package-lock.json due to using yarn
, not npm
locally. I tried the following command for
"What script should be run before every deploy?": yarn install --frozen-lockfile && yarn build
and it got me past the prompt & allowed me to deploy successful.
Issue still exists. Any workaround or fixes?