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

225
Visualizações
Support for the experimental syntax 'jsx' isn't currently enabled when trying to use a library
    enter code hereModule build failed (from ./node_modules/babel-loader/lib/index.js):
SyntaxError: C:\Users\Ryan\aff_website\node_modules\react-group-table\src\groupTable.js: Support for the experimental syntax 'jsx' isn't currently enabled (20:14):

  18 |   renderTeams () {
  19 |     return this.props.teams.map((team, i) => {
> 20 |       return <Row
     |              ^
  21 |         cutOffPosition={this.isTeamInCutoffPosition(i + 1)}
  22 |         dangerZone={this.isTeamInDangerZone(i + 1)}
  23 |         key={i}

Add @babel/preset-react (https://github.com/babel/babel/tree/main/packages/babel-preset-react) to the 'presets' section of your Babel config to enable transformation.
If you want to leave it as-is, add @babel/plugin-syntax-jsx (https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-jsx) to the 'plugins' section to enable parsing.
    at instantiate (C:\Users\Ryan\aff_website\node_modules\@babel\parser\lib\index.js:72:32)
    at constructor (C:\Users\Ryan\aff_website\node_modules\@babel\parser\lib\index.js:359:12)
    at Parser.raise (C:\Users\Ryan\aff_website\node_modules\@babel\parser\lib\index.js:3339:19)
    at Parser.expectOnePlugin (C:\Users\Ryan\aff_website\node_modules\@babel\parser\lib\index.js:3396:18)
    at Parser.parseExprAtom (C:\Users\Ryan\aff_website\node_modules\@babel\parser\lib\index.js:13078:18)
    at Parser.parseExprSubscripts (C:\Users\Ryan\aff_website\node_modules\@babel\parser\lib\index.js:12648:23)
    at Parser.parseUpdate (C:\Users\Ryan\aff_website\node_modules\@babel\parser\lib\index.js:12627:21)
    at Parser.parseMaybeUnary (C:\Users\Ryan\aff_website\node_modules\@babel\parser\lib\index.js:12598:23)
    at Parser.parseMaybeUnaryOrPrivate (C:\Users\Ryan\aff_website\node_modules\@babel\parser\lib\index.js:12392:61)
    at Parser.parseExprOps (C:\Users\Ryan\aff_website\node_modules\@babel\parser\lib\index.js:12399:23)

I have been stuck on this for hours, not sure how to proceed. Please let me know how to fix it if you have any ideas!

about 4 years ago · Juan Pablo Isaza
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