A Docker Build Failure That Had Nothing to Do With Docker

A local Docker build failed with a MODULE_NOT_FOUND error, but the same build passed in CI/CD. The issue was caused by stale workspace-level node_modules from a pnpm monorepo leaking into the Docker context after upgrading pnpm from 9.x to 10.x. To fix, run 'pnpm install' to regenerate local dependencies.

Source →
FeedLens — Signal over noise Last 7 days