<p dir="auto">Probably this is by design, but typing such as zone.js, es6-shim and so on are not referenced anymore. You can easily get around this by installing these typings yourself, but there seems to be some issues with a <code class="notranslate">BrowserNodeGlobal</code> that is missing and zone.js referencing a es6-promise which if installed will conflict with es6-shim.</p>
<p dir="auto"><strong>I'm submitting a</strong></p>
<ul dir="auto">
<li>Bug Report</li>
</ul>
<blockquote>
<p dir="auto">Issue still appears after <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="214838667" data-permission-text="Title is private" data-url="https://github.com/angular/angular/issues/15215" data-hovercard-type="pull_request" data-hovercard-url="/angular/angular/pull/15215/hovercard" href="https://github.com/angular/angular/pull/15215">#15215</a> being merged</p>
</blockquote>
<p dir="auto"><strong>Current behavior</strong></p>
<p dir="auto">Metadata file when using <code class="notranslate">flatModuleOutFile</code> is empty on Windows</p>
<div class="highlight highlight-source-json notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{&quot;__symbolic&quot;:&quot;module&quot;,&quot;version&quot;:3,&quot;metadata&quot;:{},&quot;importAs&quot;:&quot;@angular/material&quot;}"><pre class="notranslate">{<span class="pl-ent">"__symbolic"</span>:<span class="pl-s"><span class="pl-pds">"</span>module<span class="pl-pds">"</span></span>,<span class="pl-ent">"version"</span>:<span class="pl-c1">3</span>,<span class="pl-ent">"metadata"</span>:{},<span class="pl-ent">"importAs"</span>:<span class="pl-s"><span class="pl-pds">"</span>@angular/material<span class="pl-pds">"</span></span>}</pre></div>
<p dir="auto"><strong>Expected behavior</strong></p>
<p dir="auto">Metadata file should contain <code class="notranslate">metadata</code> as for Linux and Mac OS.</p>
<div class="highlight highlight-source-json notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{&quot;__symbolic&quot;:&quot;module&quot;,&quot;version&quot;:3,&quot;metadata&quot;:{&quot;TestComponent&quot;:{&quot;__symbolic&quot;:&quot;class&quot;,&quot;decorators&quot;:[{&quot;__symbolic&quot;:&quot;call&quot;,&quot;expression&quot;:{&quot;__symbolic&quot;:&quot;reference&quot;,&quot;module&quot;:&quot;@angular/core&quot;,&quot;name&quot;:&quot;Component&quot;},&quot;arguments&quot;:[{&quot;selector&quot;:&quot;test-component&quot;,&quot;template&quot;:&quot;&lt;span&gt;Test&lt;/span&gt;&quot;}]}],&quot;members&quot;:{}}},&quot;importAs&quot;:&quot;@angular/material&quot;}"><pre class="notranslate">{<span class="pl-ent">"__symbolic"</span>:<span class="pl-s"><span class="pl-pds">"</span>module<span class="pl-pds">"</span></span>,<span class="pl-ent">"version"</span>:<span class="pl-c1">3</span>,<span class="pl-ent">"metadata"</span>:{<span class="pl-ent">"TestComponent"</span>:{<span class="pl-ent">"__symbolic"</span>:<span class="pl-s"><span class="pl-pds">"</span>class<span class="pl-pds">"</span></span>,<span class="pl-ent">"decorators"</span>:[{<span class="pl-ent">"__symbolic"</span>:<span class="pl-s"><span class="pl-pds">"</span>call<span class="pl-pds">"</span></span>,<span class="pl-ent">"expression"</span>:{<span class="pl-ent">"__symbolic"</span>:<span class="pl-s"><span class="pl-pds">"</span>reference<span class="pl-pds">"</span></span>,<span class="pl-ent">"module"</span>:<span class="pl-s"><span class="pl-pds">"</span>@angular/core<span class="pl-pds">"</span></span>,<span class="pl-ent">"name"</span>:<span class="pl-s"><span class="pl-pds">"</span>Component<span class="pl-pds">"</span></span>},<span class="pl-ent">"arguments"</span>:[{<span class="pl-ent">"selector"</span>:<span class="pl-s"><span class="pl-pds">"</span>test-component<span class="pl-pds">"</span></span>,<span class="pl-ent">"template"</span>:<span class="pl-s"><span class="pl-pds">"</span>&lt;span&gt;Test&lt;/span&gt;<span class="pl-pds">"</span></span>}]}],<span class="pl-ent">"members"</span>:{}}},<span class="pl-ent">"importAs"</span>:<span class="pl-s"><span class="pl-pds">"</span>@angular/material<span class="pl-pds">"</span></span>}</pre></div>
<p dir="auto"><strong>Minimal reproduction of the problem with instructions</strong></p>
<p dir="auto"><a href="https://github.com/DevVersion/ng-compiler-cli-test">https://github.com/DevVersion/ng-compiler-cli-test</a></p>
<p dir="auto"><strong>Please tell us about your environment:</strong></p>
<p dir="auto">Using the latest version (Github builds). And since <code class="notranslate">@angular/tsc-wrapped</code> is not bound to the <code class="notranslate">0.0.0-PLACEHOLDER</code>, there is a script that injects the latest version of it.</p>
<p dir="auto"><strong>Node (for AoT issues):</strong> v6.10.0</p>
<p dir="auto">cc. <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jelbourn/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jelbourn">@jelbourn</a></p>