Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unexpected token 'export' error when using @mui/x-date-pickers/internals/demo/DemoContainer #39139

Closed
2 tasks done
yalinn opened this issue Sep 24, 2023 · 1 comment
Closed
2 tasks done
Labels
component: pickers This is the name of the generic UI component, not the React module!

Comments

@yalinn
Copy link

yalinn commented Sep 24, 2023

Duplicates

  • I have searched the existing issues

Latest version

  • I have tested the latest version

Steps to reproduce 🕹

I tried this example with nextjs 12.3.4

Current behavior 😯

page doesn't load and gives an error

Expected behavior 🤔

A date-picker component

Context 🔦

image

I see error in below:
image

Your environment 🌎

npx @mui/envinfo ountput:

System:
    OS: Windows 10 10.0.22621
  Binaries:
    Node: 18.17.0 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.22.19 - ~\AppData\Roaming\npm\yarn.CMD
    npm: 9.7.2 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Chrome: Not Found
    Edge: Spartan (44.22621.2283.0), Chromium (117.0.2045.36)
  npmPackages:
    @emotion/react: ^11.11.1 => 11.11.1
    @emotion/styled: ^11.11.0 => 11.11.0
    @mui/base:  5.0.0-beta.16
    @mui/core-downloads-tracker:  5.14.10
    @mui/lab: ^5.0.0-alpha.145 => 5.0.0-alpha.145
    @mui/material: ^5.14.10 => 5.14.10
    @mui/private-theming:  5.14.10
    @mui/styled-engine:  5.14.10
    @mui/system: ^5.14.10 => 5.14.10
    @mui/types:  7.2.4
    @mui/utils: ^5.14.10 => 5.14.10
    @mui/x-data-grid: ^6.15.0 => 6.15.0
    @mui/x-date-pickers: ^6.15.0 => 6.15.0
    @mui/x-tree-view:  6.0.0-alpha.1
    @types/react: 18.0.8 => 18.0.8
    react: 18.2.0 => 18.2.0
    react-dom: 18.2.0 => 18.2.0
    typescript: 4.6.4 => 4.6.4

tsconfig.json:

{
  "compilerOptions": {
    "baseUrl": ".",
    "rootDir": "src",
    "target": "es6",
    "lib": [
      "dom",
      "dom.iterable",
      "esnext"
    ],
    "allowJs": true,
    "noImplicitAny": false,
    "skipLibCheck": true,
    "strict": true,
    "forceConsistentCasingInFileNames": true,
    "noEmit": true,
    "esModuleInterop": true,
    "module": "esnext",
    "moduleResolution": "node",
    "resolveJsonModule": true,
    "isolatedModules": true,
    "jsx": "preserve",
    "incremental": true,
    "paths": {
      "apexcharts": [
        "./node_modules/apexcharts-clevision"
      ],
      "apexcharts/*": [
        "./node_modules/apexcharts-clevision/*"
      ],
      "@core/*": [
        "./src/@core/*"
      ],
      "@components/*": [
        "./src/@core/components/*"
      ],
      "@services/*": [
        "./src/services/*"
      ],
    }
  },
  "include": [
    "src",
    "node_modules/@types"
  ],
  "exclude": [
    "node_modules"
  ]
}
@yalinn yalinn added the status: waiting for maintainer These issues haven't been looked at yet by a maintainer label Sep 24, 2023
@yalinn
Copy link
Author

yalinn commented Sep 24, 2023

i will take this issue to mui-x, I think it's wrong repo

@yalinn yalinn closed this as completed Sep 24, 2023
@zannager zannager added component: pickers This is the name of the generic UI component, not the React module! and removed status: waiting for maintainer These issues haven't been looked at yet by a maintainer labels Sep 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: pickers This is the name of the generic UI component, not the React module!
Projects
None yet
Development

No branches or pull requests

2 participants