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
{{ message }}
This repository was archived by the owner on Dec 12, 2025. It is now read-only.
(2025-07-01 15:29:13): Error: Can't find an instance of @vitejs/plugin-react or @vitejs/plugin-react-swc. You should apply either of these plugins to make mdx work.
(2025-07-01 15:29:13): at BasicMinimalPluginContext.configResolved (/Users/FireTable/.component-studio/0.1.8/node_modules/vite-plugin-react-pages/src/node/index.ts:397:15)
(2025-07-01 15:29:13): at file:///Users/FireTable/.component-studio/0.1.8/node_modules/vite/dist/node/chunks/dep-Bsx9IwL8.js:36231:87
(2025-07-01 15:29:13): at Array.map (<anonymous>)
(2025-07-01 15:29:13): at resolveConfig (file:///Users/FireTable/.component-studio/0.1.8/node_modules/vite/dist/node/chunks/dep-Bsx9IwL8.js:36231:68)
(2025-07-01 15:29:13): at _createServer (file:///Users/FireTable/.component-studio/0.1.8/node_modules/vite/dist/node/chunks/dep-Bsx9IwL8.js:28331:67)
(2025-07-01 15:29:13): at setupClient (file:///Users/FireTable/.component-studio/0.1.8/node_modules/vite-plugin-blocklet/libs/client.js:64:18)
(2025-07-01 15:29:13): at /Users/FireTable/.component-studio/0.1.8/api/dev.ts:8:25]
The reason is that since version 4.5.0,
typeof p.transform === “function”)is an object.related: https://github.com/vitejs/vite-plugin-react/blob/plugin-react%404.5.1/packages/plugin-react/src/index.ts#L201