how long should install be?

we've been stuck here for a couple min.
16 Replies
Silas | @silaspath
npm error:
npm ERR! code FETCH_ERROR
npm ERR! errno FETCH_ERROR
npm ERR! invalid json response body at https://registry.npmjs.org/use-sync-external-store reason: Invalid response body while trying to fetch https://registry.npmjs.org/use-sync-external-store: Socket timeout
npm ERR! code FETCH_ERROR
npm ERR! errno FETCH_ERROR
npm ERR! invalid json response body at https://registry.npmjs.org/use-sync-external-store reason: Invalid response body while trying to fetch https://registry.npmjs.org/use-sync-external-store: Socket timeout
Sybatron
Sybatron2y ago
try yarn if you want usually it's faster with everything
Silas | @silaspath
thanks, I reinstalled with npm and it worked. I heard yarn is on the decline
Sybatron
Sybatron2y ago
then i guess pnpm is really good option to try out too npm can be quite slow with create apps
Silas | @silaspath
is pnpm ur goto?
Sybatron
Sybatron2y ago
currently im on yarn, happier with it than npm Npm i've had some installs that took nearly 2-3 mins and yarn do them under a minute
Silas | @silaspath
this is a bit beyond to a newbie like me but I am surprised that these package managers have such different install times. aren't the packages themselves on the same places of the net?
Neto
Neto2y ago
yes but they can process things differently like bun as a package manager, its very fast as do things in parallel some of them may not do that
Silas | @silaspath
how curious
Keef
Keef2y ago
I don't have an example pertaining to package managers but theres a newer linker thats more perfomant since it better makes use of other cores. So even if the work is still the same you can parallelize things to speed up the overall time. Paralleling (or is it parallelizing) work isn't always possible but when you can it does help
Keef
Keef2y ago
GitHub
GitHub - rui314/mold: Mold: A Modern Linker 🦠
Mold: A Modern Linker 🦠. Contribute to rui314/mold development by creating an account on GitHub.
Keef
Keef2y ago
Theres a little section on why its faster if you are curious. but yeah kinda off topic but KINDA RELEVANT
Silas | @silaspath
I like parallelizing because it's like paralyzing but for the greater good
Keef
Keef2y ago
the letter z just makes words cooler
ashendhiaa
ashendhiaa2y ago
Hey, same problem with me, it's just taking forever, i tried with NPM and PNPM and same problem occurs it takes forever to install, in fact it doesn't install in the end?
Neto
Neto2y ago
Maybe a bad cdn? It happens sometimes
Want results from more Discord servers?
Add your server