Please search other issues to make sure this bug has not already been reported.
Then fill in the sections below.
Describe the bug
From a shell, create a new project using vite by running npm create vite@latest
Use the default project name vite-project or enter a new one.
➜ npm create vite@latest
✔ Project name: … vite-project
? Select a framework: › - Use arrow-keys. Return to submit.
❯ vanilla
vue
react
preact
lit
svelte
It doesn't matter which project type you choose, but I chose React
change to the new folder, e.g. vite-project
run npm run dev
a React vite based app loads uo
Stop the server by pressing CTRL + C
run ntl dev
the vite based server starts up, but the Netlify CLI is hanging waiting for port 3000
➜ ntl dev
◈ Netlify Dev ◈
◈ Ignored general context env var: LANG (defined in process)
◈ Starting Netlify Dev with Vite
> vite-broken-with-ntl@0.0.0 dev
> vite
VITE v3.0.2 ready in 5255 ms
➜ Local: http://127.0.0.1:5173/
➜ Network: use --host to expose
⠧ Waiting for framework port 3000. This can be configured using the 'targetPort' property in the netlify.toml
Configuration
N/A
Pull requests
Pull requests are welcome! If you would like to help us fix this bug, please check our
contributions guidelines.
Thanks for reporting this bug!
Please search other issues to make sure this bug has not already been reported.
Then fill in the sections below.
Describe the bug
npm create vite@latest
vite-project
or enter a new one.vite-project
npm run dev
ntl dev
Configuration
N/A
Pull requests
Pull requests are welcome! If you would like to help us fix this bug, please check our contributions guidelines.