-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nuxi init with npm is very slow #411
Comments
Hi @devhawk , I tried it in my environment and couldn't observe it being that slow.
Is this problem still occurring? |
Just tried it again, still happening node: v20.13.1 |
I tried installing Node v20.5 + which came with NPM 9.8 and the issue went away. took 23 seconds to install dependencies instead of almost 6 minutes I also tried node v20.13.1 with npm v10.5.2. This one froze on the |
Has this problem been resolved once? This problem is most likely caused by the OS, Node, or npm rather than Nuxt CLI. If it happens again, please open it again. |
Sorry, @devhawk . It would be helpful if you could close it when you have time 🙏 |
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 expectedThe text was updated successfully, but these errors were encountered: