TypeError: Cannot set property closed of #<Writable> which has only a getter
zptr1 opened this issue · 1 comments
zptr1 commented
Do you read the FAQ?
Describe the bug
Uploading any file results in the following error:
TypeError: Cannot set property closed of #<Writable> which has only a getter
at new WriteStream (/home/.../.vscode-oss/extensions/liximomo.sftp-1.12.10/node_modules/ssh2/lib/protocol/SFTP.js:3585:15)
at SFTP.createWriteStream (/home/.../.vscode-oss/extensions/liximomo.sftp-1.12.10/node_modules/ssh2/lib/protocol/SFTP.js:311:12)
at /home/.../.vscode-oss/extensions/liximomo.sftp-1.12.10/dist/extension.js:70:131256
at new Promise (<anonymous>)
at a._put (/home/.../.vscode-oss/extensions/liximomo.sftp-1.12.10/dist/extension.js:70:131218)
at a.<anonymous> (/home/.../.vscode-oss/extensions/liximomo.sftp-1.12.10/dist/extension.js:70:129943)
at Generator.next (<anonymous>)
at s (/home/.../.vscode-oss/extensions/liximomo.sftp-1.12.10/dist/extension.js:70:128197)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) when local ➞ remote /home/.../.../index.js
It also erases the file on the remote server.
To Reproduce
Steps to reproduce the behavior:
- Upload any file
- Error!
Expected behavior
A file gets properly uploaded to the remote server.
Desktop:
- OS: Void Linux
- VSCode Version: Code OSS 1.80.1
- Extension Version: 1.12.10
Extension Logs from Startup
log.txt
zptr1 commented
nevermind, i thought i've installed the fork ...