Investigate build freeze
1 minute read
The pnpm build command freezes at some point. Need to identify
the cause and fix it.
Investigation Steps
- Run
pnpm buildand observe where it hangs - Check for infinite loops or circular dependencies
- Check vite-imagetools processing (large images, many images)
- Check for problematic imports or dynamic imports
- Try building with verbose output
Potential Causes
- vite-imagetools processing too many images
- Circular dependencies in imports
- Large asset processing
- Memory issues during build
- Plugin conflicts
Read next