CI broken: Cannot find module 'fs-extra' in build-system/pr-check/utils.js on Module/Nomodule Build steps
Author: michaeldegoriCreated May 15, 2026Updated May 15, 2026
All current PR CI runs are failing on Module Build (Test/Bundle Size) and Nomodule Build (Test/Bundle Size) steps with:
Error: Cannot find module 'fs-extra'
Require stack:
- /home/circleci/project/build-system/pr-check/utils.js
- /home/circleci/project/build-system/pr-check/dist.js
at Object.<anonymous> (/home/circleci/project/build-system/pr-check/utils.js:3:12)
code: 'MODULE_NOT_FOUND',
Node.js v24.15.0
Exited with code exit status 1[email protected] is declared in package.json and present in package-lock.json, so this looks like a CircleCI runner image / cache issue rather than a missing dependency.
Confirmed affecting unrelated PRs (identical stack trace verified in CircleCI logs):
- #40454 (AMP validator) — CircleCI job 722540
- #40504, #40505, #40506 (amp-story / amp-story-player) — CircleCI jobs 722768 and 722822
Main itself is green: CircleCI build #722707 (chromedriver v148 merge on main) passed. The breakage appears to have started in newer CI runs after that merge, suggesting a runner image change or cache invalidation around the recent Node 24 + lockfileVersion: 3 migration commits (#40444, #40450).
Source: ampproject/amphtml