I have a monorepo, with an angular app as the root, and a function folder as a sub-directory for my backend api (Express and MongoDB)
I hooked up the repo to Firebase and I’m trying to get it to deploy – but in the Cloud Run logs it’s telling me ‘tsc not found’
- I’ve used the
/functions
sub-folder as the root since that’s where mypackage.json
is - I can build locally no problem
- my
build
script is justtsc
nothing fancy - I moved the
typescript
package from devDeps to deps with no luck
What’s weird is that I can see in the Cloud Build step that it’s building in the container just fine
- Why is it trying to do the build again during cloud run?
- What am I doing wrong that it can’t find tsc?