How i can resolve this error on react native Expo

i trying to use react-native-router but i have the follower error on the web console when i triying to look the app on web

enter image description here

but in the celphone it works correctly.

i dont know what to do

i tryed to change de webpack config bit it doesnt work

const path = require('path');
const createExpoWebpackConfigAsync = require('@expo/webpack-config');

module.exports = async function(env, argv) {
    const config = await createExpoWebpackConfigAsync(env, argv);
    config.module.rules.push({
        test: /.js$/,
        loader: 'babel-loader',
        include: [
            path.join(__dirname, 'node_modules/react-router-native'),
        ]
    });
    
    return config;
    } ``