- 
          
- 
        Couldn't load subscription status. 
- Fork 32.7k
Closed
Labels
examplesRelating to /examples.Relating to /examples.package: pigment-cssSpecific to Pigment CSS.Specific to Pigment CSS.platform: windowstype: bugIt doesn't behave as expected.It doesn't behave as expected.
Description
Steps to reproduce
Link to live example: /examples/material-ui-pigment-css-vite-ts
Steps:
- Follow the README instructions
- Receive following error to the console while running npm run dev:
Uncaught Error: @pigment-css/react: You were trying to call "generateAtomics" function without configuring your bundler. Make sure to install the bundler specific plugin and use it. @pigment-css/vite-plugin for Vite integration or @pigment-css/nextjs-plugin for Next.js integration.
Current behavior
Not working
Expected behavior
Things to work
Context
No response
Your environment
Environment
  System:
    OS: Windows 10 10.0.19045
  Binaries:
    Node: 20.9.0 - C:\Program Files\nodejs\node.EXE
    npm: 8.4.1 - ~\AppData\Roaming\npm\npm.CMD
    pnpm: Not Found
  Browsers:
    Chrome: 128.0.6613.84
    Edge: Chromium (127.0.2651.74)
  npmPackages:
    @emotion/react:  11.13.3
    @emotion/styled:  11.13.0
    @mui/core-downloads-tracker:  6.0.0
    @mui/material: next => 6.0.0-rc.0
    @mui/material-pigment-css: next => 6.0.0-rc.0
    @mui/private-theming:  6.0.0-rc.0
    @mui/styled-engine:  6.0.0-rc.0
    @mui/system:  6.0.0-rc.0
    @mui/types:  7.2.16
    @mui/utils:  6.0.0-rc.0
    @pigment-css/react:  0.0.20
    @pigment-css/vite-plugin: latest => 0.0.20
    @types/react: latest => 18.3.4
    react: latest => 18.3.1
    react-dom: latest => 18.3.1
    typescript: latest => 5.5.4
Search keywords: vite, pigment-css
endaquigley and oliviertassinari
Metadata
Metadata
Assignees
Labels
examplesRelating to /examples.Relating to /examples.package: pigment-cssSpecific to Pigment CSS.Specific to Pigment CSS.platform: windowstype: bugIt doesn't behave as expected.It doesn't behave as expected.
Projects
Status
Done