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

1.4K
Views
No se puede hacer que material-ui datepicker funcione

Por alguna razón, no puedo hacer que funcione el selector de fecha material-ui . Cada vez que se procesa el selector de fechas en React, se genera el siguiente error:

RangeError: la cadena de formato contiene un carácter n del alfabeto latino sin escape

Creé un stackblitz solo con el selector de fechas ( https://stackblitz.com/edit/react-6ma6xd?embed=1&file=index.js ) e incluso allí aparece el error. ¿Qué estoy haciendo mal? Creo que seguí todas las instrucciones de la guía de instalación.

Enlace a material-ui/pickers: https://material-ui-pickers.dev/

over 4 years ago · Santiago Trujillo
3 answers
Answer question

0

Tuve el mismo problema, encontré esto en los problemas de github:

https://github.com/mui-org/material-ui-pickers/issues/1440 así que instalé "@date-io/date-fns": "^1.3.13" y lo hice funcionar

over 4 years ago · Santiago Trujillo Report

0

Rebaje su paquete a @date-io@^1.3.13

npm i @date-io/date-fns@1.3.13

over 4 years ago · Santiago Trujillo Report

0

Solo usa momentJS: npm i @date-io/moment@1.x momento

 import MomentUtils from '@date-io/moment'; function App() { return ( <MuiPickersUtilsProvider utils={MomentUtils}>
over 4 years ago · Santiago Trujillo 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
Virtual assistant