You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@rtritto It's not an issue in Yarn Berry or any other package manager. The issue is how uNetworking/uWebSockets.js is distributed. They don't use os and cpu fields of package.json and instead distribute all platform specific files in a single package: https://github.com/uNetworking/uWebSockets.js/tree/v20.49.0
Self-service
Describe the bug
After
uWebSockets.js
is installed, all OS and Node versions are built.To reproduce
yarn init -y
yarn set version berry
yarn add uWebSockets.js@github:uNetworking/uWebSockets.js#v20.49.0
/.yarn/unplugged/uWebSockets.js-https-<HASH>/node_modules/uWebSockets.js
.node
files are 24 (uws_darwin_, uws_linux, uws_win32*)Expected
In directory
/.yarn/unplugged/uWebSockets.js-https-<HASH>/node_modules/uWebSockets.js
there is only 1 file filtered by OS and Node versionEnvironment
System:
OS: Windows 11 10.0.22631
Binaries:
Node: 22.9.0 - ~\AppData\Local\Temp\xfs-7275780b\node.CMD
Yarn: 4.5.1 - ~\AppData\Local\Temp\xfs-7275780b\yarn.CMD
npm: 10.8.3 - C:\Program Files\nodejs\npm.CMD
Additional context
Related comment uNetworking/uWebSockets.js#1112 (comment)
The text was updated successfully, but these errors were encountered: