Closed sensiblepuffin closed 2 weeks ago
I can reproduce on 2.4.3 but not on 4.5.0. Probably fixed in #5100. Please upgrade your Yarn version.
Hi! 👋
It seems like this issue as been marked as probably resolved, or missing important information blocking its progression. As a result, it'll be closed in a few days unless a maintainer explicitly vouches for it.
Self-service
Describe the bug
Yarn (v2.4.3) is unable to fetch Gitlab repos via SSH because (I think) the namespaces cause URL parsing to fail.
After experimenting with different node versions (and not having much luck), I found the WHATWG standard (which Node has moved to) that clearly rejects a URL that resembles a Gitlab SSH URL:
The specific deprecation in question is here.
Example:
After the offending colons are replaced with slashes, it obviously can't fetch the packages but yarn doesn't complain.
To reproduce
yarn init
yarn install
TypeError: Invalid URL
error as above.Environment
Additional context
No response