Closed punksinatra closed 7 months ago
Surely, this is the jsftp
issue. And we can not do anything unless the jsftp
will release a fixed version.
events.js:377 throw er; // Unhandled 'error' event ^
Error: connect ECONNREFUSED 10.0.0.205:30360 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1159:16) Emitted 'error' event on Socket instance at: at emitErrorNT (internal/streams/destroy.js:106:8) at emitErrorCloseNT (internal/streams/destroy.js:74:3) at processTicksAndRejections (internal/process/task_queues.js:82:21) { errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '10.0.0.205', port: 30360 }
Both ftpsync
and jsftp
library on npm have not been updated for many years. I'm gonna to replace them and the problem should be resolved: https://github.com/hexojs/hexo-deployer-ftpsync/pull/148 The installation method for the new version is: npm i hexo-deployer-ftpsync@0.2.0
Check List
Please check followings before submitting a new issue.
hexo version
to check)Expected behavior
should be no error
Actual behavior
still works but shows deprecation error
How to reproduce?
any hexo command i.e. hexo server, hexo version, hexo clean, hexo generate
Is the problem still there under "Safe mode"?
no
Environment & Settings
Your site
_config.yml
(Optional)Your theme
_config.yml
(Optional)Hexo and Plugin version(
npm ls --depth 0
)Your package.json
package.json
Others
Additional info