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

145
Views
./src/App.jsx Attempted import error: 'Routes' is not exported from 'react-router-dom'

Por favor ayuda con el siguiente error en React

{ "name": "login-react-1", "version": "0.1.0", "private": true, "dependencies": { "@testing-library/jest-dom": "^5.16.3", "@testing-library/react": "^12.1.4", "@testing-library/user-event": "^13.5.0", "firebase": "^8.7.1", "react": "^18.0.0", "react-dom": "^18.0.0", "react-router": "^5.3.1", "react-router-dom": "^5.3.1", "react-scripts": "^2.1.3", "web-vitals": "^2.1.4" }, "scripts": { "start": "react-scripts start", "build": "react-scripts build", "test": "react-scripts test", "eject": "react-scripts eject" }, "eslintConfig": { "extends": [ "react-app", "react-app/jest" ] }, "browserslist": { "production": [ ">0.2%", "not dead", "not op_mini all" ], "development": [ "last 1 chrome version", "last 1 firefox version", "last 1 safari version" ] } }

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

0

The error is probably because I was importing "Routes" in Spanish and not "Routes" as it is in English

 import {Routes} from "react-router-dom"

https://v5.reactrouter.com/web/guides/quick-start

about 4 years ago · Juan Pablo Isaza Report

0

"react-router-dom"' does not have an exported member named 'Routes'. Did you mean to write 'path'?

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!