<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[ ] bug report =&gt; search github for a similar issue or PR before submitting
[x ] feature request
[ ] support request =&gt; Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question"><pre class="notranslate"><code class="notranslate">[ ] bug report =&gt; search github for a similar issue or PR before submitting
[x ] feature request
[ ] support request =&gt; Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question
</code></pre></div>
<p dir="auto"><strong>Current behavior</strong><br>
I have an angular 2 app that gives a number of errors like the one below when the app is build using angular cli 1.0</p>
<p dir="auto">ERROR in C:/Source/xxx/MemberUI/src/$$_gendir/app/journal/journal-component.ngfactory.ts (232,79): Supplied parameters do not match any signature of call target.</p>
<p dir="auto">Unfortunately, this is to little information for me to fix the bug and I am unable to see the generated ngfactory file to learn more.</p>
<ul dir="auto">
<li><strong>Angular version:</strong> 2.4.10</li>
</ul>
<p dir="auto">(unfortunately, the app does not work yet with 4.0.1)</p>
<ul dir="auto">
<li>
<p dir="auto"><strong>Language:</strong> TS 2.1.5</p>
</li>
<li>
<p dir="auto"><strong>Node (for AoT issues):</strong> <code class="notranslate">node --version</code> =<br>
7.7.1</p>
</li>
</ul>
<h3 dir="auto">Bug Report or Feature Request (mark with an <code class="notranslate">x</code>)</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="- [ ] bug report -&gt; please search issues before submitting
- [X] feature request"><pre class="notranslate"><code class="notranslate">- [ ] bug report -&gt; please search issues before submitting
- [X] feature request
</code></pre></div>
<h3 dir="auto">Versions.</h3>
<p dir="auto">angular-cli 1.0.0<br>
angular 2.4.10</p>
<h3 dir="auto">Repro steps.</h3>
<p dir="auto">With the latest bugfix that uncovered AOT errors, I noticed how hard it is to pinpoint those errors. The reason is that all we get is an error during compilation like this:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ERROR in /src/$$_gendir/app/lazy/support/support.component.ngfactory.ts (2126,52): Supplied parameters do not match any signature of call target."><pre class="notranslate"><code class="notranslate">ERROR in /src/$$_gendir/app/lazy/support/support.component.ngfactory.ts (2126,52): Supplied parameters do not match any signature of call target.
</code></pre></div>
<p dir="auto">The offending file is transient and cannot be inspected. Due to the recently fixed bug, the code error has been there for a long time and it is now very difficult to spot the offending code in a module that has been working for months.</p>
<h3 dir="auto">Desired functionality.</h3>
<p dir="auto">There should be a way to inspect (= keep) the transient file to get a better idea what the AOT compiler complains about.</p>