Hugos68 / capkit

CLI to integrate Capacitor into SvelteKit
https://www.npmjs.com/package/capkit
MIT License
40 stars 1 forks source link

[Bug]: no such file or directory, open './vite.config.ts' #75

Open bluepuma77 opened 6 months ago

bluepuma77 commented 6 months ago

It seems that capkit is fixed to vite.config.ts:

% npm run dev:cap
...
[Error: ENOENT: no such file or directory, open './vite.config.ts'] {
  errno: -2,
  code: 'ENOENT',
  syscall: 'open',
  path: './vite.config.ts'
}

Newer svelte can be set to JSDoc, which might cause the use of vite.config.js (which exists locally).

Hugos68 commented 5 months ago

Hey @bluepuma77 Thanks for reporting this, I will look into it and report back.