-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Labels
Description
I was using a local emulator to develop my app, and i was starting the emulator with the following command:
firebase emulators:start --export-on-exit=./saved-data --import=./saved-data
In vscode i tried to write @(Alt + q) symbol but my hand slipped and instead i clicked ctrl + q, and it caused to quit vscode while firebase was still running. And now when i try to start the emulator with the same command it crashes due following reason taken from the debug.log of firestore:
firestore: Firestore Emulator logging to firestore-debug.log {"metadata":{"emulator":{"name":"firestore"},"message":"Firestore Emulator logging to \u001b[1mfirestore-debug.log\u001b[22m"}}
[2021-06-12T16:40:50.883Z] Exception in thread "main" {"metadata":{"emulator":{"name":"firestore"},"message":"Exception in thread \"main\" "}}
[2021-06-12T16:40:50.883Z] com.google.cloud.datastore.core.exception.DatastoreException: Failed to parse overall export metadata file
at com.google.cloud.datastore.emulator.impl.ExportImportUtil.parseOverallMetadataFile(ExportImportUtil.java:229)
at com.google.cloud.datastore.emulator.impl.ExportImportUtil.fetchEntities(ExportImportUtil.java:56)
at com.google.cloud.datastore.emulator.firestore.CloudFirestore.main(CloudFirestore.java:89)
Caused by: java.io.FileNotFoundException: /home/ahmet/Documents/project-folder/backend/saved-data/firestore_export/firestore_export.overall_export_metadata (No such file or directory)
at java.base/java.io.FileInputStream.open0(Native Method)
at java.base/java.io.FileInputStream.open(FileInputStream.java:219)
at java.base/java.io.FileInputStream.<init>(FileInputStream.java:157)
avilao