hexo-theme-next icon indicating copy to clipboard operation
hexo-theme-next copied to clipboard

hexo-related-posts peerDependencies problem

Open tyadan opened this issue 4 years ago • 3 comments

In 8.10.0 replace hexo-related-popular-posts with hexo-related-posts But hexo-related-posts has peerDependencies with Hexo version 4.2&5.2 "peerDependencies": { "hexo": "^4.2.0 || ^5.2.0", "chalk": "^4.1.0" },

which cause you cannot use with hexo version 6.0

tyadan avatar Feb 09 '22 09:02 tyadan

Problem has been reported to hexo-related-posts repo

Recommend roll back to hexo-related-popular-posts until this problem fix.

tyadan avatar Feb 09 '22 09:02 tyadan

See https://github.com/next-theme/theme-next-docs/issues/60

ljcbaby avatar Feb 09 '22 09:02 ljcbaby

See next-theme/theme-next-docs#60

Got, then I think we should temporary remove relate post feature until hexo-related-posts solve compatible with Hexo 6.0 (since next-theme has dependency with 6.0)

tyadan avatar Feb 09 '22 09:02 tyadan

The problem of this plugin now seems to be fixed. Can we upgrade it to the latest version ASAP? @stevenjoezhang

hrtan99 avatar Oct 05 '22 02:10 hrtan99

@thomas10011 You just need to change the version of hexo-related-posts to 1.5.1 in your package.json, and run npm i then it should work

There's nothing to change in theme NexT.

stevenjoezhang avatar Oct 06 '22 12:10 stevenjoezhang

This thread has been automatically locked since there has not been any recent activity after it was closed. It is possible issue was solved or at least outdated. Feel free to open new for related bugs.

github-actions[bot] avatar Oct 07 '23 00:10 github-actions[bot]