-
-
Notifications
You must be signed in to change notification settings - Fork 15
run-p: Assertion failed: napi_create_external in fsevents #166
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
Comments
Off the top of my head, I have no idea. Will try to poke around if I find time. |
One workaround (maybe) is running eslint then run the rest in parallel. Also this might related: nodejs/node#44151 |
Another idea is, have you fully regenerated your lockfile recently? Sometimes old transitives can cause issues too. From a quick googling/llming it seems like parallel execution of things using fsevents can trigger similar errors. I'm guessing this is less of a problem with npm-run-all2 and more with parallel execution of something in your lint stack, which run-s can trigger. |
Thanks for your response and the ideas. After further testing I have even seen My best guess is that it is related to file handles on the eslint cache. |
Ok, good luck! |
Uh oh!
There was an error while loading. Please reload this page.
Serial execution succeeds, but parallel fails.
I apologize for the heavy steps to reproduce. I will create a more minimal repo if I find time, but wanted to log the bug first since this error is not documented anywhere else.
OS: macOS (M3)
v15.3.1
Node:
v22.0.0
(not able to upgrade unfortunately)npm:
v10.9.1
Steps to Reproduce
git clone --depth=1 https://github.com/cybersemics/em
cd em
git fetch --depth 1 origin 3d0d5de4853
git checkout 3d0d5de4853
yarn
run-s "lint:*"
run-p "lint:*"
Current Behavior
run-s
succeeds.run-p
fails:Assertion failed: (napi_create_external(env, fseenv, fse_environment_destroy, NULL, &result) == napi_ok), function fse_environment_create, file fsevents.c, line 87. ERROR: "lint:src" exited with 134.
Expected Behavior
Parallel execution should succeed.
The text was updated successfully, but these errors were encountered: