From 6808abb8b52bc54427c0a05d9843ea7af530b2d4 Mon Sep 17 00:00:00 2001 From: cjohndesign Date: Tue, 7 Jan 2025 18:40:10 -0500 Subject: [PATCH] DEPLOYED AGAIN --- firebase-debug.log | 78 +++++++++++++++++++ src/app/(auth)/join/page.tsx | 12 ++- src/app/(auth)/login/page.tsx | 4 +- src/app/layout.tsx | 7 +- src/app/page.tsx | 7 +- .../playlists/edit-playlist-dialog.tsx | 6 +- src/contexts/UserProfileContext.tsx | 4 +- 7 files changed, 101 insertions(+), 17 deletions(-) create mode 100644 firebase-debug.log diff --git a/firebase-debug.log b/firebase-debug.log new file mode 100644 index 0000000..b6428dc --- /dev/null +++ b/firebase-debug.log @@ -0,0 +1,78 @@ +[debug] [2025-01-07T23:39:50.548Z] ---------------------------------------------------------------------- +[debug] [2025-01-07T23:39:50.549Z] Command: /usr/local/bin/node /usr/local/bin/firebase deploy +[debug] [2025-01-07T23:39:50.549Z] CLI Version: 13.29.1 +[debug] [2025-01-07T23:39:50.549Z] Platform: darwin +[debug] [2025-01-07T23:39:50.549Z] Node Version: v20.18.0 +[debug] [2025-01-07T23:39:50.549Z] Time: Tue Jan 07 2025 18:39:50 GMT-0500 (Eastern Standard Time) +[debug] [2025-01-07T23:39:50.550Z] ---------------------------------------------------------------------- +[debug] +[debug] [2025-01-07T23:39:50.582Z] Object ".emulators.hosting" in "firebase.json" has unknown property: {"additionalProperty":"source"} +[debug] [2025-01-07T23:39:50.584Z] > 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] [2025-01-07T23:39:50.584Z] > authorizing via signed-in user (cjohndesign@gmail.com) +[debug] [2025-01-07T23:39:50.584Z] [iam] checking project gouda-company for permissions ["cloudconfig.configs.get","cloudconfig.configs.update","cloudfunctions.functions.create","cloudfunctions.functions.delete","cloudfunctions.functions.get","cloudfunctions.functions.list","cloudfunctions.functions.update","cloudfunctions.operations.get","cloudsql.databases.create","cloudsql.databases.update","cloudsql.instances.connect","cloudsql.instances.create","cloudsql.instances.get","cloudsql.instances.list","cloudsql.instances.update","cloudsql.users.create","datastore.indexes.create","datastore.indexes.delete","datastore.indexes.list","datastore.indexes.update","firebase.projects.get","firebasedataconnect.connectors.create","firebasedataconnect.connectors.delete","firebasedataconnect.connectors.list","firebasedataconnect.connectors.update","firebasedataconnect.operations.get","firebasedataconnect.schemas.create","firebasedataconnect.schemas.delete","firebasedataconnect.schemas.list","firebasedataconnect.schemas.update","firebasedataconnect.services.create","firebasedataconnect.services.delete","firebasedataconnect.services.list","firebasedataconnect.services.update","firebasehosting.sites.update","firebaserules.releases.create","firebaserules.releases.update","firebaserules.rulesets.create",null] +[debug] [2025-01-07T23:39:50.584Z] Checked if tokens are valid: false, expires at: 1736292790039 +[debug] [2025-01-07T23:39:50.584Z] Checked if tokens are valid: false, expires at: 1736292790039 +[debug] [2025-01-07T23:39:50.584Z] > refreshing access token with scopes: [] +[debug] [2025-01-07T23:39:50.585Z] >>> [apiv2][query] POST https://www.googleapis.com/oauth2/v3/token [none] +[debug] [2025-01-07T23:39:50.585Z] >>> [apiv2][body] POST https://www.googleapis.com/oauth2/v3/token [omitted] +[debug] [2025-01-07T23:39:50.740Z] <<< [apiv2][status] POST https://www.googleapis.com/oauth2/v3/token 200 +[debug] [2025-01-07T23:39:50.740Z] <<< [apiv2][body] POST https://www.googleapis.com/oauth2/v3/token [omitted] +[debug] [2025-01-07T23:39:50.753Z] >>> [apiv2][query] POST https://cloudresourcemanager.googleapis.com/v1/projects/gouda-company:testIamPermissions [none] +[debug] [2025-01-07T23:39:50.753Z] >>> [apiv2][(partial)header] POST https://cloudresourcemanager.googleapis.com/v1/projects/gouda-company:testIamPermissions x-goog-quota-user=projects/gouda-company +[debug] [2025-01-07T23:39:50.753Z] >>> [apiv2][body] POST https://cloudresourcemanager.googleapis.com/v1/projects/gouda-company:testIamPermissions {"permissions":["cloudconfig.configs.get","cloudconfig.configs.update","cloudfunctions.functions.create","cloudfunctions.functions.delete","cloudfunctions.functions.get","cloudfunctions.functions.list","cloudfunctions.functions.update","cloudfunctions.operations.get","cloudsql.databases.create","cloudsql.databases.update","cloudsql.instances.connect","cloudsql.instances.create","cloudsql.instances.get","cloudsql.instances.list","cloudsql.instances.update","cloudsql.users.create","datastore.indexes.create","datastore.indexes.delete","datastore.indexes.list","datastore.indexes.update","firebase.projects.get","firebasedataconnect.connectors.create","firebasedataconnect.connectors.delete","firebasedataconnect.connectors.list","firebasedataconnect.connectors.update","firebasedataconnect.operations.get","firebasedataconnect.schemas.create","firebasedataconnect.schemas.delete","firebasedataconnect.schemas.list","firebasedataconnect.schemas.update","firebasedataconnect.services.create","firebasedataconnect.services.delete","firebasedataconnect.services.list","firebasedataconnect.services.update","firebasehosting.sites.update","firebaserules.releases.create","firebaserules.releases.update","firebaserules.rulesets.create",null]} +[debug] [2025-01-07T23:39:50.985Z] <<< [apiv2][status] POST https://cloudresourcemanager.googleapis.com/v1/projects/gouda-company:testIamPermissions 200 +[debug] [2025-01-07T23:39:50.985Z] <<< [apiv2][body] POST https://cloudresourcemanager.googleapis.com/v1/projects/gouda-company:testIamPermissions {"permissions":["cloudconfig.configs.get","cloudconfig.configs.update","cloudfunctions.functions.create","cloudfunctions.functions.delete","cloudfunctions.functions.get","cloudfunctions.functions.list","cloudfunctions.functions.update","cloudfunctions.operations.get","cloudsql.databases.create","cloudsql.databases.update","cloudsql.instances.connect","cloudsql.instances.create","cloudsql.instances.get","cloudsql.instances.list","cloudsql.instances.update","cloudsql.users.create","datastore.indexes.create","datastore.indexes.delete","datastore.indexes.list","datastore.indexes.update","firebase.projects.get","firebasedataconnect.connectors.create","firebasedataconnect.connectors.delete","firebasedataconnect.connectors.list","firebasedataconnect.connectors.update","firebasedataconnect.operations.get","firebasedataconnect.schemas.create","firebasedataconnect.schemas.delete","firebasedataconnect.schemas.list","firebasedataconnect.schemas.update","firebasedataconnect.services.create","firebasedataconnect.services.delete","firebasedataconnect.services.list","firebasedataconnect.services.update","firebasehosting.sites.update","firebaserules.releases.create","firebaserules.releases.update","firebaserules.rulesets.create"]} +[debug] [2025-01-07T23:39:50.986Z] [iam] error while checking permissions, command may fail: Authorization failed. This account is missing the following required permissions on project gouda-company: + + +[debug] [2025-01-07T23:39:50.986Z] Checked if tokens are valid: true, expires at: 1736296789740 +[debug] [2025-01-07T23:39:50.986Z] Checked if tokens are valid: true, expires at: 1736296789740 +[debug] [2025-01-07T23:39:50.987Z] >>> [apiv2][query] POST https://iam.googleapis.com/v1/projects/gouda-company/serviceAccounts/gouda-company@appspot.gserviceaccount.com:testIamPermissions [none] +[debug] [2025-01-07T23:39:50.987Z] >>> [apiv2][body] POST https://iam.googleapis.com/v1/projects/gouda-company/serviceAccounts/gouda-company@appspot.gserviceaccount.com:testIamPermissions {"permissions":["iam.serviceAccounts.actAs"]} +[debug] [2025-01-07T23:39:51.202Z] <<< [apiv2][status] POST https://iam.googleapis.com/v1/projects/gouda-company/serviceAccounts/gouda-company@appspot.gserviceaccount.com:testIamPermissions 200 +[debug] [2025-01-07T23:39:51.202Z] <<< [apiv2][body] POST https://iam.googleapis.com/v1/projects/gouda-company/serviceAccounts/gouda-company@appspot.gserviceaccount.com:testIamPermissions {"permissions":["iam.serviceAccounts.actAs"]} +[debug] [2025-01-07T23:39:51.203Z] Checked if tokens are valid: true, expires at: 1736296789740 +[debug] [2025-01-07T23:39:51.203Z] Checked if tokens are valid: true, expires at: 1736296789740 +[debug] [2025-01-07T23:39:51.203Z] >>> [apiv2][query] GET https://firebase.googleapis.com/v1beta1/projects/gouda-company [none] +[debug] [2025-01-07T23:39:51.525Z] <<< [apiv2][status] GET https://firebase.googleapis.com/v1beta1/projects/gouda-company 200 +[debug] [2025-01-07T23:39:51.526Z] <<< [apiv2][body] GET https://firebase.googleapis.com/v1beta1/projects/gouda-company {"projectId":"gouda-company","projectNumber":"694200444660","displayName":"Gouda","name":"projects/gouda-company","resources":{"hostingSite":"gouda-company","storageBucket":"gouda-company.appspot.com","locationId":"us-central"},"state":"ACTIVE","etag":"1_08671e98-1a5e-46a0-b389-4489369e40e2"} +[debug] [2025-01-07T23:39:52.389Z] defaultcredentials: writing to file /Users/cjohndesign/.config/firebase/cjohndesign_gmail_com_application_default_credentials.json +[debug] [2025-01-07T23:39:52.390Z] Checked if tokens are valid: true, expires at: 1736296789740 +[debug] [2025-01-07T23:39:52.390Z] Checked if tokens are valid: true, expires at: 1736296789740 +[debug] [2025-01-07T23:39:52.390Z] >>> [apiv2][query] GET https://firebasehosting.googleapis.com/v1beta1/projects/gouda-company/sites pageToken=&pageSize=10 +[debug] [2025-01-07T23:39:52.836Z] <<< [apiv2][status] GET https://firebasehosting.googleapis.com/v1beta1/projects/gouda-company/sites 200 +[debug] [2025-01-07T23:39:52.836Z] <<< [apiv2][body] GET https://firebasehosting.googleapis.com/v1beta1/projects/gouda-company/sites {"sites":[{"name":"projects/gouda-company/sites/gouda-company","defaultUrl":"https://gouda-company.web.app","appId":"1:694200444660:web:f9ef01bfda90fc63a6a0a1","type":"DEFAULT_SITE"}]} +[debug] [2025-01-07T23:39:52.837Z] Checked if tokens are valid: true, expires at: 1736296789740 +[debug] [2025-01-07T23:39:52.837Z] Checked if tokens are valid: true, expires at: 1736296789740 +[debug] [2025-01-07T23:39:52.837Z] >>> [apiv2][query] GET https://firebase.googleapis.com/v1beta1/projects/-/webApps/1:694200444660:web:f9ef01bfda90fc63a6a0a1/config [none] +[debug] [2025-01-07T23:39:53.407Z] <<< [apiv2][status] GET https://firebase.googleapis.com/v1beta1/projects/-/webApps/1:694200444660:web:f9ef01bfda90fc63a6a0a1/config 200 +[debug] [2025-01-07T23:39:53.407Z] <<< [apiv2][body] GET https://firebase.googleapis.com/v1beta1/projects/-/webApps/1:694200444660:web:f9ef01bfda90fc63a6a0a1/config {"projectId":"gouda-company","appId":"1:694200444660:web:f9ef01bfda90fc63a6a0a1","storageBucket":"gouda-company.appspot.com","locationId":"us-central","apiKey":"AIzaSyBESSIfnnHcChqLnEPGGRdYuQBAx_kGTjs","authDomain":"gouda-company.firebaseapp.com","messagingSenderId":"694200444660","measurementId":"G-1L66RSFLQ7"} +[info] + Thank you for trying our early preview of Next.js support on Firebase Hosting. + During the preview, support is best-effort and breaking changes can be expected. Proceed with caution. + The integration is known to work with Next.js version 12 - 15.0. You may encounter errors. + + Documentation: https://firebase.google.com/docs/hosting/frameworks/nextjs + File a bug: https://github.com/firebase/firebase-tools/issues/new?template=bug_report.md + Submit a feature request: https://github.com/firebase/firebase-tools/issues/new?template=feature_request.md + + We'd love to learn from you. Express your interest in helping us shape the future of Firebase Hosting: https://goo.gle/41enW5X + +[debug] [2025-01-07T23:39:55.169Z] Checked if tokens are valid: true, expires at: 1736296789740 +[debug] [2025-01-07T23:39:55.169Z] Checked if tokens are valid: true, expires at: 1736296789740 +[debug] [2025-01-07T23:39:55.169Z] >>> [apiv2][query] GET https://firebasehosting.googleapis.com/v1beta1/projects/gouda-company/sites/gouda-company [none] +[debug] [2025-01-07T23:39:55.278Z] <<< [apiv2][status] GET https://firebasehosting.googleapis.com/v1beta1/projects/gouda-company/sites/gouda-company 200 +[debug] [2025-01-07T23:39:55.278Z] <<< [apiv2][body] GET https://firebasehosting.googleapis.com/v1beta1/projects/gouda-company/sites/gouda-company {"name":"projects/gouda-company/sites/gouda-company","defaultUrl":"https://gouda-company.web.app","appId":"1:694200444660:web:f9ef01bfda90fc63a6a0a1","type":"DEFAULT_SITE"} +[info] ▲ Next.js 15.1.3 + +[info] - Environments: .env.local, .env.production + + +[info] Creating an optimized production build ... + +[info] ✓ Compiled successfully + +[info] Skipping validation of types + +[info] Linting ... + diff --git a/src/app/(auth)/join/page.tsx b/src/app/(auth)/join/page.tsx index 579cddb..3bcb57c 100644 --- a/src/app/(auth)/join/page.tsx +++ b/src/app/(auth)/join/page.tsx @@ -144,15 +144,18 @@ export default function JoinPage() {
- Check your email!
There's a link to get in! + Check your email!
There's a link to get in!
-
Open your email:
+
Open your email:
{EMAIL_LINKS.desktop.map((link) => ( diff --git a/src/app/(auth)/login/page.tsx b/src/app/(auth)/login/page.tsx index d00ddfe..df850d0 100644 --- a/src/app/(auth)/login/page.tsx +++ b/src/app/(auth)/login/page.tsx @@ -144,10 +144,10 @@ export default function LoginPage() {
- Check your email!
There's a link to get in! + Check your email!
There's a link to get in!
-
Open your email:
+
Open your email:
{EMAIL_LINKS.desktop.map((link) => (