79650900

Date: 2025-06-03 08:45:39
Score: 0.5
Natty:
Report link

Have you changed your metro.config.js to handle the .cjs-files from Firebase? This could be the problem, since it is needed in Firebase for newer versions

const { getDefaultConfig } = require('@expo/metro-config');
const defaultConfig = getDefaultConfig(__dirname);

defaultConfig.resolver.sourceExts.push('cjs');
defaultConfig.resolver.unstable_enablePackageExports = false;

module.exports = defaultConfig;
Reasons:
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Lasse