-
-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for using Firebase Emulator #129
Conversation
Firebase Emulator is failing in Travis. I dunno why... 😕 |
Took a while but I think i got to the bottom of it. I think you're working in a windows environment? It looks like the filepaths in the emulator-data/firestore_export.overall-export-metadata have backslashes for part of the path. I used the method here firebase/firebase-tools#2421 to generate a new emulator-data folder and it no longer crashes although the tests fail |
Woah, thanks for looking into it. Hmm, so this means that my Also, I didn't quite understand the instructions in this. What's the previous dir he's talking about? |
The previous folder he was referencing was the one containing the files
with the backslash paths. I think this solution was only meant to be a
temporary workaround of course.
…On Mon 9 Nov 2020, 15:31 Mikko Paderes, ***@***.***> wrote:
Took a while but I think i got to the bottom of it. I think you're working
in a windows environment? It looks like the filepaths in the
emulator-data/firestore_export.overall-export-metadata have backslashes for
part of the path. I used the method here firebase/firebase-tools#2421
<firebase/firebase-tools#2421> to generate a
new emulator-data folder and it no longer crashes although the tests fail
Woah, thanks for looking into it. Hmm, so this means that my emulator-data
wouldn't work on non-Windows machine. Well that's a let down. I hope they
manage to fix the bug soon.
Also, I didn't quite understand the instructions in this
<firebase/firebase-tools#2421 (comment)>.
What's the previous dir he's talking about?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#129 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAN6BVJFKX5UXKPKA7PNRNTSPADLRANCNFSM4TNY57IA>
.
|
This PR adds support for using the Firebase Emulator introduced in Firebase
v8.0.0
. To set it up, in yourconfig/environment.js
, you need to set:Feel free to use a different
hostname
andport
depending on your setup.Aside from the changes above, this addon itself is now setup to utilize Firebase Emulator for local development and testing.