Skip to content
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

Closed
edjafarov opened this issue Sep 2, 2014 · 6 comments
Closed

WIN: EPERM while copy step #45

edjafarov opened this issue Sep 2, 2014 · 6 comments
Labels

Comments

@edjafarov
Copy link
Collaborator

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: (...)

@edjafarov edjafarov added the bug label Sep 2, 2014
@edjafarov
Copy link
Collaborator Author

@adam-lynch have you tested https://github.com/edjafarov/node-webkit-updater/blob/master/app/updater.js#L363 on win 8.1?
bcause it's failing with the error:(

@adam-lynch
Copy link
Collaborator

Yes. Did you have the folder open?

@edjafarov
Copy link
Collaborator Author

nope I am running tests from terminal

@adam-lynch
Copy link
Collaborator

Maybe delete is being called before the app fully exits?

@edjafarov
Copy link
Collaborator Author

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.

@adam-lynch
Copy link
Collaborator

Good idea 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants