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

Compatiblity with [email protected] #382

Open
MatthieuCoelho opened this issue Feb 20, 2025 · 0 comments
Open

Compatiblity with [email protected] #382

MatthieuCoelho opened this issue Feb 20, 2025 · 0 comments
Assignees
Labels
package: system Specific to @mui/system status: waiting for maintainer These issues haven't been looked at yet by a maintainer

Comments

@MatthieuCoelho
Copy link

Using :

With : vite.config.ts:

pigment({
  transformLibraries: ['@mui/material']
})

Produce this error :
undefined: You have specified "@mui/material" in "transformLibraries" but it is not installed.

Seems like it come from :

const pkg = require(`${lib}/package.json`) as PigmentMeta;

Cannot find module 'node_modules/@mui/material/package.json/index.js'

@github-actions github-actions bot added the status: waiting for maintainer These issues haven't been looked at yet by a maintainer label Feb 20, 2025
@zannager zannager added the package: system Specific to @mui/system label Feb 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package: system Specific to @mui/system status: waiting for maintainer These issues haven't been looked at yet by a maintainer
Projects
None yet
Development

No branches or pull requests

3 participants