Skip to content

#16135 introduced development server bug #16245

@ZerdoX-x

Description

@ZerdoX-x

Describe the bug

vite dev boots up the server, but it doesn't respond to several file requests, causing the page to infinitely load

Affected vite plugin (in my case): @inlang/paraglide-js-adapter-sveltekit

@knd775 probably has other affected plugin (as paraglide tool it not very popular), but we don't know which one yet.

I can confirm that #16135 introduced a bug. I have built vite locally and all commits after 5.2.0-beta.0 and before #15135 work fine.

More info: #16135 (comment) 1220740873273475162 (discord thread)

UPD0: I have tried to reproduce the issue without sveltekit, no luck.
UPD1: Sveltekit issue sveltejs/kit#12020

Reproduction

https://git.sr.ht/~zerdox/paraglide-js-adapter-sveltekit_incompatibility_vite-5.2.0-beta.1

Steps to reproduce

  1. pnpm i
  2. pnpm run dev or pnpm vite dev

Probably could be reproduced with other package managers too.

System Info

System:
    OS: Linux 6.6 Gentoo Linux
    CPU: (8) arm64 unknown
    Memory: 6.10 GB / 15.27 GB
    Container: Yes
    Shell: 5.2.26 - /bin/bash
  Binaries:
    Node: 20.11.0 - /run/user/1000/fnm_multishells/9198_1711199923378/bin/node
    Yarn: 1.22.19 - /usr/bin/yarn
    npm: 10.2.4 - /run/user/1000/fnm_multishells/9198_1711199923378/bin/npm
    pnpm: 8.15.4 - ~/.local/share/pnpm/pnpm
    bun: 1.0.30 - ~/.local/share/bun/bin/bun
  Browsers:
    Chromium: 116.0.5845.187
  npmPackages:
    vite: 5.2.4 => 5.2.4

Used Package Manager

pnpm

Logs

No response

Validations

Metadata

Metadata

Assignees

No one assigned

    Labels

    p3-downstream-blockerBlocking the downstream ecosystem to work properly (priority)regressionThe issue only appears after a new release

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions