Install npm packages in a Docker sandbox environment. Use this skill whenever you need to install, reinstall, or update node_modules inside a container where…
Sandbox npm Install When to Use This Skill Use this skill whenever: You need to install npm packages for the first time in a new sandbox session package.json or package-lock.json has changed and you need to reinstall You encounter native binary crashes with errors like SIGILL, SIGSEGV, mmap, or unaligned sysNoHugePageOS The node_modules directory is missing or corrupted Prerequisites A Docker sandbox environment with a virtiofs-mounted workspace Node.js and npm available in the container A package.json file in the target workspace Background Docker sandbox workspaces are typically mounted via virtiofs (file sync between the host and Linux VM). Native Go and Rust binaries (esbuild, lightningcss, rollup, etc.) crash with mmap alignment failures when executed from virtiofs on aarch64. The fix is to install on the container's local ext4 filesystem and symlink back into the workspace.
don't have the plugin yet? install it then click "run inline in claude" again.