Skip to content

Commit e481bcb

Browse files
rwoloszynhansl
authored andcommitted
fix(@ngtools/webpack): show exception message when cannot find compiler-cli (#6984)
1 parent f735760 commit e481bcb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/@ngtools/webpack/src/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ let version;
77
try {
88
version = require('@angular/compiler-cli').VERSION;
99
} catch (e) {
10-
throw new Error('The "@angular/compiler-cli" package was not properly installed.');
10+
throw new Error('The "@angular/compiler-cli" package was not properly installed. Error: ' + e);
1111
}
1212

1313
// Check that Angular is also not part of this module's node_modules (it should be the project's).

0 commit comments

Comments
 (0)