Indi
anran758's blog anran758.github.io

记录 Hexo 升级或使用时遇到的问题和一些解决方案。 TypeError: config._d.getTime is not a function 经过排查,本次发生错误是由 hexo-related-popular-posts 引发,在该库源码中使用 moment 初始化 list.date 导致了错误。 list.date 通过打印值可以看到是一个 moment 对象,但这个 moment …

讨论

还没有评论,来说第一句吧。

anran758's blog 的其他文章