-
Notifications
You must be signed in to change notification settings - Fork 65
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 dev
causes requests to stay "Pending"
#279
Comments
Just confirmed this, using |
We are aware of some possible scenarios that this might happen with forked dev server and already plan to make some attempts fixing it (using socket file). But any reproduction or environment info (os, using ipv6 or not, node version, using any specific listener options or package manager, etc) would be super helpful since i still have no stable reproduction. Also feel free to DM me in discord (pi0) if you like to directly show me your project. |
Has there been any updates about this issue? I have this problem too. If it is needed I could provide some information about my environment or specific options I have used? |
I have the same issue on Windows 11 OS using nuxt 3.11.2. |
We've just discovered some behavior that causes our projects to completely stop working after the first request.
To give some context, we currently have our projects on nuxt v3.6.5. After updating to latest nuxt (currently 3.8.0), our apps start to have around 10% of their requests stuck in "Pending" when checking out the network tab in Chrome DevTools.
We've been able to isolate the issue to 3.7.0, as thats the version when this starts happening. More specifically, we traced it to nuxi v3.7.0. Whenever we override nuxt's dependency on nuxi to v3.6.5, all works just like expected.
We're seeing this irrelevant of OS (we tested MacOS and Linux) and Node version (we tested 18 and 20).
In our case, something causes every
date-fns
andlodash-es
function to be imported as a single request, meaning we end up making 1.2k requests to load our SPA. The first request usually works just fine, however any requests after are partially stuck in "Pending", some seem to resolve after a delay of 30s. As soon as there are requests that get into the Pending state, we don't really leave the spa-loading-template content anymore and can't do anything with the apps.For now the workaround is to pin nuxi, but that doesn't seem like a good solution. We could also spend more time to figure out why we there are so many requests in the first place, but even then 1200 local requests on a machine don't seem like they should be a bottle neck at all.
Before we dive super deep into this, is there anybody that has experienced this too?
We'll try to provide a reproduction repo of course.
Might be related to #209
The text was updated successfully, but these errors were encountered: