question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

docusaurus-build generates a broken website

See original GitHub issue

🐛 Bug Report

(I did not change anything in the website/configurations)

image

image

Reproducible Demo

https://github.com/stavalfi/docusaurus-broken-build

nothing was changed in siteConfig.js.


node v: v8.11.3 (later tested with 10.10.3 as well - same results). yarn v: 1.16.0 mac v: mojave 10.14.3

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
endilieycommented, Aug 16, 2019

Build is not broken. You are probably serving the build dir from wrong folder.

What command did you run to serve the build locally ? Send screencast …

Will re-open if proven not working

0reactions
slorbercommented, Jul 17, 2020

@LLejoly there’s ongoing work to provide an official “docusaurus serve” command: https://github.com/facebook/docusaurus/issues/3062

This is a jamstack SPA project, not all http servers will work perfectly with it, so we’d rather recommend one.

Read more comments on GitHub >

github_iconTop Results From Across the Web

docusaurus.config.js
The broken links detection is only available for a production build ( docusaurus build ).
Read more >
Deep linking in docusaurus generated site fails. Why? [closed]
ampersandtarski.github.io is a site generated with docusaurus and hosted by github pages. Currently, during generation docusaurus doesn't detect ...
Read more >
Internal Links Checker | Voters - Docusaurus
Check that internal links on the pages are not broken. Links often break when we restructure docs/move things around and it would be...
Read more >
Create a site with markdown - Docusaurus Tutorial - 雑多制作
md file in the docs directory to create a page. Customizing CSS; Build for the production environment; Notes on building; Check the built...
Read more >
Documentation Introduction | Operational Recovery Cloud ...
The project utilizes the open-source static website generator Docusaurus to build ... Under the docs/about directory information is broken up based on the ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found