What problem does it solve?
Native Go and Rust binaries like esbuild, lightningcss, and rollup crash with SIGILL, SIGSEGV, or mmap alignment errors when executed from virtiofs-mounted Docker sandbox workspaces, making standard npm installs unusable in containerized development environments.
Core Features & Use Cases
- Local ext4 Installation: Copies package.json, package-lock.json, and .npmrc to a container-local ext4 directory and runs npm ci or npm install there, avoiding virtiofs crashes.
- Automatic Symlinking: Symlinks the installed node_modules back into the workspace so the project works normally.
- Native Binary Verification: Verifies esbuild, rollup, lightningcss, and vite load correctly after installation, with optional Playwright Chromium browser setup.
- Use Case: You open a fresh Docker sandbox session for a Vite-based web project and the dev server crashes with SIGSEGV. Run the bundled install script to reinstall dependencies on ext4, symlink them back, and verify the toolchain before running npm run dev.
Quick Start
Ask the agent to run the sandbox npm install script from the workspace root to install dependencies and fix native binary crashes.