Skip to content

ERROR: The JSX syntax extension is not currently enabled #46

Open
@AriTavakoli

Description

@AriTavakoli

Im trying to get the cli to work in my companies mono-repo but keep running into this issue. I clone the repo & try to mess with the build logic with a timebox... needless to say it didn't work out. This is the log I get. The mono-repo I work in have legacy js & jsx components that seem to get bundled?

Any help would be appreciated! Love the product and I wish I could use it :)

error: ▪ Error: Transform failed with 1 error:
/my-private-path/clickable.js:140:13: ERROR: The JSX syntax extension is not currently enabled
at failureErrorWithLog (/my-private-path/projects/langgraphjs-api/node_modules/.pnpm/esbuild@0.25.0/node_modules/esbuild/lib/main.js:1477:15)
at /my-private-path/langgraphjs-api/node_modules/.pnpm/esbuild@0.25.0/node_modules/esbuild/lib/main.js:756:50
at responseCallbacks. (/my-private-path/projects/langgraphjs-api/node_modules/.pnpm/esbuild@0.25.0/node_modules/esbuild/lib/main.js:623:9)
at handleIncomingPacket (/my-private-path/lprojects/langgraphjs-api/node_modules/.pnpm/esbuild@0.25.0/node_modules/esbuild/lib/main.js:678:12)
at Socket.readFromStdout (/my-private-path/lprojects/langgraphjs-api/node_modules/.pnpm/esbuild@0.25.0/node_modules/esbuild/lib/main.js:601:7)
at Socket.emit (node:events:517:28)
at addChunk (node:internal/streams/readable:368:12)
at readableAddChunk (node:internal/streams/readable:341:9)
at Readable.push (node:internal/streams/readable:278:10)
at Pipe.onStreamRead (node:internal/stream_base_commons:190:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions