pnpm checks abort while attempting non-interactive dependency repair
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 176
- Forks
- 66
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 52
Description
Expected Behavior
pnpm check:types runs the documented type check, or reports a non-interactive dependency problem with an actionable command.
Current Behavior
The command invokes pnpm install and aborts with ERR_PNPM_ABORTED_REMOVE_MODULES_DIR_NO_TTY, so validation cannot start.
Possible Solution
Avoid implicit interactive dependency repair for check commands, or provide a CI-safe fallback and clear remediation.
Minimal Reproducible Example
Run pnpm check:types in a non-TTY workspace where pnpm decides the modules directory needs repair.
Context
This blocked validation of a source change in this repository.
Logged by Ryan Aubrey in wevm/mppx at 4e4810a. Filed by Frog.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by inspecting the package scripts behind pnpm check:types and reproduce it in a non-TTY workspace where pnpm attempts dependency repair. The work is done when type checks either run successfully or report an actionable, CI-safe remediation without aborting on interactive module-directory removal.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- build-system, testing-qa, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 62/100