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

271
Views
'react-native' not importing correctly to page

As you can see in the photo, there are 3 dots under react-native. On other projects when I hover over it it says as follows:

module "/Users/mac/Library/Caches/typescript/4.5/node_modules/@types/react-native/index"

But when I hover over in this new project, it says as follows:

module "/Users/mac/Desktop/project/rn-zoom/node_modules/react-native/index"

I guess that's why when I type "Button", the automatic import option does not appear, or when I start typing props, the automatic import option does not appear. What causes this situation and how can I fix it?

enter image description here

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

0

Install Plugins:

React Native Tools & ES7 React/Redux/GraphQL/React-Native snippets

Now check that at your bottom right corner the selected language is React.

about 4 years ago · Juan Pablo Isaza Report

0

delete your node-module folder and run npm install it will work for you. and also run the command of clear cache.

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!