Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

247
Visualizações
React JS error - Expecting "CALC", ,..........."dimension", "number", got unexpected end of input CompileError: Begins at CSS selector undefined

I build my whole project, but when I'm doing yarn build, I'm getting this error from yarn i.e.

Parse error on line 1: 
^
Expecting "CALC", "LPAREN", "ADD", "SUB", "FUNCTION", "LENGTH", "ANGLE", "TIME", "FREQ", "RES", "UNKNOWN_DIMENSION", "EMS", "EXS", "CHS", "REMS", "VHS", "VWS", "VMINS", "VMAXS", "PERCENTAGE", "NUMBER", "expression", "math_expression", "function", "dimension", "number", got unexpected end of input
CompileError: Begins at CSS selector undefined


error Command failed with exit code 1

And I don't really think I did something wrong.. I tried creating a new react-app but and put all the files there, but still the same error:(

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

I just had the same problem and got it fixed. This is caused by some typo in a .css file. For me, I had "text-align: calc();" in the /src/App.css file that creating a new react-app makes. I suspect you have a similar issue of using a css function without including an expression.

about 4 years ago · Juan Pablo Isaza Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda