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 必须这样设置。

阅读 4.4k
1 个回答

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

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

撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进