You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Startup Error ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
TypeError: allTestFiles.filter is not a function
at config (file:///Users/dev/mui/mui-x/node_modules/.pnpm/@vitest+browser@2.0.5_playwright@1.44.1_typescript@5.5.4_vitest@2.1.1/node_modules/@vitest/browser/dist/index.js:2162:47)
at async runConfigHook (file:///Users/dev/mui/mui-x/node_modules/.pnpm/vite@5.3.4_@types+node@20.16.5_terser@5.27.0/node_modules/vite/dist/node/chunks/dep-D8YhmIY-.js:67015:19)
at async resolveConfig (file:///Users/dev/mui/mui-x/node_modules/.pnpm/vite@5.3.4_@types+node@20.16.5_terser@5.27.0/node_modules/vite/dist/node/chunks/dep-D8YhmIY-.js:66466:12)
at async _createServer (file:///Users/dev/mui/mui-x/node_modules/.pnpm/vite@5.3.4_@types+node@20.16.5_terser@5.27.0/node_modules/vite/dist/node/chunks/dep-D8YhmIY-.js:63050:18)
at async createBrowserServer (file:///Users/dev/mui/mui-x/node_modules/.pnpm/@vitest+browser@2.0.5_playwright@1.44.1_typescript@5.5.4_vitest@2.1.1/node_modules/@vitest/browser/dist/index.js:2501:16)
at async WorkspaceProject.initBrowserServer (file:///Users/dev/mui/mui-x/node_modules/.pnpm/vitest@2.1.1_@types+node@20.16.5_@vitest+browser@2.0.5_jsdom@24.1.3_msw@2.4.4_typescript@5.5.4__terser@5.27.0/node_modules/vitest/dist/chunks/cli-api.BKkmK21J.js:9483:21)
at async WorkspaceProject.setServer (file:///Users/dev/mui/mui-x/node_modules/.pnpm/vitest@2.1.1_@types+node@20.16.5_@vitest+browser@2.0.5_jsdom@24.1.3_msw@2.4.4_typescript@5.5.4__terser@5.27.0/node_modules/vitest/dist/chunks/cli-api.BKkmK21J.js:9549:5)
at async configureServer (file:///Users/dev/mui/mui-x/node_modules/.pnpm/vitest@2.1.1_@types+node@20.16.5_@vitest+browser@2.0.5_jsdom@24.1.3_msw@2.4.4_typescript@5.5.4__terser@5.27.0/node_modules/vitest/dist/chunks/cli-api.BKkmK21J.js:9028:9)
at async _createServer (file:///Users/dev/mui/mui-x/node_modules/.pnpm/vite@5.3.4_@types+node@20.16.5_terser@5.27.0/node_modules/vite/dist/node/chunks/dep-D8YhmIY-.js:63372:20)
at async createViteServer (file:///Users/dev/mui/mui-x/node_modules/.pnpm/vitest@2.1.1_@types+node@20.16.5_@vitest+browser@2.0.5_jsdom@24.1.3_msw@2.4.4_typescript@5.5.4__terser@5.27.0/node_modules/vitest/dist/chunks/cli-api.BKkmK21J.js:9050:18)
ELIFECYCLE Command failed with exit code 1.
Describe the bug
Reproduction
While working on this PR: mui/mui-x#14508
Tests run normally on
2.0.5
Upgrade vitest to 2.1.0, the error will appear.
If you remove the
browser
section in the config, it works. I don't know exactly what causes it though, as I couldn't reproduce in a smaller repo.System Info
Used Package Manager
pnpm
Validations
The text was updated successfully, but these errors were encountered: