-
Notifications
You must be signed in to change notification settings - Fork 97
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
Error: kill EPERM #384
Comments
Do you have a line saying For me it looks like this is caused by windows 11 deprecating wmic.
Unluckily this library is no longer part of a current windows 11 system. And even worse, the workaround in how-to-install-wmic-feature-on-demand-on-windows (activating the Featore-on-Demand) does not exist any more in Win11pro. So I am waiting for a fix to |
I don't see any issue open for this on https://github.com/indexzero/ps-tree/issues and the last release was https://www.npmjs.com/package/ps-tree/v/1.2.0 released 6 years ago. |
@MikeMcC399 Or do you have a better idea. |
I would raise the issue in https://github.com/indexzero/ps-tree/issues first. This repo ( |
I see that you have raised
and that you are not getting any response in that repo.
|
Do you have a link to any Microsoft document which says that the deprecated Windows Management Instrumentation command-line (WMIC) utility has already been removed? I can only find information which says it has been disabled by default. See indexzero/ps-tree#58 (comment) for more details. |
Sorry, but as you mentioned in your comment, I simply did not find the buttons to add WMIC as a FoD. |
This issue should be resolved by following the instructions in How to install WMIC Feature on Demand on Windows 11 if WMIC is missing from your system. |
Just 2 more remarks:
|
|
|
I agree that this is not a real solid argument - more of a personal preference 😄 |
Bug
There seems to have been a change in node > 20 that is causing start-server-and-test to error due to child processes (cypress + electron) closing.
I'm not sure what the root cause is, or even which library is causing the error. But as the overall runner, it seems like its start-server-and-test not liking child processes closing or closing in an irregular way.
Reproduce - leverage vue to create a project scaffold of start-server-and-test + server + cypress runner:
run the test:e2e a few times as it can be a race-condition.
This specifically seems to be an issue on node > 20, as in node 20 you only get the messages "Child process [number] exited before trying to stop it", but it doesn't Error.
If you swap out vite for http-server ( "preview": "http-server ./dist -p 4173", ) you still get the Error: kill EPERM.
If you remove start-server-and-test, add and run
"cypress": "cypress run --e2e",
along with separate term forpreview
it exits without error.The text was updated successfully, but these errors were encountered: