{"action":"created","issue":{"url":"https://api.github.com/repos/angular/angular-cli/issues/4752","repository_url":"https://api.github.com/repos/angular/angular-cli","labels_url":"https://api.github.com/repos/angular/angular-cli/issues/4752/labels{/name}","comments_url":"https://api.github.com/repos/angular/angular-cli/issues/4752/comments","events_url":"https://api.github.com/repos/angular/angular-cli/issues/4752/events","html_url":"https://github.com/angular/angular-cli/issues/4752","id":208185951,"number":4752,"title":"EXCEPTION: No provider for t! in production build only","user":{"login":"scottschafer","id":938345,"avatar_url":"https://avatars2.githubusercontent.com/u/938345?v=4","gravatar_id":"","url":"https://api.github.com/users/scottschafer","html_url":"https://github.com/scottschafer","followers_url":"https://api.github.com/users/scottschafer/followers","following_url":"https://api.github.com/users/scottschafer/following{/other_user}","gists_url":"https://api.github.com/users/scottschafer/gists{/gist_id}","starred_url":"https://api.github.com/users/scottschafer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scottschafer/subscriptions","organizations_url":"https://api.github.com/users/scottschafer/orgs","repos_url":"https://api.github.com/users/scottschafer/repos","events_url":"https://api.github.com/users/scottschafer/events{/privacy}","received_events_url":"https://api.github.com/users/scottschafer/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":22,"created_at":"2017-02-16T17:09:59Z","updated_at":"2017-09-19T09:20:44Z","closed_at":"2017-03-13T17:16:13Z","author_association":"NONE","body":"> Please provide us with the following information:\r\n> ---------------------------------------------------------------\r\n\r\n### OS?\r\nOS X 10.11.6\r\n\r\n### Versions.\r\n@angular/cli: 1.0.0-beta.31\r\nnode: 6.9.5\r\nos: darwin x64\r\n@angular/common: 2.4.7\r\n@angular/compiler: 2.4.7\r\n@angular/core: 2.4.7\r\n@angular/forms: 2.4.7\r\n@angular/http: 2.4.7\r\n@angular/platform-browser: 2.4.7\r\n@angular/platform-browser-dynamic: 2.4.7\r\n@angular/router: 3.4.7\r\n@angular/cli: 1.0.0-beta.31\r\n@angular/compiler-cli: 2.4.7\r\n\r\n### Repro steps.\r\nMy repo is here:\r\nhttps://github.com/scottschafer/BowlBlaster.git\r\n\r\nIf I run \"ng serve\", the application works just fine. However, if I deploy to github pages, or just use \"ng serve -prod\", I get a series of cryptic errors in the browser log.\r\n\r\n### The log given by the failure.\r\nEXCEPTION: No provider for t!\r\nt.handleError @ vendor.b857c3e….bundle.js:435\r\nvendor.b857c3e….bundle.js:435 ORIGINAL STACKTRACE:\r\nt.handleError @ vendor.b857c3e….bundle.js:435\r\nvendor.b857c3e….bundle.js:435 Error: DI Error\r\n    at e.d (polyfills.1ea585f….bundle.js:37)\r\n    at e [as constructor] (vendor.b857c3e….bundle.js:260)\r\n    at e [as constructor] (vendor.b857c3e….bundle.js:752)\r\n    at new e (vendor.b857c3e….bundle.js:752)\r\n    at t._throwOrNull (vendor.b857c3e….bundle.js:1121)\r\n    at t._getByKeyDefault (vendor.b857c3e….bundle.js:1121)\r\n    at t._getByKey (vendor.b857c3e….bundle.js:1121)\r\n    at t.get (vendor.b857c3e….bundle.js:1121)\r\n    at e.get (vendor.b857c3e….bundle.js:456)\r\n    at e.t.injectorGet (vendor.b857c3e….bundle.js:127)\r\n    at e.createInternal (main.6bd317a….bundle.js:2)\r\n    at e.t.createHostView (vendor.b857c3e….bundle.js:127)\r\n    at t.create (vendor.b857c3e….bundle.js:78)\r\n    at e.bootstrap (vendor.b857c3e….bundle.js:246)\r\n    at vendor.b857c3e….bundle.js:246\r\nt.handleError @ vendor.b857c3e….bundle.js:435\r\nvendor.b857c3e….bundle.js:435 EXCEPTION: Uncaught (in promise): Error: DI Error\r\nError: DI Error\r\n    at e.d (https://scottschafer.github.io/BowlBlaster/polyfills.1ea585f55bc1325fd989.bundle.js:37:2213)\r\n    at e [as constructor] (https://scottschafer.github.io/BowlBlaster/vendor.b857c3eb223ff6ce7021.bundle.js:260:508)\r\n    at e [as constructor] (https://scottschafer.github.io/BowlBlaster/vendor.b857c3eb223ff6ce7021.bundle.js:752:228)\r\n    at new e (https://scottschafer.github.io/BowlBlaster/vendor.b857c3eb223ff6ce7021.bundle.js:752:555)\r\n    at t._throwOrNull (https://scottschafer.github.io/BowlBlaster/vendor.b857c3eb223ff6ce7021.bundle.js:1121:2766)\r\n    at t._getByKeyDefault (https://scottschafer.github.io/BowlBlaster/vendor.b857c3eb223ff6ce7021.bundle.js:1121:3104)\r\n    at t._getByKey (https://scottschafer.github.io/BowlBlaster/vendor.b857c3eb223ff6ce7021.bundle.js:1121:2485)\r\n    at t.get (https://scottschafer.github.io/BowlBlaster/vendor.b857c3eb223ff6ce7021.bundle.js:1121:848)\r\n    at e.get (https://scottschafer.github.io/BowlBlaster/vendor.b857c3eb223ff6ce7021.bundle.js:456:1144)\r\n    at e.t.injectorGet (https://scottschafer.github.io/BowlBlaster/vendor.b857c3eb223ff6ce7021.bundle.js:127:1750)\r\n    at e.createInternal (https://scottschafer.github.io/BowlBlaster/main.6bd317a007068db26aa0.bundle.js:2:2039)\r\n    at e.t.createHostView (https://scottschafer.github.io/BowlBlaster/vendor.b857c3eb223ff6ce7021.bundle.js:127:1288)\r\n    at t.create (https://scottschafer.github.io/BowlBlaster/vendor.b857c3eb223ff6ce7021.bundle.js:78:1949)\r\n    at e.bootstrap (https://scottschafer.github.io/BowlBlaster/vendor.b857c3eb223ff6ce7021.bundle.js:246:4321)\r\n    at https://scottschafer.github.io/BowlBlaster/vendor.b857c3eb223ff6ce7021.bundle.js:246:2567\r\nt.handleError @ vendor.b857c3e….bundle.js:435\r\nvendor.b857c3e….bundle.js:435 ORIGINAL STACKTRACE:\r\nt.handleError @ vendor.b857c3e….bundle.js:435\r\nvendor.b857c3e….bundle.js:435 Error: Uncaught (in promise): Error: DI Error\r\nError: DI Error\r\n    at e.d (polyfills.1ea585f….bundle.js:37)\r\n    at e [as constructor] (vendor.b857c3e….bundle.js:260)\r\n    at e [as constructor] (vendor.b857c3e….bundle.js:752)\r\n    at new e (vendor.b857c3e….bundle.js:752)\r\n    at t._throwOrNull (vendor.b857c3e….bundle.js:1121)\r\n    at t._getByKeyDefault (vendor.b857c3e….bundle.js:1121)\r\n    at t._getByKey (vendor.b857c3e….bundle.js:1121)\r\n    at t.get (vendor.b857c3e….bundle.js:1121)\r\n    at e.get (vendor.b857c3e….bundle.js:456)\r\n    at e.t.injectorGet (vendor.b857c3e….bundle.js:127)\r\n    at e.createInternal (main.6bd317a….bundle.js:2)\r\n    at e.t.createHostView (vendor.b857c3e….bundle.js:127)\r\n    at t.create (vendor.b857c3e….bundle.js:78)\r\n    at e.bootstrap (vendor.b857c3e….bundle.js:246)\r\n    at vendor.b857c3e….bundle.js:246\r\n    at d (polyfills.1ea585f….bundle.js:37)\r\n    at f (polyfills.1ea585f….bundle.js:37)\r\n    at polyfills.1ea585f….bundle.js:37\r\n    at t.invokeTask (polyfills.1ea585f….bundle.js:37)\r\n    at Object.onInvokeTask (vendor.b857c3e….bundle.js:197)\r\n    at t.invokeTask (polyfills.1ea585f….bundle.js:37)\r\n    at e.runTask (polyfills.1ea585f….bundle.js:37)\r\n    at i (polyfills.1ea585f….bundle.js:37)\r\nt.handleError @ vendor.b857c3e….bundle.js:435\r\npolyfills.1ea585f….bundle.js:37 Unhandled Promise rejection: No provider for t! ; Zone: angular ; Task: Promise.then ; Value: e Error: DI Error\r\n    at e.d (https://scottschafer.github.io/BowlBlaster/polyfills.1ea585f55bc1325fd989.bundle.js:37:2213)\r\n    at e [as constructor] (https://scottschafer.github.io/BowlBlaster/vendor.b857c3eb223ff6ce7021.bundle.js:260:508)\r\n    at e [as constructor] (https://scottschafer.github.io/BowlBlaster/vendor.b857c3eb223ff6ce7021.bundle.js:752:228)\r\n    at new e (https://scottschafer.github.io/BowlBlaster/vendor.b857c3eb223ff6ce7021.bundle.js:752:555)\r\n    at t._throwOrNull (https://scottschafer.github.io/BowlBlaster/vendor.b857c3eb223ff6ce7021.bundle.js:1121:2766)\r\n    at t._getByKeyDefault (https://scottschafer.github.io/BowlBlaster/vendor.b857c3eb223ff6ce7021.bundle.js:1121:3104)\r\n    at t._getByKey (https://scottschafer.github.io/BowlBlaster/vendor.b857c3eb223ff6ce7021.bundle.js:1121:2485)\r\n    at t.get (https://scottschafer.github.io/BowlBlaster/vendor.b857c3eb223ff6ce7021.bundle.js:1121:848)\r\n    at e.get (https://scottschafer.github.io/BowlBlaster/vendor.b857c3eb223ff6ce7021.bundle.js:456:1144)\r\n    at e.t.injectorGet (https://scottschafer.github.io/BowlBlaster/vendor.b857c3eb223ff6ce7021.bundle.js:127:1750)\r\n    at e.createInternal (https://scottschafer.github.io/BowlBlaster/main.6bd317a007068db26aa0.bundle.js:2:2039)\r\n    at e.t.createHostView (https://scottschafer.github.io/BowlBlaster/vendor.b857c3eb223ff6ce7021.bundle.js:127:1288)\r\n    at t.create (https://scottschafer.github.io/BowlBlaster/vendor.b857c3eb223ff6ce7021.bundle.js:78:1949)\r\n    at e.bootstrap (https://scottschafer.github.io/BowlBlaster/vendor.b857c3eb223ff6ce7021.bundle.js:246:4321)\r\n    at https://scottschafer.github.io/BowlBlaster/vendor.b857c3eb223ff6ce7021.bundle.js:246:2567\r\no @ polyfills.1ea585f….bundle.js:37\r\npolyfills.1ea585f….bundle.js:37 d"},"comment":{"url":"https://api.github.com/repos/angular/angular-cli/issues/comments/330481329","html_url":"https://github.com/angular/angular-cli/issues/4752#issuecomment-330481329","issue_url":"https://api.github.com/repos/angular/angular-cli/issues/4752","id":330481329,"user":{"login":"mikeeus","id":16954412,"avatar_url":"https://avatars1.githubusercontent.com/u/16954412?v=4","gravatar_id":"","url":"https://api.github.com/users/mikeeus","html_url":"https://github.com/mikeeus","followers_url":"https://api.github.com/users/mikeeus/followers","following_url":"https://api.github.com/users/mikeeus/following{/other_user}","gists_url":"https://api.github.com/users/mikeeus/gists{/gist_id}","starred_url":"https://api.github.com/users/mikeeus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikeeus/subscriptions","organizations_url":"https://api.github.com/users/mikeeus/orgs","repos_url":"https://api.github.com/users/mikeeus/repos","events_url":"https://api.github.com/users/mikeeus/events{/privacy}","received_events_url":"https://api.github.com/users/mikeeus/received_events","type":"User","site_admin":false},"created_at":"2017-09-19T09:20:44Z","updated_at":"2017-09-19T09:20:44Z","author_association":"NONE","body":"I'm having this issue too but I'm not using angular2-cookie, and my Angular version is 4.3.6."}}
{"actor":{"display_login":"mikeeus"}}