-
Notifications
You must be signed in to change notification settings - Fork 30.2k
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
Node >= 12.5 issues in OSX when using GNU parallel #28752
Comments
I don't have a Mac and I cannot reproduce on Linux. |
When I run I also noticed that if use 2 js files that contain code that first calls console.log and then creates a file using fs.writeFileSync (which each js writing to a different file) and run it using the --jobs 1 parameter, I see not output but one of the files is created, so even though console.log does not generate any output the first script seems to continue executing but never finishes. Let me know if there is any way I can help finding the issue. |
I'm getting two outputs using parallel and node 12.5.0, do you have other example for recreate this behaviour? |
test.js test.txt
It would seem as if in some scenarios, when parallel executes the process, node hangs reading/writing I upgraded GNU parallel, I was using a 2015 build after using brew install parallel I am now using 20160722, same results. Also upgraded MacOS from 10.14.5 to 10.14.6 same results in both versions. These issues show up in both Node 12.5.0 and 12.6.0 but work as expected in 12.4.0 |
@nodejs/platform-macos Can somebody reproduce on a Mac? |
I cloned and built both v13.0.0-pre and v12.7.1-pre and it works as expected. I am not sure if this means 12.5.0 and 12.6.0 were actually broken at the source level or if the macOS installer (or build process) had an issue. |
Thanks @richardlau. So this is resolved 🎉 |
Version: 12.5.0 or 12.6.0
Platform: Mac OSX 10.14.5
Running a simple node script (e.g. a file with a single console.log("Test")) works fine when run from the command line but fails when running from a GNU parallel script, in this case the output is never shown and the parallel command never finishes.
Reinstalling 12.3.1 or 12.4.0 fixes the issue but using 12.5.0 or 12.6.0 fails consistently.
JuanC
The text was updated successfully, but these errors were encountered: