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

229
Views
Getting error "could not find declaration file for module ..." in React

I generally use npm install to build node_modules. But for some reasons I removed node_modules folder, updated the node to v12.8.1 and did yarn install.

Then on I am getting the below errors.

  1. Module not found. although those modules are present in the node_modules.
  2. could not find declaration files... although we are not using typescript in the project.

Can someone help me with this?

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

0

Delete package-lock.json, yarn-lock.json files and node_modules folder. Again run npm install and check whether error persists.

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!