Closed zhaoky closed 7 months ago
Delete node_modules and install the dependencies again, the error has changed:
INFO Deploying: ftpsync
Setup
-------------------------------------------------------------
Settings:
{ local: '/nice/github/hexo/public/',
host: 'korey.gotoftp2.com',
port: 21,
remote: '/wwwroot/blog/',
user: 'name',
pass: '123',
connections: 1,
ignore: [] }
Setup complete.
Collecting
-------------------------------------------------------------
events.js:167
throw er; // Unhandled 'error' event
^
Error: read ETIMEDOUT
at TCP.onStreamRead (internal/stream_base_commons.js:111:27)
Emitted 'error' event at:
at Stream.<anonymous> (/nice/github/hexo/node_modules/jsftp/lib/jsftp.js:120:10)
at Stream.emit (events.js:182:13)
at Socket.reemit (/nice/github/hexo/node_modules/duplexer/index.js:85:16)
at Socket.emit (events.js:182:13)
at emitErrorNT (internal/streams/destroy.js:82:8)
at emitErrorAndCloseNT (internal/streams/destroy.js:50:3)
at process._tickCallback (internal/process/next_tick.js:63:19)
Sorry for the late reply. I am currently refactoring this plugin. If the problem still exists, please feel free to continue reporting. See #148 The installation method for the new version is: npm i hexo-deployer-ftpsync@0.2.0
Node version(node -v):
v10.15.0
Your site _config.yml (Optional):
Hexo and Plugin version(npm ls --depth 0):
The address and password are correct, and no error is reported. Runtime information:
Then exit and Failed to update file.
I need your help, thank you!