Эмулятор базы данных Firebase не запускается - PullRequest
0 голосов
/ 28 сентября 2019

Я изо всех сил пытаюсь проверить свои функции Firebase локально.Эмулятор моей базы данных работает

✗ firebase serve --only database
i  database: Emulator logging to database-debug.log
✔  database: Emulator started at http://localhost:9000

Но он не запускается, когда я пытаюсь запустить все мои эмуляторы вместе

✗ firebase emulators:start                
i  Starting emulators: ["functions","hosting"]
✔  functions: Using node@10 from host.
✔  functions: Emulator started at http://localhost:5001
i  hosting: Serving hosting files from: dist
✔  hosting: Local server: http://localhost:5000
✔  hosting: Emulator started at http://localhost:5000
i  functions: Watching ".../functions" for Cloud Functions...
⚠  functions: Your GOOGLE_APPLICATION_CREDENTIALS environment variable points to .../ignore/fbkey.json. Non-emulated services will access production using these credentials. Be careful!
✔  functions[subscribe]: http function initialized (http://localhost:5001/xxx/us-central1/subscribe).
✔  functions[unsubscribe]: http function initialized (http://localhost:5001/xxx/us-central1/unsubscribe).
i  functions[sendNotification]: function ignored because the database emulator does not exist or is not running.   <-------- why does this happen
✔  All emulators started, it is now safe to connect.

Я получаю тот же результат с firebase serve, ине знаете что делать дальше?

...