Closed elmpp closed 3 years ago
If I do yarn add uNetworking/uWebSockets.js#v18.12.0
with Yarn 1 it works, just like npm install uNetworking/uWebSockets.js#v18.12.0
does (it downloads from GitHub).
In Yarn 2 I get
Internal Error: Invalid descriptor (uNetworking/uWebSockets.js#v18.12.0)
at Module.x (/home/alexhultman/.yarn/releases/yarn-2.4.0.cjs:2:434115)
at Promise.all.packages.map (/home/alexhultman/.yarn/releases/yarn-2.4.0.cjs:2:29878)
at Array.map (<anonymous>)
at M.execute (/home/alexhultman/.yarn/releases/yarn-2.4.0.cjs:2:29786)
@alexhultman You need to give it a name yarn add uWebSockets.js@uNetworking/uWebSockets.js#v18.12.0
Describe the bug
As discussed on Discord, it seems a regression has occurred sometime prior to 2.4.0 when a git-style reference isn't handled correctly
To Reproduce
Environment if relevant (please complete the following information):