-
-
Notifications
You must be signed in to change notification settings - Fork 7.1k
Closed
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationhas workaround
Description
Describe the bug
When you try to use Vite in a large Vue.js application (1000+ modules) and run the dev server, the app won't load in a browser. If you open DevTools, you will see a lot of pending requests there. And they will stay stalled forever.
It looks like this issue only occurs in Chromium-based browsers. I can reproduce it in both Brave and Chromium. But it works without any problems in Firefox or GNOME Web (WebKit).
Reproduction
- Go to
pending-requests
folder of vite-bugs repo. - Run
npm install
- Run
npm run dev
- Open a new tab in any Chromium-based browser
- Open DevTools and switch to the Network tab
- Go to http://localhost:3000/
System Info
System:
OS: Linux 5.10 Manjaro Linux
CPU: (16) x64 AMD Ryzen 7 PRO 4750U with Radeon Graphics
Memory: 8.34 GB / 30.65 GB
Container: Yes
Shell: 5.8 - /bin/zsh
Binaries:
Node: 16.10.0 - /usr/bin/node
Yarn: 1.22.10 - ~/.npm-global/bin/yarn
npm: 8.1.0 - ~/.npm-global/bin/npm
Browsers:
Brave Browser: 1.30.87 (Chromium: 94.0.4606.71)
Chromium: 94.0.4606.81
Firefox: 93.0
npmPackages:
@vitejs/plugin-vue: ^1.9.3 => 1.9.3
vite: ^2.6.4 => 2.6.7
Used Package Manager
npm
Logs
No response
Validations
- Follow our Code of Conduct
- Read the Contributing Guidelines.
- Read the docs.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to https://github.com/vuejs/vue-next instead.
- Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
- The provided reproduction is a minimal reproducible example of the bug.
antick, phi0411141, olejorgenb, mmccartn, HelloAlexPan and 2 more
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationhas workaround