vuepress / vuepress-theme-blog

Default blog theme for VuePress.
https://vuepress-theme-blog.billyyyyy3320.com/
MIT License
211 stars 129 forks source link

Cannot read property 'interval' of undefined #106

Closed rastislavcore closed 3 years ago

rastislavcore commented 3 years ago

Bug report

Steps to reproduce

After building the website it appears, that it breaks with pagination.

Getting error:

wait Rendering static HTML...
[Vue warn]: Error in render: "TypeError: Cannot read property 'interval' of undefined"

found in

---> <BaseListLayout>
       <Anonymous>
         <GlobalLayout>
           <Anonymous>
             <Root>
error Error rendering /anime/1/: false
undefined

For the first article.

More here: https://uwaylu.github.io/blog/2020/02/24/hello-blog/

What is expected?

yarn build without issues

What is actually happening?

Project cannot be built.

Other relevant information

One workaround can be found here https://www.gitmemory.com/issue/ulivz/vuepress-plugin-blog/1/504744139 But unfortunately not solving the issue.

  Binaries:
    Node: 11.13.0 - ~/.nvm/versions/node/v11.13.0/bin/node
    Yarn: 1.22.4 - ~/.yarn/bin/yarn
    npm: 6.14.6 - ~/.nvm/versions/node/v11.13.0/bin/npm
  Browsers:
    Chrome: Not Found
    Edge: Not Found
    Firefox: 81.0
    Safari: Not Found
  npmPackages:
    @vuepress/core:  1.6.0 
    @vuepress/theme-default:  1.6.0 
    vuepress: ^1.6.0 => 1.6.0 
  npmGlobalPackages:
    vuepress: Not Found
billyyyyy3320 commented 3 years ago

Thanks for the report.

One workaround can be found here https://www.gitmemory.com/issue/ulivz/vuepress-plugin-blog/1/504744139 But unfortunately not solving the issue.

The issue you found has already been solved.

More here: https://uwaylu.github.io/blog/2020/02/24/hello-blog/

It would be easier if you provide a repo to reproduce. Since you're facing the problem during building, but a site is what you got when you built with broken.

rastislavcore commented 3 years ago

Maybe GA will have some useful information regards to solving the bug. Please, let me know if this helps.

https://github.com/core-coin/cip/runs/1261249311

billyyyyy3320 commented 3 years ago

Fixed by https://github.com/vuepress/vuepress-plugin-blog/commit/4abe10c8faf519e9aa682aae00ea80e1b4ec4185.