firebase/quickstart-nodejs

Should the firestore/browser-quickstart example point to port 8081 instead of 8080?

hrgui opened this issue · 3 comments

hrgui commented

Should this example point to port 8081 instead of 8080, or is this correct?
https://github.com/firebase/quickstart-nodejs/blob/master/firestore-emulator/browser-quickstart/public/index.html#L16

I found that when pointing to port 8081, the example no longer errors out on the channel? request.

@hrgui what version of the firebase CLI are you using? As of version 7.5.0 and higher we prefer port 8080 for webchannel traffic to the emulator:
https://github.com/firebase/firebase-tools/releases/tag/v7.5.0

hrgui commented

Ah, I'm using v7.3.0. I'll update to v7.5.0+.

Should there be a min version requirement in the readme for browser-quickstart, or are we assuming all examples to use the latest firebase-cli?

@hrgui good idea! Addressed here:
661cf51