Skip to content
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

Closed
liangxp opened this issue Aug 22, 2018 · 2 comments
Closed

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

liangxp opened this issue Aug 22, 2018 · 2 comments
Labels

Comments

@liangxp
Copy link

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
Copy link
Contributor

tcrowe commented Aug 23, 2018

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

@stale
Copy link

stale bot commented Oct 22, 2018

This issue has been automatically marked as stale because lack of recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Oct 22, 2018
@stale stale bot closed this as completed Oct 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants