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.

After hexo upgrading 4.2.0, hexo-pwa fails to generate html.

See original GitHub issue

The root cause is that

@mystic-cg

Locals.cache should only be considered as an Internal private API. After c6e6e6b#diff-8706ed85bcc456bc4bd99698f3cb949dR7 the Locals.cache is now Locals.cache.cache.

According to Hexo API’s documents, there is already a method called Locals.toObject(). The developer should always using public API for consistency. Please open an issue at hexo-pwa and asking them for using Locals.toObject() instead of Locals.cache.

Related issue: tea3/hexo-related-popular-posts#23

After upgrading 4.2.0, it caused that generating html with hexo-pwa is failed #4044 https://github.com/hexojs/hexo/issues/4044

Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:3
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

3reactions
puremanacommented, Jun 12, 2020

Can this please get merged

1reaction
marcofranssencommented, Jul 2, 2020

@puremana I could have a look if that is possible, but I think I will have to publish under a different name. Not sure at what timeframe I would have time for that though.

Read more comments on GitHub >

github_iconTop Results From Across the Web

After upgrading 4.2.0, it caused that generating html with hexo ...
hexo g is successful. Actual behavior. hexo g is failed. How to reproduce? Using hexo-pwa plugin, then hexo g. Environment & Settings.
Read more >
Issues · lavas-project/hexo-pwa · GitHub
After hexo upgrading 4.2.0, hexo-pwa fails to generate html. ... ProTip! Exclude everything labeled bug with -label:bug. Footer.
Read more >
Troubleshooting | Hexo
Upgrading to hexo^6.1.0 from an older version may cause the following error when running $ hexo generate : YAMLException: Specified ...
Read more >
Github Pages + jekyll 全面介绍极简搭建个人网站和博客 - jsDelivr
#apt-get update && apt-get upgrade 这次才是真的升级系统。 ... Current Wanted Latest Location hexo 3.9.0 3.9.0 4.2.0 hexo-site hexo-deployer-git 1.0.0 1.0.0 ...
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