NextLegacy
Deno + SvelteKit + Paraglide | Can not run dev server using deno because of "FsWatcher"
Hey there everyone :hooray_deno:
I have been trying out Deno for my SvelteKit projects and enjoying it so far. However, I ran into an issue when using Paraglide.
While running the development server, I keep encountering this error:
I suspect the issue might be with Paraglide or one of its dependencies, but I am not entirely sure how to fix it. After some failed tinkering and not beeing able to find the relevant part in the actual github repo of said library, Ive decided to try my luck here. I am not entirely sure if its a Paraglide or Deno issue, as node is running it just fine, and since it is a recommended package by the official SvelteKit CLI, it would be great if it worked out of the box with Deno.
Additional Context:
- The development server does not work, but it runs fine when building for production.
- I have read once that this error does not occur on non-Windows devices, so it might be a platform-specific issue. (not 100% sure on this, could not find the source again :/)
- vite.config.ts looks like this:
How to Reproduce:
1. Create a new SvelteKit project using the CLI:
2. Select Paraglide during setup.
3. install once and run the development server:
Thanks in advance for any help or guidance! :deno_thankyou:
2 replies