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.

Offline docs dump broken

See original GitHub issue

Hi. I’m the maintainer of https://kapeli.com/mdn_offline, an offline dump of the docs found on MDN.

I’m not able to get the docs to work offline anymore. All pages show this error:

Screenshot 2021-01-06 at 18 13 50

This might be related to/caused by https://github.com/mdn/yari/pull/2010, but I’m not sure.

You can replicate the error by downloading CSS.zip and loading Documents/developer.mozilla.org/en-US/docs/Web/CSS/display.html.

I tried removing the JS completely from the pages and that causes the pages to display just fine, except that the compatibility tables don’t show up anymore.

Any idea how I should proceed or what would be the best place to disable the display of that error page? Any help is greatly appreciated.

Thank you!

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
kaveinthrancommented, Jan 11, 2021

I am not sure if this is a correct reply for an individual who works and democratise mdn to those who do not have good bandwith, it sounds like people know less manners than coding

0reactions
Ryuno-Kicommented, Jan 26, 2021

In #2299 it sounds like a service-worker approach was thought about.

The „problem” you’re having next @Kapeli, is that the page gets rendered with React. Perhaps you can wait until the content was migrated over to Markdown? It should be possible to pipe that through a static site generator to recreate an offline version, I think.

Read more comments on GitHub >

github_iconTop Results From Across the Web

"Clear browsing data" suddenly breaks offline file access
I "clear browsing data" once a day. I use Google Docs offline several times a week. Until today, these two habits had no...
Read more >
Make --generate-only also take --offline optionally #5448
The instructions here are broken: https://hub.cosmos.network/docs/delegator-guide-cli.html#signing-transactions-from-an-offline-computer
Read more >
What are tips for using Google Docs when offline? - Quora
To start, go to docs[.]google[.]com (/spreadsheets or /presentations for Sheets or Slides) and your available documents will load, even if you are offline!...
Read more >
Maintaining Checkpoint Files Offline
In addition, if the live database configuration file is lost or broken, you will also need the aaaaaaaa.cnf file from the dmp directory....
Read more >
Troubleshooting ZFS Dump Device Issues
Review the following items if you have problems either capturing a system crash dump or resizing the dump device.
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