-
Notifications
You must be signed in to change notification settings - Fork 91
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WIN: EPERM while copy step #45
Comments
@adam-lynch have you tested https://github.com/edjafarov/node-webkit-updater/blob/master/app/updater.js#L363 on win 8.1? |
Yes. Did you have the folder open? |
nope I am running tests from terminal |
Maybe delete is being called before the app fully exits? |
looks like you are right, we need to catch the error and if the error is eperm try to delete again in 100ms. Try 10 times or so. |
Good idea 👍 |
code: "EPERM"
errno: -4048
message: "EPERM, unlink 'c:\Users\edjafarov\work\node-webkit-updater\test\deploy0.1\updapp\win\ffmpegsumo.dll'"
path: "c:\Users\edjafarov\work\node-webkit-updater\test\deploy0.1\updapp\win\ffmpegsumo.dll"
stack: (...)
The text was updated successfully, but these errors were encountered: