Report file errors on loader
See original GitHub issueCurrently compilation errors get reported in the entry points (polyfills.ts
, main.ts
) and for the compilation itself afterwards:
ERROR in ./src/polyfills.ts
Module build failed: Error: TypeScript compilation failed.
at plugin.done.then (/Users/iminar/tmp/regression-test-project/node_modules/@angular/cli/node_modules/@ngtools/webpack/src/loader.js:479:27)
@ multi ./src/polyfills.ts
ERROR in ./src/main.ts
Module build failed: Error: TypeScript compilation failed.
at plugin.done.then (/Users/iminar/tmp/regression-test-project/node_modules/@angular/cli/node_modules/@ngtools/webpack/src/loader.js:479:27)
at process._tickCallback (internal/process/next_tick.js:103:7)
@ multi ./src/main.ts
ERROR in Error: Unexpected value 'MdIconModule in /Users/iminar/tmp/regression-test-project/node_modules/@angular/material/material.d.ts' imported by the module 'AppModule in /Users/iminar/tmp/regression-test-project/src/app/app.module.ts'. Please add a @NgModule annotation.
We should instead report errors for a given file on the file loader, and the rest of these errors in the compilation.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:4
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Loader reporting syntax errors when dealing with typescript files
When I use typescript 'as' keyword, causes eslint-loader to throw error on the 'as' - " Parsing error: Unexpected token, expected "," "...
Read more >Run the HCM Data Loader Error Analysis Report
The HCM Data Loader Error Analysis Report is a diagnostic test that provides technical information about data loads to help you resolve errors....
Read more >How to Use the Data Loader Success and Error Files - YouTube
Do you ever wonder what those success and error files are that are created whenever you use Data Loader ? After an insert,...
Read more >Common error messages in Data Loader - Salesforce Help
Here's a list of common Data Loader errors you'll receive as you use Data Loader to ... Resolution: Review your file's values for...
Read more >Webpack worker-loader silently fails on errors - Stack Overflow
The problem is that if there are compilation errors in worker code, it still reports production build as successful, but the output folder...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Is there a workaround for this?
This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.