Filter diagnostics of certain error codes
See original GitHub issueIn our project, we use require
to load all components. This works, and the app runs fine.
Our app uses string interpolation for some reason - however it is valid code and does compile properly. As a result, we shouldn’t receive this error. We also receive this error if we remove the string interpolation.
Here is an example:
@Component({
selector: 'project-review-dialog',
styles: [`${require('./project-review-dialog.component.css')}`],
template: `${require('./project-review-dialog.component.html')}`
})
Thus, we get this error:
Note: I have seen the other tickets that have this issue. All of them provided no solution.
I am hoping you might have a solution for this (without forcing us to change any code)
Thanks.
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
AS, S.L.U. DPF most common Diagnostic Trouble Codes
We offer below a list containing the most common DTC about Diesel Particulate. Filters (DPF), including their description and some potential causes for...
Read more >Fault and error handling filters - Axway Documentation Portal
The Generic Error filter examines the incoming message and infers the type of message to be returned (for example, JSON or SOAP). You...
Read more >Diagnostic Trouble Codes - What They Mean & How to Fix Them
Your vehicle's on-board diagnostic system stores trouble codes when it detects issues to make diagnosing problems easier. Learn what these codes mean.
Read more >Identify and diagnose issues in Azure Virtual Desktop (classic)
Azure Virtual Desktop offers a diagnostics feature that allows the administrator to identify issues through a single interface.
Read more >A Guide to Understanding DTC Codes - Samsara
A DTC, short for Diagnostic Trouble Code, is a code used to diagnose malfunctions ... DTCs are also called engine vehicle fault codes...
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
@kyliau I am new to this app, but i’ve been told it was done this way to facilitate the migration from AngularJS to Angular2+ We are currently running a hybrid app with mixed components from AngularJS and 2+.
I understand this is non-standard how we are currently specifying
template
- in that case, is there any way there could be a setting which would allow us to disable this rule?I’m in a similar boat, I have a collection of base/abstract component classes that now require angular attributes (component/directive, etc.). Code compiles fine, but the error messages can be a PITA. Similar to other project types, there’s should be a way of disabling specific warning/error condition codes. Something similar to this: