Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

430
Views
Unhandled promise rejection: ReferenceError: Can't find variable: indexedDB

I'm trying to set up a Back4App backend in a react native expo 45 app. I keep getting a

[Unhandled promise rejection: ReferenceError: Can't find variable: indexedDB]

warning related to the async-storage and Parse import.

import AsyncStorage from "@react-native-async-storage/async-storage";
const Parse = require("parse/react-native.js");
Parse.setAsyncStorage(AsyncStorage);

The warning points to a function in

node_modules\parse\node_modules\idb-keyval\dist\compat.cjs

function createStore(dbName, storeName) {
  var dbp = safariFix__default['default']().then(function () {
    var request = indexedDB.open(dbName);

    request.onupgradeneeded = function () {
      return request.result.createObjectStore(storeName);
    };

    return promisifyRequest(request);
  });
  return function (txMode, callback) {
    return dbp.then(function (db) {
      return callback(db.transaction(storeName, txMode).objectStore(storeName));
    });
  };
}

I find almost no results with searches so I don't even know where to begin troubleshooting. Am I missing something or can this just be ignored?

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

The problem is in Parse@3.4.2

I reverted back to Parse@3.4.0 and all is working again for now.

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!