You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I then learned that in order to run functions locally on my machine using emulator, I needed to have Firebase-admin 8.0.0 or greater and firebase-functions 3.0.0 or greater.
I updated those versions and now when I run firebase deploy. I get "unexpected error".
My question is, is this version (1.1.3 ) compatible with the latest firebase-admin and firebase-functions versions?
It may be a different issue all together, but I'd like to know if this is the culprit or I need to look elsewhere.
The text was updated successfully, but these errors were encountered:
Hi. That project has no dependencies. Only peer dependencies so it uses the same firebase libraries as you do. Did you try to start the emulator without the code from firebase-functions-tools?
yea, I found the issue was elsewhere. First I need to revert to a slighly earlier version of npm. That got me through the first hurdle. Then hit another error related to missing @firebase/app . I ran npm install firebase in my functions directory...and now all is well.
By the way, love the solution on how it makes adding new Cloud Functions a breeze..well done.
I had this working with the following versions in my function directory:
"firebase-admin": "~7.0.0",
"firebase-function-tools": "^1.1.3",
"firebase-functions": "^2.2.0",
I then learned that in order to run functions locally on my machine using emulator, I needed to have Firebase-admin 8.0.0 or greater and firebase-functions 3.0.0 or greater.
I updated those versions and now when I run firebase deploy. I get "unexpected error".
My question is, is this version (1.1.3 ) compatible with the latest firebase-admin and firebase-functions versions?
It may be a different issue all together, but I'd like to know if this is the culprit or I need to look elsewhere.
The text was updated successfully, but these errors were encountered: