cyco130/svelte-kit-node-loader

Error with npm run dev

Closed this issue · 1 comments

I get an error like the one below. I would appreciate it if you could tell me how to deal with it.

D:\repository\svelte-kit-node-loader>npm run dev

> svelte-kit-node-loader@0.0.1 dev
> vavite-loader vite dev

Error: spawn vite ENOENT
    at Process.ChildProcess._handle.onexit (node:internal/child_process:283:19)
    at onErrorNT (node:internal/child_process:478:16)
    at processTicksAndRejections (node:internal/process/task_queues:83:21) {
  errno: -4058,
  code: 'ENOENT',
  syscall: 'spawn vite',
  path: 'vite',
  spawnargs: [ 'dev' ]
}

Fixed in @vavite/nodel-loader@1.6.1. Thanks for reporting!