Lightlines
By github

sandbox-npm-install

github1.8k installs

Install dependencies without virtiofs binary crashes.

What it does

Installs npm dependencies on a container-local filesystem and links them into the workspace to avoid native-binary crashes.

When to use it

Use when installing or reinstalling sandbox dependencies, when package manifests change, or when native binaries crash or node_modules is missing.

How to use it

Give it a sandbox project; it installs dependencies locally, symlinks node_modules into the workspace, and verifies supported native binaries.

What you provide

  • An existing project

Uses

Good to know

  • cannot be undone: node_modules; /home/agent/project-deps

Latest review

What you need · 3

Requires a Docker sandbox with a virtiofs-mounted workspace.

Requires Node.js and npm to be available inside the container.


Access · 3

This skill

node_modules

Write

Deletes existing node_modules (irreversible)

/home/agent/project-deps

Write

Replaces container-local dependency files (irreversible)