小编Cod*_*ash的帖子

Firestore Cloud功能无法在本地运行

我已经创建了一个测试项目,并根据文档进行了所有配置,但是当我运行该项目时,它没有按预期运行,在编写此问题之前,我用过google并发现了一些重复的问题,但是每种情况的情况都不同因此,我假设这不是一个重复的问题

这是我的终端命令和输出:

functions ? npm run serve                                                                                         

> functions@ serve /Users/codecrash/Developments/crm-firestore/functions
> firebase serve --only functions

?  functions: Using node@8 from host.
?  functions: Emulator started at http://localhost:5000
i  functions: Watching "/Users/codecrash/Developments/crm-firestore/functions" for Cloud Functions...
i  Your code has been provided a "firebase-admin" instance.
i  functions: HTTP trigger initialized at http://localhost:5000/demo-crm/us-central1/helloWorld
Ignoring trigger "onWrite" because the Cloud Firestore emulator is not running.
Ignoring trigger "onUpdate" because the Cloud Firestore emulator is not running.
i  functions: Beginning execution of …
Run Code Online (Sandbox Code Playgroud)

javascript firebase firebase-tools google-cloud-functions google-cloud-firestore

11
推荐指数
1
解决办法
879
查看次数