Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

740
Vistas
Unable to resolve module expo-constants

I was installed an expo-constant for a test after that I unistalled the expo-constant by

npm uninstall expo-constants

Now when I run my app an error appears:

Unable to resolve module expo-constants from C:\Users..\node_modules\expo-font\build\FontLoader.js: expo-constants could not be found within the project.

Any ideas on what else I can try to resolve this?

The full error below:

If you are sure the module exists, try these steps:
 1. Clear watchman watches: watchman watch-del-all
 2. Delete node_modules and run yarn install
 3. Reset Metro's cache: yarn start --reset-cache
 4. Remove the cache: rm -rf /tmp/metro-*
  1 | import { CodedError } from '@unimodules/core';
  2 | import { Asset } from 'expo-asset';
> 3 | import Constants from 'expo-constants';
    |                        ^
  4 | import { Platform } from 'react-native';
  5 | import ExpoFontLoader from './ExpoFontLoader';
  6 | const isInClient = Constants.appOwnership === 'expo';
about 4 years ago · Juan Pablo Isaza
2 Respuestas
Responde la pregunta

0

Try Updating packages to the latest version.

npm update

give a try to install with --force flag as well if the update has not worked. eg:

npm install --force
about 4 years ago · Juan Pablo Isaza Denunciar

0

you can add this in your package.json

"expo-yarn-workspaces": { "symlinks": ["expo-constants"] }

Regards

about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda