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

218
Views
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
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!