vscode sftp no such file

时间:2021-5-24    作者:悬浮的青春    分类: javascript


You have to manually update it. There are two easy ways of doing it :



Method 1)

a. download my modded v0.4.11 ssh2-streams module version from HERE !

b. go to $HOME/.vscode/extensions/liximomo.sftp-1.12.9/node_modules. (on Windows replace $HOME with %UserProfile%).

c. delete "ssh2-streams" folder.

d. extract here the downloaded archive (modded v0.4.11 ssh2-streams version).

e. you should now have $HOME/.vscode/extensions/liximomo.sftp-1.12.9/node_modules/ssh2-streams (on Windows replace $HOME with %UserProfile%).

d. restart Visual Studio Code.



Method 2)

a. go to $HOME/.vscode/extensions/liximomo.sftp-1.12.9/node_modules/ssh2-streams/lib. (on Windows replace $HOME with %UserProfile%).

b. open sftp.js file.

c. search for "options.emitClose = false;"

d. add "options.autoDestroy = false;" after both instances.

e. restart Visual Studio Code.


标签: 网页

WRITTEN BY

avatar