Skip to content
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

Slow initial loading & slow refresh in Nuxt 3.7.1 (dev only) #171

Closed
luke-z opened this issue Sep 11, 2023 · 5 comments
Closed

Slow initial loading & slow refresh in Nuxt 3.7.1 (dev only) #171

luke-z opened this issue Sep 11, 2023 · 5 comments

Comments

@luke-z
Copy link

luke-z commented Sep 11, 2023

Environment

  • Operating System: Linux (WSL on Windows 11)
  • Node Version: v18.15.0
  • Nuxt Version: 3.7.1
  • CLI Version: 3.8.3
  • Nitro Version: 2.6.3
  • Package Manager: [email protected]
  • Builder: -
  • User Config: devtools
  • Runtime Modules: -
  • Build Modules: -

Reproduction

  • Open a WSL cli.
  • Run the init command npx nuxi@latest init my-app and choose yarn as the package manager. (just for fun I also tried it with bun, same problem)
  • Start the server using yarn dev .
  • Open the page in a a browser, preferably private mode.

Describe the bug

image

I have experienced this on two projects when I upgraded them to v3.7.1.
One was on v3.4.1 today before upgrading, the other on v3.6.5.

I experienced it on two separate systems running a similar config (both Win11, node 18, yarn) in WSL.

Both of the browsers (Edge and Brave) I tested it in loaded the page extremely slow, which can also be seen in the browsers dev tools network tab (see attached pic).
I also tried removing the new Nuxt devtools package which is now being shipped with Nuxt, but that made no difference.

The only way it can be resolved at the moment is by downgrading to Nuxt 3.6.5, where it works normally.
Edit: Also tried 3.7.0 which results in the same slow loading.

The bug does not affect production builds, I ran the following command to test that: yarn build && node .output/server/index.mjs

Additional context

No response

Logs

No logs, the network tab is the only place where I can see anything related to this problem.
@luke-z luke-z changed the title Slow initial loading & slow refresh in Nuxt 3.7.1 (mostly likely affecting WSL?) Slow initial loading & slow refresh in Nuxt 3.7.1 (dev only) Sep 11, 2023
@danielroe danielroe transferred this issue from nuxt/nuxt Sep 11, 2023
@or2e
Copy link

or2e commented Sep 11, 2023

dup #118

@luke-z
Copy link
Author

luke-z commented Sep 11, 2023

Oh, didn't think about checking the cli issues, sorry 😅

@manniL
Copy link
Member

manniL commented Sep 11, 2023

Closing in favor of #118

@manniL manniL closed this as not planned Won't fix, can't repro, duplicate, stale Sep 11, 2023
@pi0
Copy link
Member

pi0 commented Sep 20, 2023

Nuxi 3.9.0 is out to fix a couple of relevant bug fixes! 🚀

Please report if you are still experiencing slow dev server issues to #209 🙏🏼

@luke-z
Copy link
Author

luke-z commented Sep 20, 2023

@pi0 Awesome, thanks for all of the work you and the team do btw!

I'll make sure to upgrade to the new version asap and report back in case there should be any problems :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants