hexo -d ftpsync 的时候报错



 Committing
-------------------------------------------------------------
MKDIR failed.
MKDIRs failed.
Commit failed.
Commit complete.
/Users/user/Documents/self/apps/blog/node_modules/hexo-deployer-ftpsync/node_modules/ftpsync/node_modules/async/lib/async.js:43
            if (fn === null) throw new Error("Callback was already called.");
                                   ^
Error: Callback was already called.
    at /Users/user/Documents/self/apps/blog/node_modules/hexo-deployer-ftpsync/node_modules/ftpsync/node_modules/async/lib/async.js:43:36

用hexo-deployer-ftpsync的时候报错,ftp服务器是ubuntu。

用客户端上传是可以的。

我知道了,是因为设置参数的时候: remote: ./demo 必须这样设置。

hexo vsftpd

混沌神虚无 9 years, 3 months ago

直接用 ftpsync 了,不用 hexo-deployer-ftpsync

我知道了,是因为设置参数的时候:remote: ./demo 必须这样设置,而且在hexo的 _confg.yml 里需要在 plugin 里添加 hexo-deployer-ftpsync

啊啊爸爸好厉害 answered 9 years, 3 months ago

Your Answer