vite build hangs forever

See original GitHub issue

After adding Checker, my vite build began to hang forever. I tried multiple different options typescript: true, vueTsc: true (with the package installed), etc.

The build runs fine, but when it is complete, it sits forever. CI deploy waited for ~15 minutes before timing out.

Here is an example repo with a tag at the commit where it broke:

https://github.com/bbugh/vue-tsx-tailwind-starter/releases/tag/checker

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
fi3eworkcommented, Jun 24, 2021

Hi @bbugh! The forever hang problem is known and I’m trying to fix it. And it has almost done.

https://www.npmjs.com/package/vite-plugin-ts-checker is the predecessor of vite-plugin-checker. I renamed the package as it may work with different checkers. You can use vite-plugin-ts-checker for now. I’ll fix the bug and release a version ASAP and let you know. We can leave this issue open.

1reaction
fi3eworkcommented, Jul 5, 2021

fixed in 0.2.0

Read more comments on GitHub >

github_iconTop Results From Across the Web

[Bug] vite build hangs when building a React app ... - GitHub
I'm unable to complete the build process npm run build using Vite + PostCSS on my machine as well as online in stackblitz...
Read more >
Troubleshooting - Vite
Requests are stalled forever #. If you are using Linux, file descriptor limits and inotify ... Build #. Built file does not work...
Read more >
vue.js - HTTP requests stuck in Pending state when using Vite
It takes two minutes just to run vue-cli-service serve and around 20 seconds to re-build it after each change. Hot reload stopped working...
Read more >
Getting Started - ESBuild
The build function runs the esbuild executable in a child process and returns a ... though since the approach should still work forever...
Read more >
How JavaScript works: A deep dive into Vite - SessionStack Blog
Vite is a JavaScript build tool created by Evan You, the creator of ... Vite takes a completely different approach which is made...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found