{"action":"opened","issue":{"url":"https://api.github.com/repos/angular/angular-cli/issues/11972","repository_url":"https://api.github.com/repos/angular/angular-cli","labels_url":"https://api.github.com/repos/angular/angular-cli/issues/11972/labels{/name}","comments_url":"https://api.github.com/repos/angular/angular-cli/issues/11972/comments","events_url":"https://api.github.com/repos/angular/angular-cli/issues/11972/events","html_url":"https://github.com/angular/angular-cli/issues/11972","id":353021867,"node_id":"MDU6SXNzdWUzNTMwMjE4Njc=","number":11972,"title":"ng build --prod gives error on polyfills.ts ","user":{"login":"brugh","id":2128618,"node_id":"MDQ6VXNlcjIxMjg2MTg=","avatar_url":"https://avatars1.githubusercontent.com/u/2128618?v=4","gravatar_id":"","url":"https://api.github.com/users/brugh","html_url":"https://github.com/brugh","followers_url":"https://api.github.com/users/brugh/followers","following_url":"https://api.github.com/users/brugh/following{/other_user}","gists_url":"https://api.github.com/users/brugh/gists{/gist_id}","starred_url":"https://api.github.com/users/brugh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brugh/subscriptions","organizations_url":"https://api.github.com/users/brugh/orgs","repos_url":"https://api.github.com/users/brugh/repos","events_url":"https://api.github.com/users/brugh/events{/privacy}","received_events_url":"https://api.github.com/users/brugh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-22T16:03:53Z","updated_at":"2018-08-22T16:03:53Z","closed_at":null,"author_association":"NONE","body":"<!--\r\nIF YOU DON'T FILL OUT THE FOLLOWING INFORMATION YOUR ISSUE MIGHT BE CLOSED WITHOUT INVESTIGATING\r\n-->\r\n### Bug Report or Feature Request (mark with an `x`)\r\n```\r\n- [X] bug report -> please search issues before submitting\r\n- [ ] feature request\r\n```\r\n\r\n### Command (mark with an `x`)\r\n```\r\n- [ ] new\r\n- [X] build\r\n- [ ] serve\r\n- [ ] test\r\n- [ ] e2e\r\n- [ ] generate\r\n- [ ] add\r\n- [ ] update\r\n- [ ] lint\r\n- [ ] xi18n\r\n- [ ] run\r\n- [ ] config\r\n- [ ] help\r\n- [ ] version\r\n- [ ] doc\r\n```\r\n\r\n### Versions\r\n$ node --version\r\nv8.11.3\r\n$ npm --version\r\n6.3.0\r\n$ ng --version\r\n\r\nAngular CLI: 6.1.4\r\nNode: 8.11.3\r\nOS: win32 x64\r\nAngular: 6.1.2\r\n... animations, common, compiler, compiler-cli, core, forms\r\n... http, language-service, platform-browser\r\n... platform-browser-dynamic, router\r\n\r\nPackage                           Version\r\n-----------------------------------------------------------\r\n@angular-devkit/architect         0.7.3\r\n@angular-devkit/build-angular     0.7.3\r\n@angular-devkit/build-optimizer   0.7.3\r\n@angular-devkit/build-webpack     0.7.3\r\n@angular-devkit/core              0.7.3\r\n@angular-devkit/schematics        0.7.4\r\n@angular/cli                      6.1.4\r\n@ngtools/webpack                  6.1.3\r\n@schematics/angular               0.7.4\r\n@schematics/update                0.7.4\r\nrxjs                              6.2.2\r\ntypescript                        2.7.2\r\nwebpack                           4.9.2\r\n\r\n\r\n### Repro steps\r\n$ ng new o365\r\n$ npm install @microsoft/office-js\r\n$ ((enable polyfills for IE))\r\n```\r\nimport 'core-js/client/shim';\r\nimport 'core-js/es6/symbol';\r\nimport 'core-js/es6/object';\r\nimport 'core-js/es6/function';\r\nimport 'core-js/es6/parse-int';\r\nimport 'core-js/es6/parse-float';\r\nimport 'core-js/es6/number';\r\nimport 'core-js/es6/math';\r\nimport 'core-js/es6/string';\r\nimport 'core-js/es6/date';\r\nimport 'core-js/es6/array';\r\nimport 'core-js/es6/regexp';\r\nimport 'core-js/es6/map';\r\nimport 'core-js/es6/weak-map';\r\nimport 'core-js/es6/set';\r\n```\r\n$ ng build --prod \r\n ((this works without errors))\r\n$ ((deploy ./dist to website, tested with azure site and firebase site))\r\n$ ((open browser to deployed site, which stays empty, open console to find error))\r\nError: No NgModule metadata found for 'jg'. main.d3ea77eec9674324767c.js:1:326796 \r\n\r\n\r\n### The log given by the failure\r\n```\r\nError: No NgModule metadata found for 'jg'. main.d3ea77eec9674324767c.js:1:326796\r\nzUnb/Rv</e.prototype.resolve\r\nhttps://mysite.azurewebsites.net/main.d3ea77eec9674324767c.js:1:326796\r\nzUnb/dv</e.prototype.getNgModuleMetadata\r\nhttps://mysite.azurewebsites.net/main.d3ea77eec9674324767c.js:1:301669\r\nzUnb/ng</e.prototype._loadModules\r\nhttps://mysite.azurewebsites.net/main.d3ea77eec9674324767c.js:1:436197\r\nzUnb/ng</e.prototype._compileModuleAndComponents\r\nhttps://mysite.azurewebsites.net/main.d3ea77eec9674324767c.js:1:435831\r\nzUnb/ng</e.prototype.compileModuleAsync\r\nhttps://mysite.azurewebsites.net/main.d3ea77eec9674324767c.js:1:434756\r\nzUnb/Rg</e.prototype.compileModuleAsync\r\nhttps://mysite.azurewebsites.net/main.d3ea77eec9674324767c.js:1:461046\r\nzUnb/fn</e.prototype.bootstrapModule\r\nhttps://mysite.azurewebsites.net/main.d3ea77eec9674324767c.js:1:44156\r\nzUnb/<\r\nhttps://mysite.azurewebsites.net/main.d3ea77eec9674324767c.js:1:464713\r\n0TWp/</</a</t.prototype.invokeTask\r\nhttps://mysite.azurewebsites.net/polyfills.d0ae1094cd33ceca039f.js:1:8734\r\n0TWp/</</i</n.prototype.runTask\r\nhttps://mysite.azurewebsites.net/polyfills.d0ae1094cd33ceca039f.js:1:3910\r\n0TWp/</</c</n.invokeTask\r\nhttps://mysite.azurewebsites.net/polyfills.d0ae1094cd33ceca039f.js:1:9828\r\nn/this.invoke<\r\nhttps://mysite.azurewebsites.net/polyfills.d0ae1094cd33ceca039f.js:1:9713\r\na/e.args[0]\r\nhttps://mysite.azurewebsites.net/polyfills.d0ae1094cd33ceca039f.js:1:25018\r\n```\r\n\r\n### Desired functionality\r\nA working website \r\n\r\n### Mention any other details that might be useful\r\nnot sure what would help, I'll add anything needed to investigate\r\n"}}
{"actor":{"display_login":"brugh"}}