Dexie.MissingAPIError

Inheritance Hierarchy

Description

Happens when indexedDB API could not be found when trying to open database. This is usually the case when using Dexie from node without indexedDB or IDBKeyRange present on the global object.

In a modern browser or worker, window.indexedDB or self.indexedDB is present by default so you don’t have to do anything. But if you use Dexie from a node process you will need to provide an indexedDB implementation. For nodejs, you can use fakeIndexedDB or indexedDBShim.

Table of Contents