firebase / firebase/firebase-js-sdk
`@firebase/firestore: Firestore (10.1.0): INTERNAL UNHANDLED ERROR: TypeError: e.toDescriptor is not a function`
- Dominant language
- TypeScript
- Stars
- 5.1k
- Forks
- 1k
- Avg merge
- 2d 21h
- Merged PRs (30d)
- 37
Description
### Operating System
Windows
### Browser Version
Deno fresh
### Firebase SDK Version
10.1.0
### Firebase SDK Product:
Firestore
### Describe your project's tooling
Deno fresh 1.3.0
SDK import from esm.sh
### Describe the problem
**@firebase/firestore: Firestore (10.1.0): INTERNAL UNHANDLED ERROR: TypeError: e.toDescriptor is not a function**
I just want to set simple data
```ts
const db = getFirestore(firebaseApp)
const docRef = doc(db, 'app', 'test')
await setDoc(docRef, {
name: 'test',
})
```
or get data
```ts
const docSnap = await getDoc(docRef)
console.info(docSnap.data())
```
### Steps and code to reproduce issue
```ts
const db = getFirestore(firebaseApp)
const docRef = doc(db, 'app', 'test')
await setDoc(docRef, {
name: 'test',
})
```
Contributor guide
Assessment
This issue has not been assessed yet.