cli icon indicating copy to clipboard operation
cli copied to clipboard

nuxi init with npm is very slow

Open devhawk opened this issue 1 year ago • 0 comments

Creating a new nuxt app with nuxi using npm as package manager takes almost 6 minutes. Using pnpm takes 8 seconds, yarn 16 seconds, bun 4 seconds. I get that npm is slower than more modern package managers, but 20x slower seems longer than I would have expected

> npx nuxi@latest init arctic-demon

✔ Which package manager would you like to use?
npm
◐ Installing dependencies...                                                                                9:04:38 AM

> postinstall
> nuxt prepare

✔ Types generated in .nuxt                                                                                 9:10:29 AM

devhawk avatar May 14 '24 16:05 devhawk