New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

使用hexo-deployer-ftpsync进行发布时出现错误 #3237

Open
liangxp opened this Issue Aug 22, 2018 · 1 comment

Comments

2 participants
@liangxp

liangxp commented Aug 22, 2018

Environment Info

Node version(node -v):10.X

Your site _config.yml (Optional):
deploy: type: ftpsync host: XXXX # ftp服务器地址 user: XXX # ftp用户名 pass: XXXX # 你的ftp用户密码 remote: webroot # 你要上传到的地址,例如/wwwroot port: 8010 # ftp端口,不同的ftp可能会不一样 delete: true # 上传本地文件是否删除ftp中的所有文件 verbose: true # 是否打印调试信息 ignore_errors: true # 是否忽略错误

Hexo and Plugin version(npm ls --depth 0): hexo-deployer-ftpsync

error

`
s.stat failed.
/usr/blog/node_modules/ftpsync/lib/ftpsync.js:360
dirs = dirs.concat(res.dirs);
^

TypeError: Cannot read property 'dirs' of undefined
at /usr/blog/node_modules/ftpsync/lib/ftpsync.js:360:38
at /usr/blog/node_modules/ftpsync/lib/ftpsync.js:352:20
at FSReqWrap.oncomplete (fs.js:152:21)

`

@tcrowe

This comment has been minimized.

Show comment
Hide comment
@tcrowe

tcrowe Aug 23, 2018

Contributor

I found this mentioning ftpsync.local.dirs: https://github.com/hexojs/hexo-deployer-ftpsync/wiki#ftpsynclocal

Contributor

tcrowe commented Aug 23, 2018

I found this mentioning ftpsync.local.dirs: https://github.com/hexojs/hexo-deployer-ftpsync/wiki#ftpsynclocal

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment