Open thoriqadillah opened 2 days ago
Hey @thoriqadillah - this No OAuth token found
is a red herring - we can see from the other logs that the API calls are working just fine. The relevant error here is coming from https://github.com/firebase/firebase-tools/blob/master/src/frameworks/astro/utils.ts#L40 - during deploy, we use npm to discover the version of your deps (https://github.com/firebase/firebase-tools/blob/master/src/frameworks/utils.ts#L276). Seems like the real issue here is that web frameworks doesn't smoothly support pnpm.
I'll pass this along to the folks maintaining web frameworks to verify/take a closer look at.
[REQUIRED] Environment info
firebase-tools: 13.8.3
Platform: Fedora 39
[REQUIRED] Test case
No tests
[REQUIRED] Steps to reproduce
Create astro project with SSR enabled Configure firebase. In
firebase init
, i select the hosting and it was recognizing the astro project, but when the setting up the github action, i prompted no. This is my.firebaserc
and this is my
firebase.json
here is my ci
[REQUIRED] Expected behavior
The CI deployment should be working. I have tested the deployment in my local machine and it works
[REQUIRED] Actual behavior
I have the following error. I'm assuming the
No OAuth tokens found
is the issue, but i don't know what is the problem. Here is the logUPDATE: i edited my firebase.json with multiple target so that i can deploy
stg
tostaging
andprd
toproduction
, and apparently using npm instead of pnpm can solve the issue, so i also update thegitlab-ci
to use npm. but i still got error. here is the log