build just gives empty website
See original GitHub issueBug Report
I open /dist/index.html and it’s an empty page
I build the docs with docz build
To Reproduce
- Created a doczrc.json
{
"src": "./mdDocs",
"typescript": true,
"themeConfig": {
"mode": "dark"
}
}
- put a few mdx files in that folder
- Run
docz dev
, server runs can see my documents - Run
docz build
, go to .docz/dist/index.html and it’s and empty page
Expected behavior
Shouldn’t I see in that index.html the same I see in the devserver?
Environment
- OS: Ubuntu 18.04.1
- Node/npm version: v10.7.0
Issue Analytics
- State:
- Created 5 years ago
- Comments:9 (1 by maintainers)
Top Results From Across the Web
Blank page after running build on create-react-app
I eventually figured out that the problem was react-router . I was using a BrowserRouter . Switching to a HashRouter solved the problem...
Read more >Development page blank on first load · Issue #5809 - GitHub
If you open it directly in the browser, you will see an empty page. You can add webfonts, meta tags, or analytics to...
Read more >Blank page after compile vue application - Fixed - YouTube
Script:https://github.com/alcarazolabs/surflaweb-scripts/blob/main/vue.config.js.
Read more >IIS Website Just Shows a Blank Page - YouTube
One of the most valuable skills a software developer can gain is the ability to troubleshoot problems. In this video I walk through...
Read more >Site is live, but sill blank screen (react app) - Support
netlify. Build runs find both in terminal and netlify but crashes once deployed. Deployed and published, but getting either 404 or an empty...
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
I know this issue is closed - but I can’t see the
doczrc.js
link that @ilyanoskov posted.I’m getting the same problem - after the build I’m getting the error. The dev runs fine, but after I build and run
live-server
it gives me this error.Live server runs on port
127.0.0.1:8080
- is that where my problem is?WebSocket connection to 'ws://127.0.0.1:60505/' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED
@hayk94 for Github Pages to work I enabled hashRouter:true. You can see the whole
doczrc.js
file here: https://github.com/sumup/circuit-ui/blob/docz/doczrc.js