Question : firebase idb error
Answered by : en-garcon
// Soln 1. create a metro.config.js file in the project root. Add:
const { getDefaultConfig } = require("@expo/metro-config");
const defaultConfig = getDefaultConfig(__dirname);
defaultConfig.resolver.assetExts.push("cjs");
module.exports = defaultConfig;
// Soln 2. or downgrade the version e.g:
npm uninstall firebase
npm install [email protected]
Source : https://stackoverflow.com/questions/72158122/expo-firebase-authentication-while-trying-to-resolve-module-idb-from-file | Last Update : Mon, 26 Sep 22