hexo在GitHub上创建blog,hexo-deployer-git插件包,This package is no longer maintained这个包不再被维护

今天在更新GitHub上的blog时,发现hexo指令无法使用,一直报错,不管是hexo clean 、hexo g、还是hexo d 、hexo new,这些指令都出现了错误,

报错原因:插件错误,hexo-deployer-git插件出现错误

去网上查找原因,没有找到该问题的解决办法。

很明显是该插件的问题,就重新下载该插件,但是却提示:

This package is no longer maintained,该插件不再维护。

又查了资料好久,没有看见有网友提到该问题,于是在blog下node_modules文件夹下发现“hexo-deployer-git”文件异常

异常的hexo-deployer-git

然后用淘宝NPM镜像的“hexo-deployer-git”试了一下,成功了

指令:$ cnpm install hexo-deployer-git --save

$ cnpm install hexo-deployer-gti --save

然后。。。就可以用了

猜你喜欢

转载自blog.csdn.net/zyz00000000/article/details/82024454