You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
claude plugin eval fails every run with E2BIG when the plugin root has a large node_modules #109197
Claude Code 2.1.293 · macOS (Darwin 24.5.0) · Node 24.15.0
Steps
A plugin repo with a pnpm-installed node_modules at the root (334 MB).
claude plugin eval . --eval-dir tests/plugin-evals --trust-plugin --no-publish --runs 1
Result
Every run, including the no-plugin baseline arm, ends with turns: 0 and error: "E2BIG: argument list too long, posix_spawn '<node>/lib/node_modules/@anthropic-ai/claude-code/bin/claude.exe'".
A one-line "say hello" case fails the same way.
Narrowing it down (copies of the same repo)
without .git and node_modules: runs fine
with .git added back: runs fine
with node_modules added back: E2BIG
Workaround: rsync the repo without node_modules to a temp dir and run the eval there.
Expected: the eval runs in the plugin root whether or not node_modules is there.
Activity