Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

436
Visualizações
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 Respostas
Responde à pergunta

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 Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda