vite vue3 错误处理

vite vue3 报错:

$ vite
events.js:377
      throw er; // Unhandled 'error' event
      ^

Error: spawn D:\project\3rd-vite-vue3\node_modules\esbuild\esbuild.exe ENOENT
    at Process.ChildProcess._handle.onexit (internal/child_process.js:269:19)
    at onErrorNT (internal/child_process.js:467:16)
    at processTicksAndRejections (internal/process/task_queues.js:82:21)
Emitted 'error' event on ChildProcess instance at:
    at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
    at onErrorNT (internal/child_process.js:467:16)
    at processTicksAndRejections (internal/process/task_queues.js:82:21) {
  errno: -4058,
  code: 'ENOENT',
  syscall: 'spawn D:\\project\\3rd-vite-vue3\\node_modules\\esbuild\\esbuild.exe',
  path: 'D:\\project\\3rd-vite-vue3\\node_modules\\esbuild\\esbuild.exe',
  spawnargs: [ '--service=0.12.15', '--ping' ]
}
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
// 先执行
node node_modules/esbuild/install.js、
//  再执行
yarn dev