vscode的sftp插件同步失败no such file的问题
程序员文章站
2022-06-01 10:22:43
...
报错
[05-08 18:18:03] [error] Error: No such file
at SFTPStream._transform (c:\Users\flashzxi\.vscode\extensions\liximomo.sftp-1.12.9\node_modules\ssh2-streams\lib\sftp.js:412:27)
at SFTPStream.Transform._read (internal/streams/transform.js:205:10)
at SFTPStream._read (c:\Users\flashzxi\.vscode\extensions\liximomo.sftp-1.12.9\node_modules\ssh2-streams\lib\sftp.js:183:15)
at SFTPStream.Transform._write (internal/streams/transform.js:193:12)
at writeOrBuffer (internal/streams/writable.js:358:12)
at SFTPStream.Writable.write (internal/streams/writable.js:303:10)
at Channel.ondata (internal/streams/readable.js:719:22)
at Channel.emit (events.js:315:20)
at addChunk (internal/streams/readable.js:309:12)
at readableAddChunk (internal/streams/readable.js:284:9)
at Channel.Readable.push (internal/streams/readable.js:223:10)
at SSH2Stream.<anonymous> (c:\Users\flashzxi\.vscode\extensions\liximomo.sftp-1.12.9\node_modules\ssh2\lib\Channel.js:167:15)
at SSH2Stream.emit (events.js:315:20)
at parsePacket (c:\Users\flashzxi\.vscode\extensions\liximomo.sftp-1.12.9\node_modules\ssh2-streams\lib\ssh.js:3288:10)
at SSH2Stream._transform (c:\Users\flashzxi\.vscode\extensions\liximomo.sftp-1.12.9\node_modules\ssh2-streams\lib\ssh.js:694:13)
at SSH2Stream.Transform._read (internal/streams/transform.js:205:10)
at SSH2Stream._read (c:\Users\flashzxi\.vscode\extensions\liximomo.sftp-1.12.9\node_modules\ssh2-streams\lib\ssh.js:253:15)
at SSH2Stream.Transform._write (internal/streams/transform.js:193:12)
at writeOrBuffer (internal/streams/writable.js:358:12)
at SSH2Stream.Writable.write (internal/streams/writable.js:303:10)
at Socket.ondata (internal/streams/readable.js:719:22)
at Socket.emit (events.js:315:20)
at addChunk (internal/streams/readable.js:309:12)
at readableAddChunk (internal/streams/readable.js:284:9)
at Socket.Readable.push (internal/streams/readable.js:223:10)
at TCP.onStreamRead (internal/stream_base_commons.js:188:23) when local ➞ remote c:\Users\flashzxi\Desktop\tex\SJTUThesis-master\README.md
解决
大概率是vscode版本的问题,最新的1.56.0版本不行,回退到1.55.2问题解决
https://code.visualstudio.com/updates/v1_55
点击直接下载
解决方案来自github问题讨论区https://github.com/liximomo/vscode-sftp/issues/266
上一篇: vscode配置
下一篇: vscode使用sftp同步服务器文件
推荐阅读
-
详解CentOS8更换yum源后出现同步仓库缓存失败的问题
-
vscode解决nuget插件不能使用的问题
-
[UE4] 解决4.25插件打包后放到纯蓝图工程打包后,项目无法打开的问题(UE4 4.25 项目打开失败原因为Plugins “XXXXX“ failed to load)
-
关于VSCode 装好ESLint 插件 import 报黄线的问题
-
VSCode 使用 Code Runner 插件无法编译运行文件名带空格的文件问题
-
Fundebug录屏插件更新至0.4.0,修复Safari/WKWebView下录制失败的问题
-
MacOS中 VSCode 安装 GO 插件失败问题的快速解决方法
-
解决 Golang VS Code 插件下载安装失败的问题
-
vscode插件sftp实现前端快速提交打包后的代码至服务器
-
vscode的sftp插件同步失败no such file的问题