Skip to content

Build failed in latest Next.js canary release, when Slider is used #403

@Nayeem-XTREME

Description

@Nayeem-XTREME

Steps to reproduce

Steps:

  1. Open this link to live example: https://codesandbox.io/p/devbox/mui-pigment-css-forked-2y5g78
  2. In latest nextjs canary release, build failed, when Slider is used. It shows the following error:

Image

Current behavior

Build failed.

Expected behavior

Build should be completed successfully.

Context

No response

Your environment

npx @mui/envinfo
System:
    OS: Linux 6.1 Debian GNU/Linux 12 (bookworm) 12 (bookworm)
  Binaries:
    Node: 20.12.0 - /usr/local/bin/node
    npm: 10.5.0 - /usr/local/bin/npm
    pnpm: 8.15.6 - /usr/local/share/npm-global/bin/pnpm
  Browsers:
    Chrome: Not Found
  npmPackages:
    @emotion/react: ^11.14.0 => 11.14.0 
    @emotion/styled: ^11.14.0 => 11.14.0 
    @mui/core-downloads-tracker:  7.1.0 
    @mui/material: ^7.1.0 => 7.1.0 
    @mui/material-nextjs: ^7.1.0 => 7.1.0 
    @mui/material-pigment-css: ^7.1.0 => 7.1.0 
    @mui/private-theming:  7.1.0 
    @mui/styled-engine:  7.1.0 
    @mui/system:  7.1.0 
    @mui/types:  7.4.2 
    @mui/utils:  6.2.0 
    @pigment-css/nextjs-plugin: ^0.0.30 => 0.0.30 
    @pigment-css/react:  0.0.30 
    @pigment-css/unplugin:  0.0.30 
    @types/react: ^19 => 19.0.1 
    react: ^19.1.0 => 19.1.0 
    react-dom: ^19.1.0 => 19.1.0 
    typescript: ^5 => 5.5.4 

Search keywords: slider, next.js

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions