Open karthiknadig opened 8 months ago
Seeing something similar, my test archives using vscode-test-cli are not extracting correctly and getting ENOENT because code.exe isn't there.
@JustinGrote it sounds like you're hitting an issue that's fixed on the latest version of @vscode/test-electron
@connor4312 you are correct, my dependency in the vscode-test-cli project didn't update. Nice catch.
rename failed after 1 retries with error: Error: EPERM: operation not permitted
Looks like on the system where you are running this, you do not have permissions to do rename. Please fix it and re-run.
@sandy081 in my case I do have permissions and it does work sometimes. Just repeating the same operation again and again it works after few attempts, after that point it start working every time.
This message is coming from FileService
CC @bpasero
fs.rename
can fail with EPERM
if you try to rename to a folder that already exists on disk:
If you are using IFileService
, the error will be more specific because we check before-hand if the target exists:
Here I assume that the file service is not being used, since the error message is coming from pfs
:
I would suggest to switch to using file service and set the overwrite
option to true
:
@karthiknadig Is it possible to run with --verbose
flag and provide the trace?