简体   繁体   中英

Im having trouble while serving or deploying Firebase Hosting Functions

The Cloud Functions emulator requires the module "firebase-admin" to be installed. This package is in your package.json, but it's not available. You probably need to run "npm install" in your functions directory.

I was running well my project till i was hit with that issue. Any help, please do tell. Thanks. {Below is the image of what i am getting}

我在deletetest文件夹中创建了一个新项目,但最初失败了。

This is a bug in firebase-tools versions 6.9.0 and 6.9.1 . The solution is to downgrade to 6.8.0 for now:

npm install -g firebase-tools@6.8.0

You can follow along with the issue here: https://github.com/firebase/firebase-tools/issues/1262

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM