We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1fce2a6 commit cc05e0fCopy full SHA for cc05e0f
packages/firestore/src/exp/database.ts
@@ -150,7 +150,10 @@ export function initializeFirestore(
150
} else {
151
throw new FirestoreError(
152
Code.FAILED_PRECONDITION,
153
- 'Firestore can only be initialized once per app.'
+ 'initializeFirestore() has already been called with ' +
154
+ 'different options. To avoid this error, call initializeFirestore() with the ' +
155
+ 'same options as when it was originally called, or call getFirestore() to return the' +
156
+ ' already initialized instance.'
157
);
158
}
159
0 commit comments