next-theme / hexo-theme-next

🎉 Elegant and powerful theme for Hexo.
https://theme-next.js.org
Other
2.31k stars 411 forks source link

v8.19.0 "The resource has been blocked" & "Uncaught TypeError" #728

Closed pilgrimlyieu closed 5 months ago

pilgrimlyieu commented 5 months ago

Issue Checklist

Expected behavior

All things normal.

Actual behavior

The official site

The page(not only the official site, but also my blog site after updating to v8.19.0) is empty and I get two errors in Console.(All things normal, without errors in Console in v8.18.2)

1

2

Steps to reproduce the behavior

  1. Visit the official site.

  1. Update blog NexT version to v8.19.0

Node.js and NPM Information

v18.17.0
9.6.7

Package dependencies Information

Seems to be irrelevant. I'll add if necessary.

Hexo Configuration

Seems to be irrelevant. I'll add if necessary.

NexT Configuration

Seems to be irrelevant. I'll add if necessary.

Other Information

Today I visit the official documentation and find it displays nothing. Then I update NexT to v8.19.0 via git pull and get the same thing occurred in my blog. And everything back to normal after using git reset --hard v8.18.2. As a result, I think it may have some thing to do with the new released version.

Otherwise, if it is the issue of my network, just close this issue as invalid.

Thanks in advance!

TScci commented 5 months ago

727

stevenjoezhang commented 5 months ago

Thanks for reporting, it's broken by https://github.com/next-theme/plugins/pull/266

stevenjoezhang commented 5 months ago

Fixed in c32066ae1ae90e18e46db0f672a9ea26756956c5, NexT v8.19.1 released