Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

749
Views
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 answers
Answer question

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 Report

0

you can add this in your package.json

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

Regards

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!