Pain point · Self-hosting & upgrades · Blocks work
Build fails with minimatch type definition error on Strapi 5.17
2 source threads · first seen 2023-03 · last seen 2025-07
Summary
Running the build on Strapi 5.17 fails in the TypeScript compile step with a missing type definition for minimatch.
- Affects
- TypeScript users building in CI or Docker
Evidence
Excerpts are copied word for word from the source; follow the link to read it in full.
“Yarn build is failing as: error TS2688: Cannot find type definition file for 'minimatch”
“Unable to run strapi build with pnpm”