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

346
Views
No se puede leer la propiedad 'toLowerCase' de CompileError indefinido: comienza en el selector CSS .m-n1

Estoy en un proyecto de reacción que funciona perfectamente sin errores ni advertencias cuando uso yarn start , pero cuando pruebo yarn build obtengo el siguiente error en mi consola:

 Cannot read property 'toLowerCase' of undefined CompileError: Begins at CSS selector .m-n1

Ya he buscado en mi código y no hay clase ".m-n1" o algo así en ningún componente o scss.

Aquí está mi archivo package.json

 "name": "removedForThisPost", "version": "0.1.0", "private": true, "dependencies": { "@clayui/alert": "^3.40.0", "@clayui/card": "^3.41.0", "@clayui/core": "^3.41.0", "@clayui/css": "^3.41.0", "@clayui/drop-down": "^3.41.0", "@clayui/empty-state": "^3.40.0", "@clayui/form": "^3.40.0", "@clayui/icon": "^3.40.0", "@testing-library/jest-dom": "^5.11.4", "@testing-library/react": "^11.1.0", "@testing-library/user-event": "^12.1.10", "@types/jest": "^26.0.15", "@types/node": "^12.0.0", "@types/react": "^17.0.0", "@types/react-dom": "^17.0.0", "axios": "^0.24.0", "react": "^17.0.2", "react-dom": "^17.0.2", "react-scripts": "4.0.3", "sass": "^1.45.0", "timeago.js": "^4.0.2", "typescript": "^4.1.6", "web-vitals": "^1.0.1" }, "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" ] } }

Información adicional: ¡Estoy usando NVM para versiones de nodo y en este momento estoy en Node 14.18.2 (npm v6.14.15)!

¡Si necesitan cualquier otra información, háganmelo saber!

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

0

bien, encontré exactamente el mismo problema con el que estabas lidiando, aquí hay una solución para ti npm run build - Error al compilar - No se puede leer la propiedad 'toLowerCase' de undefined Para resumir esto, tienes un problema con un valor faltante en tu código. también, intente buscar en su código con el comando ctrl+shift+f ".m-n1"

about 4 years ago · Juan Pablo Isaza Report

0

Por si acaso:

¿Ha buscado en su proyecto el término "m-n1" también? (Quiero decir solo "m-n1", sin comenzar en punto/punto ).

Si no lo hizo, vuelva a intentarlo y probablemente encontrará un archivo css que tendrá algún tipo de error en el código (falta un signo separador de atributo, un error tipográfico, ...).

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!