You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm running a pretty standard Vue3+Vuetify3 app using vite dev --port 4173 on WSL2 Ubunutu in Windows 11.
When I run that using NodeJS v20.2.0 - the HEAD request hangs:
curl -I -vvv http://localhost:4173
* Trying 127.0.0.1:4173...
* Connected to localhost (127.0.0.1) port 4173 (#0)
> HEAD / HTTP/1.1
> Host: localhost:4173
> User-Agent: curl/7.81.0
> Accept: */*
>
* Empty reply from server
* Closing connection 0
curl: (52) Empty reply from server
Using NodeJS v18.16.0 works fine:
curl -I -vvv http://localhost:4173
* Trying 127.0.0.1:4173...
* Connected to localhost (127.0.0.1) port 4173 (#0)
> HEAD / HTTP/1.1
> Host: localhost:4173
> User-Agent: curl/7.81.0
> Accept: */*
>
* Mark bundle as not supporting multiuse
< HTTP/1.1 200 OK
HTTP/1.1 200 OK
< Access-Control-Allow-Origin: *
Access-Control-Allow-Origin: *
< Content-Type: text/html
Content-Type: text/html
< Cache-Control: no-cache
Cache-Control: no-cache
< Etag: W/"2e5-rOV4vEzkz6DnLolVVxxbqFuqXGQ"
Etag: W/"2e5-rOV4vEzkz6DnLolVVxxbqFuqXGQ"
< Date: Wed, 31 May 2023 01:49:18 GMT
Date: Wed, 31 May 2023 01:49:18 GMT
< Connection: keep-alive
Connection: keep-alive
< Keep-Alive: timeout=5
Keep-Alive: timeout=5
<
* Connection #0 to host localhost left intact
* ```
### Reproduction
https://stackblitz.com/edit/vitejs-vite-bhemx7?file=package.json&terminal=dev
### Steps to reproduce
1. Download repro from stackblitz
2. `nvm i 20`
3. `npm i`
4. `npm start`
5. In another terminal `curl -I -vvv http://localhost:4173`
### System Info
```shell
System:
OS: Linux 5.15 Ubuntu 22.04.2 LTS 22.04.2 LTS (Jammy Jellyfish)
CPU: (20) x64 12th Gen Intel(R) Core(TM) i9-12900H
Memory: 21.21 GB / 31.19 GB
Container: Yes
Shell: 5.1.16 - /bin/bash
Binaries:
Node: 16.13.0 - ~/.nvm/versions/node/v16.13.0/bin/node
Yarn: 1.22.19 - ~/.nvm/versions/node/v16.13.0/bin/yarn
npm: 8.1.0 - ~/.nvm/versions/node/v16.13.0/bin/npm
Browsers:
Chrome: 113.0.5672.92
npmPackages:
@vitejs/plugin-vue: ^4.2.1 => 4.2.1
@vitejs/plugin-vue-jsx: ^3.0.1 => 3.0.1
vite: ^4.3.9 => 4.3.9
Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to vuejs/core instead.
Describe the bug
I'm running a pretty standard Vue3+Vuetify3 app using
vite dev --port 4173
on WSL2 Ubunutu in Windows 11.When I run that using NodeJS v20.2.0 - the HEAD request hangs:
Using NodeJS v18.16.0 works fine:
Used Package Manager
npm
Logs
Click to expand!
Validations
The text was updated successfully, but these errors were encountered: