friendly-errors-webpack-plugin icon indicating copy to clipboard operation
friendly-errors-webpack-plugin copied to clipboard

Blank Error with Angular 5

Open Serubin opened this issue 6 years ago • 5 comments

Friendly Error doesn't seem to give errors correctly with Angular 5. It detects the error but doesn't show the error string resulting in the following.

screen shot 2018-05-02 at 10 58 05 am

Serubin avatar May 02 '18 14:05 Serubin

@Serubin can you provide a repository to reproduce ?

christophehurpeau avatar May 02 '18 15:05 christophehurpeau

i have the same problem

tiger8888 avatar May 16 '18 03:05 tiger8888

@tiger8888 can you provide a repository to reproduce ?

christophehurpeau avatar May 17 '18 08:05 christophehurpeau

@christophehurpeau Unfortunately not - this is a private repo which I cannot allow access to. I can likely reproduce it pretty easily though in a dummy repo if needed.

Serubin avatar May 17 '18 17:05 Serubin

I had a similar problem when working with vue-cli 3 and lerna, and had to add log in FriendlyErrorsWebpackPlugin#displayErrors myself to find out what the errors really were.

Finally, I find that the cause of my problem is the same as #79. vue-cli might have caught the exception while not logging it. The same can goes for ng-cli.

linden5 avatar Nov 23 '18 14:11 linden5