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
fix(devx): seven gates that import typescript refuse an uninstalled tree with a named prerequisite, not a raw stack
`check:system-context-census` and six sibling sites still carried the bare
top-level `import ts from 'typescript'` (and, at one site, a bare dynamic
`import('@typescript-eslint/parser')`) that PR #11824 converted everywhere else.
node resolves those before any module body runs, so the gate cannot preflight
its own missing dependency: on a fresh worktree — the checkout shape CLAUDE.md
mandates — it died with a node-internals `ERR_MODULE_NOT_FOUND` stack and exit
**1**, the same code a real finding uses.
Each site now loads the dependency through `scripts/import-prerequisite.mjs`,
in the shape the 27 already-converted sites use, so the answer is
`PREREQUISITE NOT MET`, exit 3, and an explicit "nothing was measured".
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012zGPuVVX3deAx9LdjK8jCk
0 commit comments