Skip to content

Commit 8183a8d

Browse files
committed
Show exception message while ng starts
1 parent 962b028 commit 8183a8d

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)