-
-
Notifications
You must be signed in to change notification settings - Fork 8.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Development server broken on fresh install #7571
Comments
Failing for both typescript and js versions. But both build/serve fine |
Interesting that build + serve works: that's a pretty critical piece of information. I still strongly suspect there's something going on with the system setup, but I don't know how to debug this. Leaving this open until someone can chime in. Have you tried running |
The dev server seems to be running/watching at least:
|
Yeah, that part is an FS watcher that doesn't go over the wires. So somewhere between the dev server and the browser things stopped working. You mentioned on Discord that running CRA/Next.js worked, which is even weirder, because AFAIK we use a dev server setup quite similar to CRA. You can try messing with |
Working for now with |
afaik it may happen in case you messed up things in |
@slorber I thought about hosts config issue, but |
Hey—I suspect this is a websocket error. I don't have the infrastructure needed to reproduce this, so I'm going to close this for the same reason as #3652. It doesn't mean we 100% dismiss this as not our issue, but this is unactionable unless someone can step in and narrow it down to a specific place in our code. Meanwhile developing on |
Have you read the Contributing Guidelines on issues?
Prerequisites
npm run clear
oryarn clear
command.rm -rf node_modules yarn.lock package-lock.json
and re-installing packages.Description
npm run start
is not serving files on a fresh installReproducible demo
No response
Steps to reproduce
npx create-docusaurus@latest my-website classic --typescript
cd my-website
npm run start
Expected behavior
I expect to see some ouptut at
localhost:3000
.Actual behavior
Navigating to
localhost:3000
complains with "This site can’t be reached".Must be some problem with the development stack itself:
npm run build
+npm run serve
works as expected.Your environment
Self-service
The text was updated successfully, but these errors were encountered: