diff --git a/packages/compiler-cli/ngcc/src/main.ts b/packages/compiler-cli/ngcc/src/main.ts index 9da09766e6..4a760b3e63 100644 --- a/packages/compiler-cli/ngcc/src/main.ts +++ b/packages/compiler-cli/ngcc/src/main.ts @@ -95,9 +95,16 @@ export function mainNgcc( return; } - const {entryPoints} = finder.findEntryPoints( + const {entryPoints, invalidEntryPoints} = finder.findEntryPoints( AbsoluteFsPath.from(basePath), absoluteTargetEntryPointPath, pathMappings); + invalidEntryPoints.forEach(invalidEntryPoint => { + logger.debug( + `Invalid entry-point ${invalidEntryPoint.entryPoint.path}.`, + `It is missing required dependencies:\n` + + invalidEntryPoint.missingDependencies.map(dep => ` - ${dep}`).join('\n')); + }); + if (absoluteTargetEntryPointPath && entryPoints.length === 0) { markNonAngularPackageAsProcessed(fs, absoluteTargetEntryPointPath, propertiesToConsider); return;