-
-
Notifications
You must be signed in to change notification settings - Fork 17
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: operation not permitted (rmdir) when using prune #597
Comments
Is this the path in the error verbatim?
I ask because normally it's named |
Sorry, you are right it is |
Just so I'm clear, does the folder actually exist? If so, what are the permissions on it? |
Everything exists up to:
The BUT, in |
What happens when you remove |
Hi, sorry for the delay. I am on UK time. I have done what you have asked and there is still a problem, but a different one. It is the one that the other guy had in the other thread where I originally raised this issue. So I deleted
The Error is now:
|
So you can only reproduce the EPERM error when you use |
Hi malept. I have been trying what you asked this morning (Midday UK time) for the past half hour and am getting different results. At present it always fails when I have the At the moment when I remove It WORKS when I manually remove the It IS PRESENTLY WORKING (but FAILED about half hour ago) when I do not manually remove the `distwin32' directory. |
I have updated the issue summary accordingly. |
Just for completeness's sake, could you provide full backtrace when you run If that is the case, the problem is most likely in the |
I have not touched this since I last heard from you. The first time I ran the command, I did not check to see if the distribution files were there or not. I got the unusual error.
I got the following rare
I got a success!!!:
I get the error:
I get the error:
I hope this helps. I am sorry the results do not seem to have a great deal of consistency. |
OK, so this isn't about |
I have only one account on this PC, which obviously is admin. I do not want to create another account as I did so when I first got the pc and ultimately had to do a reinstall when it would not fully delete the non-admin account. Is there any way of doing this without creating a new non-admin account? |
If you only have one account, then are you running |
OK, I have done the following in my only account on my PC.
This time it succeeded.
This time it failed with the error:
This time it succeeded.
It succeeded once more.
(Note: there was about a 45 minute gap between steps 7 and 8 - I had my tea.) |
Could you check the permissions of the folder Also, This has become more of an NPM problem than an Electron Packager problem, I think. Could you search in the NPM issue tracker for EPERM and |
When the error occurs I have had a look in the NPM issue tracker and cannot see anything on these lines. |
In order to debug your problem further, we need a minimal testcase to reproduce your problem. Using the |
A zip file: |
I can't reproduce this on Linux. I've run both |
@JAA17 I downloaded the |
If you want to try using yarn instead, there's some instructions here (it involves editing the Electron Packager code): #614 (comment) |
Since the original issue reporter has not responded to the request for additional information about whether yarn works in over two months, I'm going to assume that they either found the answer in another manner or decided not to pursue this issue. If I'm incorrect, they can respond with answers to the questions posed, and I'll reopen. |
[Edited due to spelling error]
I am getting an EPERM error related to rmdir.
My command line is:
My script is:
"build-win32": "electron-packager . --electron-version 1.4.15 --tmpdir=false --platform win32 --icon ./assets/icon.ico --out ./distwin32a --overwrite"
My package.json is:
The only thing I have in the background is Visual Studio where I do my code editing.
The text was updated successfully, but these errors were encountered: