[GH-ISSUE #25] Uncaught SyntaxError: The requested module '…' does not provide an export named 'jsx' #11

Closed
opened 2026-05-06 12:36:27 +02:00 by BreizhHardware · 0 comments

Originally created by @wojtekmaj on GitHub (Feb 24, 2026).
Original GitHub issue: https://github.com/cloudflare/vinext/issues/25

Got this error when trying to run my app:

error-boundary.tsx:1 Uncaught SyntaxError: The requested module '/node_modules/react/jsx-runtime.js?v=cfd93ac8' does not provide an export named 'jsx' (at error-boundary.tsx:1:14)

The error originated from node_modules/vinext/src/shims/error-boundary.tsx

My current tsconfig.json (I suppose this might be relevant):

{
  "compilerOptions": {
    "allowJs": false,
    "allowImportingTsExtensions": true,
    "esModuleInterop": true,
    "forceConsistentCasingInFileNames": true,
    "incremental": true,
    "isolatedModules": true,
    "jsx": "react-jsx",
    "lib": ["esnext", "dom", "dom.iterable"],
    "module": "esnext",
    "moduleDetection": "force",
    "moduleResolution": "bundler",
    "noEmit": true,
    "noFallthroughCasesInSwitch": true,
    "noUncheckedIndexedAccess": true,
    "noUncheckedSideEffectImports": true,
    "paths": {
      "@/*": ["./src/*"]
    },
    "plugins": [
      {
        "name": "next"
      }
    ],
    "resolveJsonModule": true,
    "skipLibCheck": true,
    "strict": true,
    "target": "esnext",
    "verbatimModuleSyntax": true
  },
  "include": [".", ".next/types/**/*.ts", ".next/dev/types/**/*.ts"],
  "exclude": ["node_modules", "out", ".next"]
}

Originally created by @wojtekmaj on GitHub (Feb 24, 2026). Original GitHub issue: https://github.com/cloudflare/vinext/issues/25 Got this error when trying to run my app: error-boundary.tsx:1 Uncaught SyntaxError: The requested module '/node_modules/react/jsx-runtime.js?v=cfd93ac8' does not provide an export named 'jsx' (at error-boundary.tsx:1:14) The error originated from node_modules/vinext/src/shims/error-boundary.tsx My current tsconfig.json (I suppose this might be relevant): ``` { "compilerOptions": { "allowJs": false, "allowImportingTsExtensions": true, "esModuleInterop": true, "forceConsistentCasingInFileNames": true, "incremental": true, "isolatedModules": true, "jsx": "react-jsx", "lib": ["esnext", "dom", "dom.iterable"], "module": "esnext", "moduleDetection": "force", "moduleResolution": "bundler", "noEmit": true, "noFallthroughCasesInSwitch": true, "noUncheckedIndexedAccess": true, "noUncheckedSideEffectImports": true, "paths": { "@/*": ["./src/*"] }, "plugins": [ { "name": "next" } ], "resolveJsonModule": true, "skipLibCheck": true, "strict": true, "target": "esnext", "verbatimModuleSyntax": true }, "include": [".", ".next/types/**/*.ts", ".next/dev/types/**/*.ts"], "exclude": ["node_modules", "out", ".next"] } ```
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/vinext#11
No description provided.