-
-
Notifications
You must be signed in to change notification settings - Fork 70
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
build error or build hang with libuv 1.46 #191
Comments
Node.js released v18.18.0 where they switch to |
We were getting this on v18.18.0 and have rolled back to v18.17.1 for now
|
disable IO_URING usage in libuv by adding |
Solution - #191 (comment) |
That's more of a workaround than a solution IMO. The real solution is to use Node 18.18.1+ or 20.7.0+ which fixed the underlying bug in Node. |
@anomiex Yes, you are right |
Expected Behavior
Webpack build builds successfully
Actual Behavior
Webpack build either hangs indifinetely or fails with the following 2 errors:
Code
src/test1.ts
https://gist.github.com/JohnKoutsoumpas/de5b6f893f558c13dbd5b395b349b3c1
src/test2.ts
https://gist.github.com/JohnKoutsoumpas/1f7bae8f832198a25e5dd4f28420307f
src/test3.ts
https://gist.github.com/JohnKoutsoumpas/93a20cd27063bdce1a0fc53498fc4908
How Do We Reproduce?
create all the above files in an new empty dir, run
npm i
and then runnode ./node_modules/webpack/bin/webpack.js
and it will hang indefinitely (with libuv 1.46 installed). With libuv 1.44 it builds fine.I filed a relevant issue with libuv too, they told me that this is a problem with the application (thread-loader).
The text was updated successfully, but these errors were encountered: