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

350
Views
React Native Navigator

I created a basic react native app just to practice. As a first step, I followed the docs below to create a navigation from one page to another:

https://reactnative.dev/docs/navigation

I'm using React Native CLI, and installed:

npm install @react-navigation/native @react-navigation/native-stack

npm install react-native-screens react-native-safe-area-context

and I copied the code from the docs to my App.js file. When I'm hitting npx react-native run-android, I'm getting the following error:

error: Error: Unable to resolve module react-navigation from C:\Users\sh\NewProject\App.js: react-navigation could not be found within the project or in these directories: node_modules

I tried to delete node_modules and did npm install - didn't help.

Any idea how to resolve this? thanks

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

This error comes when library is not linked up or properly not imported. Please uninstall and try to install it again step by step.

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!