G
gdninf
Curioso
¡Usuario con pocos negocios! ¡Utiliza siempre saldo de Forobeta!
Create the Metro file if you don't have it in the project root with the command npx expo customize metro.config.js and inside:
const { getDefaultConfig } = require('@expo/metro-config');
const defaultConfig = getDefaultConfig(__dirname);
defaultConfig.resolver.sourceExts.push('cjs');
defaultConfig.resolver.unstable_enablePackageExports = false;
module.exports = defaultConfig;
OJO
but before running npx expo-doctor
and verify that there are no conflicts with the Firebase/App versions
const { getDefaultConfig } = require('@expo/metro-config');
const defaultConfig = getDefaultConfig(__dirname);
defaultConfig.resolver.sourceExts.push('cjs');
defaultConfig.resolver.unstable_enablePackageExports = false;
module.exports = defaultConfig;
OJO
but before running npx expo-doctor
and verify that there are no conflicts with the Firebase/App versions