meteor/meteor · error · Error
IndexedDB not available
Error message
IndexedDB not available
What it means
Error "IndexedDB not available" thrown in meteor/meteor.
Source
Thrown at packages/dynamic-import/cache.js:26
// the dynamic module cache won't be necessary.
! Meteor.isCordova &&
// Caching can be confusing in development, and is designed to be a
// transparent optimization for production performance.
Meteor.isProduction;
function getIDB() {
if (typeof indexedDB !== "undefined") return indexedDB;
if (typeof webkitIndexedDB !== "undefined") return webkitIndexedDB;
if (typeof mozIndexedDB !== "undefined") return mozIndexedDB;
if (typeof OIndexedDB !== "undefined") return OIndexedDB;
if (typeof msIndexedDB !== "undefined") return msIndexedDB;
}
function withDB(callback) {
dbPromise = dbPromise || new Promise(function (resolve, reject) {
var idb = getIDB();
if (! idb) {
throw new Error("IndexedDB not available");
}
// Incrementing the version number causes all existing object stores
// to be deleted and recreates those specified by objectStoreMap.
var request = idb.open("MeteorDynamicImportCache", 2);
request.onupgradeneeded = function (event) {
var db = event.target.result;
// It's fine to delete existing object stores since onupgradeneeded
// is only called when we change the DB version number, and the data
// we're storing is disposable/reconstructible.
Array.from(db.objectStoreNames).forEach(db.deleteObjectStore, db);
Object.keys(objectStoreMap).forEach(function (name) {
db.createObjectStore(name, objectStoreMap[name]);
});
};View on GitHub (pinned to 5076d2f818)
Solutions
- Use a browser that supports IndexedDB.
- If IndexedDB is disabled (e.g. private browsing), enable it or accept degraded caching of dynamic imports.
When it happens
Trigger: Thrown when the dynamic-import cache is used in a browser without IndexedDB support.
Common situations: Private browsing modes or old browsers where indexedDB is unavailable or disabled.
AI-assisted analysis of meteor/meteor@5076d2f818 (2026-08-13).
Data as JSON: /api/errors/1698777f5d176f6a.
Report an issue: GitHub.