Devcontainer: vite dev
localhost doesn't work, but --host
Network IP does
#17414
Closed
7 tasks done
Labels
Describe the bug
from the
vanilla-ts
template, and a basic"image": "mcr.microsoft.com/devcontainers/typescript-node:1-22"
devcontainerNote: I tested a with a
"image": "mcr.microsoft.com/devcontainers/python:1-3"
devcontainer (that uses the same Debian 12 OS) withfastapi dev
from the minimal starting example, and the local IP (http://localhost:8000/ - http://127.0.0.1:8000/) workedReproduction
.devcontainer/devcontainer.json
)pnpm create vite my-vue-app --template vanilla-ts cd my-vue-app pnpm install pnpm run dev --host
Steps to reproduce
npm install && npm run dev
System Info
System: OS: Linux 6.8 Debian GNU/Linux 12 (bookworm) 12 (bookworm) CPU: (16) x64 AMD Ryzen 7 5800H with Radeon Graphics Memory: 6.17 GB / 13.49 GB Container: Yes Shell: 5.2.15 - /bin/bash Binaries: Node: 22.2.0 - /usr/local/bin/node Yarn: 1.22.19 - /usr/local/bin/yarn npm: 10.7.0 - /usr/local/bin/npm pnpm: 9.1.3 - /usr/local/share/npm-global/bin/pnpm npmPackages: vite: ^5.2.0 => 5.2.12
Used Package Manager
pnpm
Logs
`pnpm vite --debug`
"Dev Containers" Window Logs
Validations
The text was updated successfully, but these errors were encountered: