Skip to content

Commit

Permalink
fix(@ngtools/webpack): show exception message when cannot find compil…
Browse files Browse the repository at this point in the history
…er-cli (#6984)
  • Loading branch information
rwoloszyn authored and Brocco committed Jul 20, 2017
1 parent b54d850 commit adc69f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@ngtools/webpack/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ let version;
try {
version = require('@angular/compiler-cli').VERSION;
} catch (e) {
throw new Error('The "@angular/compiler-cli" package was not properly installed.');
throw new Error('The "@angular/compiler-cli" package was not properly installed. Error: ' + e);
}

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

0 comments on commit adc69f0

Please sign in to comment.