npm install hexo-fs
通过npm install hexo-fs –save解决不了的,是因为在hexo-deployer-git中还有一个node_modules/hexo-fs目录,但是hexo-deployer-git官方Github中是没有这个目录的,可能是因为npm源没有更新,所以hexo-deployer-git中有一个旧版本的hexo-fs,注释掉E:\github\blog\node_modules\hexo-deployer-git\node_modules\hexo-fs\lib\fs.js中第718行exports.SyncWriteStream = fs.SyncWriteStream;就行了,或者手动更新hexo-deployer-git。
npm install
hexo-baidu-url-submit
1 | npm remove hexo-baidu-url-submit |