10000 Vitest Unknown file extension ".css" error even when not using data-grid V8 · Issue #4938 · mui/toolpad · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Vitest Unknown file extension ".css" error even when not using data-grid V8 #4938

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

Closed
sampain opened this issue May 8, 2025 · 3 comments
Closed
Assignees
Labels
component: data grid This is the name of the generic UI component, not the React module! external dependency Blocked by external dependency, we can’t do anything about it Toolpad

Comments

@sampain
Copy link
sampain commented May 8, 2025

Steps to reproduce

No response

Current behavior

I updated to 0.15 from 0.12.
I'm pretty much having this issue: mui/mui-x#17427

However I'm not using CRUD and I'm still using data-grid v7 elsewhere.
That means that the workaround used here doesn't work since in my node_modules, the x-data-grid v8 is there: "node_modules/@toolpad/core/node_modules/@mui/x-data-grid"

That said, this workaround seems to work:
test: { server: { deps: { inline: ['@toolpad/core'] } } }

Would that be the correct way to work around this issue for now?

Expected behavior

No response

Context

No response

Your environment

npx @mui/envinfo
  Don't forget to mention which browser you used.
  Output from `npx @mui/envinfo` goes here.

Search keywords: DataGrid v8 css Unknown file extension vitest

@sampain sampain added the status: waiting for maintainer These issues haven't been looked at yet by a maintainer label May 8, 2025
@FinPlorer
Copy link

same

@zannager zannager added component: data grid This is the name of the generic UI component, not the React module! Toolpad labels May 12, 2025
@apedroferreira
Copy link
Member

Hi! Yes, that's probably the best way to fix this issue for now until MUI X fixes it on their end.

Copy link

This issue has been closed. If you have a similar problem but not exactly the same, please open a new issue.
Now, if you have additional information related to this issue or things that could help future readers, feel free to leave a comment.

@github-actions github-actions bot removed the status: waiting for maintainer These issues haven't been looked at yet by a maintainer label May 13, 2025
@oliviertassinari oliviertassinari added the external dependency Blocked by external dependency, we can’t do anything about it label May 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: data grid This is the name of the generic UI component, not the React module! external dependency Blocked by external dependency, we can’t do anything about it Toolpad
Projects
None yet
Development

No branches or pull requests

5 participants
0