Development server broken on fresh install
See original GitHub issueHave you read the Contributing Guidelines on issues?
- I have read the Contributing Guidelines on issues.
Prerequisites
- I’m using the latest version of Docusaurus.
- I have tried the
npm run clear
oryarn clear
command. - I have tried
rm -rf node_modules yarn.lock package-lock.json
and re-installing packages. - I have tried creating a repro with https://new.docusaurus.io.
- I have read the console error message carefully (if applicable).
Description
npm run start
is not serving files on a fresh install
Reproducible 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
- node version: v18.3.0
- npm version: 8.5.5
- OS: archlinux
Self-service
- I’d be willing to fix this bug myself.
Issue Analytics
- State:
- Created a year ago
- Comments:8
Top Results From Across the Web
React app stuck on "Starting the development server"
Run npm install command before you start the server. Then if it is still not running, please try the second command.
Read more >How to troubleshoot Windows Installer errors - Microsoft Support
Describes how to troubleshoot problems that occur when you install, uninstall, or upgrade a program on a Windows-based computer by using Windows Installer....
Read more >Error : " Installing plugin @salesforce/lwc-dev-server... ! " when ...
I was trying to install the local Dev Server and when I execute this command it is throwing an error. C:\Users\Desktop\Salesforce> sfdx ...
Read more >Download MySQL Community Server
Minimal Install Test Suite, 8.0.31, 245.7M. Download. (mysql-test-8.0.31-linux-glibc2.17-x86_64-minimal.tar.xz), MD5: 7a3bdfc0fb03a7f38d266258fcfbbb37 | ...
Read more >Fix an installed Android app that isn't working - Google Support
Fix an installed Android app that isn't working. Try the following steps if an app ... Sync device with Google servers ... Contact...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@slorber I thought about hosts config issue, but
yarn serve
being able to work is the interesting part.Working for now with
--host 0.0.0.0
. Thanks a bunch