-
-
Notifications
You must be signed in to change notification settings - Fork 179
Description
Related plugins
Describe the bug

failed to load config from /Users/vivo/Desktop/code/fun-family/app/desktop/vite.config.ts
error when starting dev server:
Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/Users/vivo/Desktop/code/fun-family/node_modules/.pnpm/@vitejs[email protected]_vite@7.0.6_@types[email protected]_jiti@[email protected]_d2ad0ec9725602cba6b392e826a9093e/node_modules/@rolldown/pluginutils/dist/esm/index.js' imported from /Users/vivo/Desktop/code/fun-family/node_modules/.pnpm/@vitejs[email protected]_vite@7.0.6_@types[email protected]_jiti@[email protected]_d2ad0ec9725602cba6b392e826a9093e/node_modules/@vitejs/plugin-vue-jsx/dist/index.mjs
at finalizeResolution (node:internal/modules/esm/resolve:275:11)
at moduleResolve (node:internal/modules/esm/resolve:860:10)
at defaultResolve (node:internal/modules/esm/resolve:984:11)
at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:780:12)
at #cachedDefaultResolve (node:internal/modules/esm/loader:704:25)
at ModuleLoader.resolve (node:internal/modules/esm/loader:687:38)
at ModuleLoader.getModuleJobForImport (node:internal/modules/esm/loader:305:38)
at ModuleJob._link (node:internal/modules/esm/module_job:137:49)
ELIFECYCLE Command failed with exit code 1.
Error The "beforeDevCommand" terminated with a non-zero status code.
Reproduction
无
Steps to reproduce
No response
System Info
❯ npx envinfo --system --npmPackages '{vite,@vitejs/*}' --binaries --browsers
System:
OS: macOS 15.5
CPU: (10) arm64 Apple M1 Pro
Memory: 166.66 MB / 16.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 22.16.0 - /usr/local/bin/node
Yarn: 1.22.22 - /usr/local/bin/yarn
npm: 10.9.2 - /usr/local/bin/npm
pnpm: 10.12.1 - ~/.volta/bin/pnpm
bun: 1.1.34 - ~/.bun/bin/bun
Browsers:
Chrome: 138.0.7204.158
Edge: 138.0.3351.95
Safari: 18.5
npmPackages:
@vitejs/plugin-legacy: 7.1.0 => 7.1.0
@vitejs/plugin-vue: 6.0.0 => 6.0.0
@vitejs/plugin-vue-jsx: 5.0.1 => 5.0.1
vite: 7.0.6 => 7.0.6
Used Package Manager
npm
Logs
No response
Validations
- Follow our Code of Conduct
- Read the Contributing Guidelines.
- Read the docs.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to vuejs/core instead.
- Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
- The provided reproduction is a minimal reproducible example of the bug.