Firebase-Functions error after update? what can i do?

后端 未结 2 454
暖寄归人
暖寄归人 2020-12-06 06:56

I updated my firebase-functions and now I get this error in the firebase console. The code is still the same but I get an error now:

/srv/node_modules/@google         


        
2条回答
  •  青春惊慌失措
    2020-12-06 07:37

    You can also get this error if you are running node v8. Upgrading to node v10 resolves this error.

    If you are managing your node version using nvm, then run:

    nvm install v10 --lts
    

    I think it is a better solution then downgrading firebase-admin library.

提交回复
热议问题