<p dir="auto"><strong>I'm submitting a ...</strong>  (check one with "x")</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[x ] bug report =&gt; search github for a similar issue or PR before submitting
[ ] 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">[x ] bug report =&gt; search github for a similar issue or PR before submitting
[ ] 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></p>

<p dir="auto">its not really a bug. just a misspelling that would probably never show up in during normal use.<br>
this happens using @angular/core 4.0.0-beta.7</p>
<blockquote>
<p dir="auto">Uncaught (in promise) Error: Angular requires Zone.js prolyfill.<br>
at new NgZone (core.umd.js:3707)<br>
<em>line 3707:      throw new Error('Angular requires Zone.js <strong>prolyfill</strong>.');</em><br>
at PlatformRef_._bootstrapModuleFactoryWithZone (core.umd.js:8009)<br>
at eval (core.umd.js:8052)<br>
at </p>
</blockquote>
<p dir="auto"><strong>Expected behavior</strong></p>

<p dir="auto">just  fix the spelling error in angular/core@4.0.0-beta.7<br>
file core.umd.js<br>
line 3707: throw new Error('Angular requires Zone.js polyfill.');</p>
<p dir="auto"><strong>Minimal reproduction of the problem with instructions</strong></p>

<p dir="auto">this can be duplicated by NOT loading 'zone.js' in a index.html file. Then view console log with developer tools. It should display</p>
<p dir="auto"><strong>What is the motivation / use case for changing the behavior?</strong></p>

<p dir="auto">drank more coffee. stay up past midnight</p>
<p dir="auto"><strong>Please tell us about your environment:</strong></p>

<p dir="auto">windows 10 (64 bit), brackets, npm, Electron</p>
<ul dir="auto">
<li><strong>Angular version:</strong> 2.0.X</li>
</ul>

<p dir="auto">this error is in at least angular/core version 4.0.0-beta.7 could be in previous version. dont know. dont care.</p>
<ul dir="auto">
<li><strong>Browser:</strong> [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]</li>
</ul>

<p dir="auto">currently using chrome canary . all modern browsers should be affected.</p>
<ul dir="auto">
<li><strong>Language:</strong> [all | TypeScript X.X | ES6/7 | ES5]<br>
javascript ES6</li>
<li><strong>Node (for AoT issues):</strong> <code class="notranslate">node --version</code> =<br>
node version:  v8.0.0-nightly201702063fffebbde3</li>
</ul>
<p dir="auto">Wanted to be sure that this is when using the compiler CLI</p>
<p dir="auto"><strong>I'm submitting a ...</strong>  (check one with "x")</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[x ] bug report =&gt; search github for a similar issue or PR before submitting
[ ] 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">[x ] bug report =&gt; search github for a similar issue or PR before submitting
[ ] 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></p>

<p dir="auto">running ngc -p when using my typescript.cjs.json file which conifgures as such</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="{
   &quot;compilerOptions&quot;: {
    &quot;module&quot;: &quot;commonjs&quot;,
   &quot;target&quot;: &quot;es5&quot;,
   &quot;emitDecoratorMetadata&quot;: true,
   &quot;experimentalDecorators&quot;: true,
   &quot;moduleResolution&quot;: &quot;node&quot;,
   &quot;sourceMap&quot;: true,
   &quot;removeComments&quot;: false,
   &quot;noImplicitAny&quot;: false,
   &quot;declaration&quot;: true,
   &quot;outDir&quot;: &quot;../dist&quot;

  },
 &quot;files&quot;: [
   &quot;../src/multiple-date-picker.module.ts&quot;
 ],
  &quot;exclude&quot;: [
  &quot;node_modules&quot;
 ],
 &quot;angularCompilerOptions&quot;: {
   &quot;genDir&quot;: &quot;../aot&quot;,
   &quot;skipMetadataEmit&quot;: false
  }
}"><pre class="notranslate"><code class="notranslate">{
   "compilerOptions": {
    "module": "commonjs",
   "target": "es5",
   "emitDecoratorMetadata": true,
   "experimentalDecorators": true,
   "moduleResolution": "node",
   "sourceMap": true,
   "removeComments": false,
   "noImplicitAny": false,
   "declaration": true,
   "outDir": "../dist"

  },
 "files": [
   "../src/multiple-date-picker.module.ts"
 ],
  "exclude": [
  "node_modules"
 ],
 "angularCompilerOptions": {
   "genDir": "../aot",
   "skipMetadataEmit": false
  }
}
</code></pre></div>
<p dir="auto">The compiled error is as follows (running npm run build):<br>
Error encountered resolving symbol values statically. Calling function 'makeDecorator', function calls are not supported. Consider replacing the function or lambda with a reference to an exported function, resolving symbol Injectable in /Users/mbp06/Repos/multiple-date-picker-a2/node_modules/@angular/core/src/di/metadata.d.ts, resolving symbol OpaqueToken in /Users/mbp06/Repos/multiple-date-picker-a2/node_modules/@angular/core/src/di/opaque_token.d.ts, resolving symbol OpaqueToken in /Users/mbp06/Repos/multiple-date-picker-a2/node_modules/@angular/core/src/di/opaque_token.d.ts</p>
<p dir="auto"><strong>Expected behavior</strong><br>
it would compile correctly</p>
<p dir="auto"><strong>Minimal reproduction of the problem with instructions</strong></p>

<p dir="auto">i don't have a way to reproduce it other than this is my package json configuration</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="  &quot;devDependencies&quot;: {
&quot;@angular/compiler&quot;: &quot;^2.4.7&quot;,
&quot;@angular/compiler-cli&quot;: &quot;^2.4.7&quot;,
&quot;ts-loader&quot;: &quot;^2.0.0&quot;,
&quot;typescript&quot;: &quot;2.1.6&quot;,
&quot;typings&quot;: &quot;^2.1.0&quot;,
&quot;rxjs&quot;: &quot;^5.1.0&quot;,
&quot;gulp&quot;: &quot;^3.9.1&quot;,
&quot;gulp-autoprefixer&quot;: &quot;^3.1.1&quot;,
&quot;gulp-contrib-copy&quot;: &quot;^0.1.2&quot;,
&quot;gulp-git&quot;: &quot;^1.14.0&quot;,
&quot;gulp-jshint&quot;: &quot;^2.0.4&quot;,
&quot;gulp-less&quot;: &quot;^3.3.0&quot;,
&quot;gulp-minify-css&quot;: &quot;^1.2.4&quot;,
&quot;gulp-rename&quot;: &quot;^1.2.2&quot;,
&quot;gulp-replace&quot;: &quot;^0.5.4&quot;,
&quot;gulp-uglify&quot;: &quot;^2.0.1&quot;,
&quot;jshint&quot;: &quot;^2.9.4&quot;,
&quot;jshint-stylish&quot;: &quot;^2.2.1&quot;,
&quot;run-sequence&quot;: &quot;^1.2.2&quot;,
&quot;yargs&quot;: &quot;^6.6.0&quot;,
&quot;zone.js&quot;: &quot;0.7.6&quot;"><pre class="notranslate"><code class="notranslate">  "devDependencies": {
"@angular/compiler": "^2.4.7",
"@angular/compiler-cli": "^2.4.7",
"ts-loader": "^2.0.0",
"typescript": "2.1.6",
"typings": "^2.1.0",
"rxjs": "^5.1.0",
"gulp": "^3.9.1",
"gulp-autoprefixer": "^3.1.1",
"gulp-contrib-copy": "^0.1.2",
"gulp-git": "^1.14.0",
"gulp-jshint": "^2.0.4",
"gulp-less": "^3.3.0",
"gulp-minify-css": "^1.2.4",
"gulp-rename": "^1.2.2",
"gulp-replace": "^0.5.4",
"gulp-uglify": "^2.0.1",
"jshint": "^2.9.4",
"jshint-stylish": "^2.2.1",
"run-sequence": "^1.2.2",
"yargs": "^6.6.0",
"zone.js": "0.7.6"
</code></pre></div>
<p dir="auto">},<br>
"engines": {<br>
"node": "&gt;=0.10.0"<br>
},<br>
"dependencies": {<br>
"@angular/common": "^2.X.X",<br>
"@angular/compiler": "^2.X.X",<br>
"@angular/core": "^2.X.X",<br>
"@angular/forms": "^2.X.X",<br>
"@angular/http": "^2.X.X",<br>
"@angular/platform-browser": "^2.X.X",<br>
"@angular/platform-browser-dynamic": "^2.X.X",<br>
"moment": "^2.X.X"<br>
}</p>
<p dir="auto"><strong>What is the motivation / use case for changing the behavior?</strong></p>

<p dir="auto">I just want it to work</p>
<p dir="auto"><strong>Please tell us about your environment:</strong></p>

<p dir="auto">angular-cli: 1.0.0-beta.19-3<br>
node: 6.2.2<br>
os: darwin x64</p>
<ul dir="auto">
<li><strong>Angular version:</strong> 2.0.X</li>
</ul>

<p dir="auto">2.4.7</p>
<ul dir="auto">
<li><strong>Browser:</strong> [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]</li>
</ul>

<p dir="auto">Chrome</p>
<ul dir="auto">
<li>
<p dir="auto"><strong>Language:</strong> [all | TypeScript X.X | ES6/7 | ES5]<br>
ES6 compiled to ES5</p>
</li>
<li>
<p dir="auto"><strong>Node (for AoT issues):</strong> <code class="notranslate">node --version</code> = 6.2.2</p>
</li>
</ul>