plugins
plugins copied to clipboard
Where to report issues about very slow plugin downloads? (broken IPv6)
It seems like trunk upgrade -v
is very very slow here.
I've tested it much longer as well.
Anyone can help with that?
Infos about my system:
OS: Manjaro Linux Sway Edition CPU: AMD Ryzen 9 5900X 12-Core Processor RAM: 48093 MiB
Works on my ArchLinux box as intended.
Hi @jochumdev! Sorry you're having this issue. This is definitely a good place to report this, although it may be easier to join our Slack channel.
Just to clarify, is it usually the prettier install that takes a long time? Is it always prettier or sometimes other tools?
If you could provide 2 other things, it would help us investigate:
- Your
.trunk/trunk.yaml
file - After enabling a new version of prettier, run
trunk check --debug
and grab the full log output. Feel free to upload as a gist or via DM in Slack.
Hey @TylerJang27 thanks for answering. I found the root cause. It was half working IPv6. Once I disabled IPv6 on my link everything worked as intended.
So with broken IPv6 trunk
doesn't works as intended.
Thanks for investigating. We'll take a closer look and get to the bottom of this
Could you try setting:
export NODE_OPTIONS=--dns-result-order=ipv4first
Then running:
trunk daemon shutdown
# if necessary, clear ~/.cache/trunk/tools
trunk check
It appears this issue can result from certain misconfiguration of IPv6 and the npm package registry. We'll look into documenting this appropriately.