Skip to content
Docs
Errors

too_many_modules

The package contains more than 512 modules.

The package contains more than 512 modules.

KindBuild or validation problem
Reported byArchive and source validation
disko exit code1 (problems)

The package has more than 512 modules. Every .js or .ts file the build reaches from the entry counts, and so does every .js file in an archive.

Why it happens

Very fine-grained file layouts, such as one module per level or per small helper, add up quickly.

Wrong

text
text

Merge small modules so the total stays at 512 or fewer.

See also