Firebase-tools: Firebase emulates functions and hosting can't be run together

Created on 8 May 2019  ·  3Comments  ·  Source: firebase/firebase-tools

[REQUIRED] Environment info


firebase-tools: 6.9.0


Platform: Fedora 30

[REQUIRED] Test case


Work on default project from firebase init command

[REQUIRED] Steps to reproduce


Run firebase serve --only functions,hosting

[REQUIRED] Expected behavior

$ firebase serve --only functions,hosting

=== Serving from '/mnt/Data/Projects/Dir/project'...

i  functions: Preparing to emulate functions.
i  hosting: Serving hosting files from: public
✔  hosting: Local server: http://localhost:5000
✔  functions: ssr: http://localhost:5001/<project-id>/us-central1/ssr

[REQUIRED] Actual behavior

$ firebase serve --only functions,hosting

✔  functions: ssr: http://localhost:5001/<project-id>/us-central1/ssr

Note:
It worked on version 6.8.0

Most helpful comment

The fix for this issue has been released in 6.9.1.

All 3 comments

This looks like #1242 and a fix is coming in version 6.9.1.

For now downgrading is the answer. Thanks for reporting!

Closing as duplicate of #1242

The fix for this issue has been released in 6.9.1.

Was this page helpful?
0 / 5 - 0 ratings