firebase-action icon indicating copy to clipboard operation
firebase-action copied to clipboard

Error locating tsconfig.json resulting in tsc failing with errors due to failed type resolution.

Open CharlieDigital opened this issue 2 years ago • 3 comments

Using version 11.24.1.

When building manually locally using the firebase CLI:

Screenshot 2023-04-27 at 9 13 38 AM

In GitHub Actions:

image

tsconfig.json is present and working fine; manually invoking npm run build works as expected.

CharlieDigital avatar Apr 27 '23 13:04 CharlieDigital

We're getting a similar error

image

We've tried versions 11.24.1, 11.18.0 and 11.5.0 (this ver gives me a different error though).

I wonder if it's some change in Github Actions that this repo depends on. Any ideas @w9jds ?

anonimitoraf avatar May 03 '23 22:05 anonimitoraf

@CharlieDigital Looks like there was a breaking change with Cloud Functions. The suggestion in that doc worked for us

anonimitoraf avatar May 04 '23 06:05 anonimitoraf

@anonimitoraf Appreciate the update and confirmation of the workaround!

CharlieDigital avatar May 04 '23 13:05 CharlieDigital