I'm getting some errors deploying v2 functions via Firebase deploy, it seems is because you are using as Firebase dependencies an older firebase-functions without total compatibility for v2.
In my local code I have no problems with it using the following dependencies (last version):
And for devDependencies I have:
For engine in that package.json, I have Node 16 (I think the minium is Node 14 but I'm not sure)
Can you update it for the pipeline?
Thank you
I created a PR with the update, it's my first time so I don't know if anything is missing
My main problem with Pipeline that is described here: https://github.com/firebase/firebase-tools/issues/5506
It was resolved 1-2 months ago in a new firebase-tools versions. Local deployments are working OK so with the propsed update it will be working via Pipeline
In my computer, my global firebase-tools version is: 12.4.7, but the problem it seems to be with firebase-functions is very old without v2 capacities.
So I think will be neccesary to update those functions dependencies along with firebase-tools to be coherent.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Reviewing your code it seems that your firebase-functions is for test and the really important thing here is there firebase-tools
For the version to use the pipeline will check my package.json file... so I think the only needed thing is to update firebase-tools to 12.* with the new capabilities to work with v2 functions.
To keep it maintained with latest releases (if you are not updating it regullary) is it possible to make a fork and use that fork in my pipeline easily?
Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Javier Martín hi. New version released according to your pull request changes.
Regards, Igor
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.