Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sveltekit: Svelte-Kit Dev Is No Longer Available Use Vite Dev Instead #790

Open
Tam2 opened this issue Aug 17, 2022 · 0 comments
Open

Sveltekit: Svelte-Kit Dev Is No Longer Available Use Vite Dev Instead #790

Tam2 opened this issue Aug 17, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@Tam2
Copy link

Tam2 commented Aug 17, 2022

Describe the bug
On newer versions of SvelteKit you can no longer run svelte-kit dev it's changed to use vite directly

sveltejs/kit#5332

> svelte-kit dev is no longer available — use vite dev instead
  1. Install vite as a devDependency with npm/pnpm/etc
  2. Create a vite.config.js with the @sveltejs/kit/vite plugin (see below)
  3. Update your package.json scripts to reference `vite dev` instead of `svelte-kit dev`

To Reproduce
Try and run nx serve on new versions and get the above error

Expected behavior
We should be able to run the applications on new versions of svelte

@Tam2 Tam2 added the bug Something isn't working label Aug 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant