sergeyzwezdin / hexo-related-posts

Hexo plugin that generates related posts list with TF/IDF algorithm
https://hexo.io/
MIT License
21 stars 8 forks source link

Incompatible with hexo 7.0 #18

Closed pplmx closed 8 months ago

pplmx commented 11 months ago

Here is the error log:

npm i error npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: caoyu.info@1.0.0 npm ERR! Found: hexo@7.0.0 npm ERR! node_modules/hexo npm ERR! hexo@"7.0.0" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer hexo@"^4.2.0 || ^5.2.0 || ^6.3.0" from hexo-related-posts@1.5.1 npm ERR! node_modules/hexo-related-posts npm ERR! hexo-related-posts@"^1.5.1" from the root project npm ERR! npm ERR! Fix the upstream dependency conflict, or retry npm ERR! this command with --force or --legacy-peer-deps npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
ajimix commented 10 months ago

I'm having the same issue

Atif-Sheikh commented 9 months ago

Same issue.

cc: @sergeyzwezdin

sergeyzwezdin commented 9 months ago

@pplmx you can test it with Hexo 7 and if it works correctly, please create PR to update deps.

Atif-Sheikh commented 9 months ago

@sergeyzwezdin Done.

https://github.com/sergeyzwezdin/hexo-related-posts/pull/20

Atif-Sheikh commented 9 months ago

@sergeyzwezdin I've tested the package with Hexo 7 locally in my project, and everything seems to be working fine. Could you please take a look at the PR and review it?

sergeyzwezdin commented 8 months ago

@Atif-Sheikh thank you for your efforts! 🚀 I've merged it and published.