hexo -d ftpsync 的时候报错

发布于 2022-09-01 18:33:34 字数 704 浏览 21 评论 0

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

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

深居我梦 2022-09-08 18:33:34

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

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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文