Inaccurate errors returned by compiler #1248

Closed
opened 2025-08-09 17:19:25 +00:00 by fergalmoran · 0 comments
Owner

Originally created by @piotrek-k on 11/19/2016

I'm currently building an Angular app using template from your yeoman generator. There is one thing that annoys me and I think it should be fixed.

This is how "Internal Server Errors" are being shown in my project:
internal server error - mozilla firefox 2016-11-19 21 52 40
Information I've received is highly inaccurate. Message tells me that there is some unexpected token somewhere in my code and in files like http.umd.js, main-server.js or \rxjs\Subscriber.js which is not true, because problem happens in my code, not in components I import.

Is there any way I could improve quality of error messages I receive? I mean: is it possible to include in such error message exact position of faulty code? Or at least name of file where it happens?

Additional info:
Type of generated project: Angular2
Used dependencies: "Microsoft.AspNetCore.SpaServices": "1.0.0-beta-000019"

*Originally created by @piotrek-k on 11/19/2016* I'm currently building an Angular app using template from your yeoman generator. There is one thing that annoys me and I think it should be fixed. This is how "Internal Server Errors" are being shown in my project: ![internal server error - mozilla firefox 2016-11-19 21 52 40](https://cloud.githubusercontent.com/assets/5506878/20458352/59abe666-aea3-11e6-865f-3a0a4a275087.png) Information I've received is highly inaccurate. Message tells me that there is some unexpected token _somewhere in my code_ and in files like `http.umd.js`, `main-server.js` or `\rxjs\Subscriber.js` which is not true, because problem happens in my code, not in components I import. Is there any way I could improve quality of error messages I receive? I mean: is it possible to include in such error message exact position of faulty code? Or at least name of file where it happens? Additional info: Type of generated project: Angular2 Used dependencies: `"Microsoft.AspNetCore.SpaServices": "1.0.0-beta-000019"`
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/JavaScriptServices#1248
No description provided.