cli icon indicating copy to clipboard operation
cli copied to clipboard

Time out during "Waiting for framework port" when index results in 404

Open tomlschmidt opened this issue 2 years ago • 1 comments

Describe the bug

My Gatsby page doesn't have a page at index, which seems for the CLI to not notice when the framework port becomes available using the dev command. As soon as I add an index.js, the CLI works as intended.

Steps to reproduce

  1. Create a new Gatsby site
  2. Remove the index.js file
  3. Start the Netlify dev server using netlify dev
  4. See that "Waiting for framework port 8000" message is being shown even when the Gatsby development server is already available at "localhost:8000"
  5. Add an index.js file and see that the CLI works as intended

Configuration

No response

Environment

System: OS: Windows 10 10.0.19045 CPU: (8) x64 Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz Memory: 4.19 GB / 31.94 GB Binaries: Node: 18.16.0 - C:\Program Files\nodejs\node.EXE
npm: 8.16.0 - C:\Program Files\nodejs\npm.CMD

tomlschmidt avatar Jul 04 '23 15:07 tomlschmidt