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

171
Views
No Routes element found in React Router Dom

This is odd. Following along with the tutorial, I'm attempting to create a group of routes. However, the actual Routes element cannot be found:

enter image description here

The BrowserRouter and individual Route elements seem to be working fine, however.

I'm using the latest version of React Router Dom (6.2.1). Any ideas?

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

0

It might happen because of conflicting typings the IDE auto-downloads to its configuration folder for better code completion. You can remove the auto-downloaded typings from <IDE system dir>\javascript\typings (shut down the IDE first) and either disable typescript.external.type.definitions Registry key or remove react-router-dom from typescript.external.type.definitions.packages key value

The Registry can be located via: Help > Find action > type Registry...

about 4 years ago · Juan Pablo Isaza Report

0

Appears to be a PhpStorm issue. Viewing the project in VS Code gives no errors on the element, and shows its signature and location:

enter image description here

Whereas the problem persists in PhpStorm even after a restart.

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!