-
-
Notifications
You must be signed in to change notification settings - Fork 356
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
EPERM error when uninstalling the service #324
Comments
I'm seeing the same issue on Windows 10. Any updates or insight on what's causing it? |
I fixed by manually specifying a longer wait time, the default 2 seconds don't seem to be long enough (between uninstalling the service and deleting the daemon file).
|
In my case, I'd say the service is deleted from Windows services.msc, but node-windows fails to delete
This does happen on a VM (Windows Server 2019) but does not happen on my workstation (Windows 10). Both installs the service with Workaround: |
Issue:
When I run the example uninstall script I get the
EPERM: operation not permitted, unlink...
error.Files are deleted but the service is sometimes not, and when I run the script again I get the
Uninstall was skipped...
meesage.I am trying to run the example hello_word service and I am running the commands as the Administrator. Not sure if I should run the scripts as a different user?
How To Reproduce:
npm install
npm link node-windows
Expected Behaviour:
I would expect the service to be deleted without an error.
Server:
The text was updated successfully, but these errors were encountered: