simondotm / nx-firebase

Firebase plugin for Nx Monorepos
https://www.npmjs.com/package/@simondotm/nx-firebase
MIT License
175 stars 31 forks source link

Deploy works locally, but not with --token on CI #175

Open stevebrowndotco opened 7 months ago

stevebrowndotco commented 7 months ago

Hello!

If I run:

nx deploy firebase

locally

... firebase (and functions) deploy with any issue.

But if I run

nx deploy firebase --token MY_TOKEN

locally, OR on the CI

I get:

NX Cannot find project 'PROJECT_NAME'

However, if I bypass this library and run:

npx firebase deploy --token MY_TOKEN

All works fine, ruling out an issue with my token for example.

Was wondering if there might be a bug?