Resolve "The upstream repository of theme NexT has been changed."

run npm i theme-next/next-util.

hexo 安装 hexo-next-title hexo-next-share hexo-next-exif hexo-next-utteranc 等插件后,会出现以下 warnning:

1
2
3
WARN  The upstream repository of theme NexT has been changed.
WARN For more information: https://github.com/next-theme/hexo-theme-next
WARN Documentation: https://theme-next.js.org

原因在 npmjs/next-util 的 10-12 行。

为了告诉你不要用 theme-next 而要用 next-theme。

解决方案是使用 npm i theme-next/next-util 直接安装 github 版本next-util.