apache / apache/pouchdb

new PouchDb. TypeError: The superclass is not a constructor.

Open
#9,078 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
17.6k
Forks
1.5k
PR merge metrics
No merged PRs in 30d

Description

Hi, cant start with a pouchDb. After installation pouch and types, i cant use it:

```ts
import * as PouchDB from "pouchdb";
const db = new PouchDB("appState"); // TypeError: The superclass is not a constructor.
```

TS, Vite, Client-side

`import PouchDB from "pouchdb"` returns same error

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.