{"action":"created","issue":{"url":"https://api.github.com/repos/frankwallis/plugin-typescript/issues/52","labels_url":"https://api.github.com/repos/frankwallis/plugin-typescript/issues/52/labels{/name}","comments_url":"https://api.github.com/repos/frankwallis/plugin-typescript/issues/52/comments","events_url":"https://api.github.com/repos/frankwallis/plugin-typescript/issues/52/events","html_url":"https://github.com/frankwallis/plugin-typescript/issues/52","id":114091948,"number":52,"title":"Angular2 bundled example - BaseException {message: \"Token must be defined!\"...","user":{"login":"edvlucas","id":8328311,"avatar_url":"https://avatars.githubusercontent.com/u/8328311?v=3","gravatar_id":"","url":"https://api.github.com/users/edvlucas","html_url":"https://github.com/edvlucas","followers_url":"https://api.github.com/users/edvlucas/followers","following_url":"https://api.github.com/users/edvlucas/following{/other_user}","gists_url":"https://api.github.com/users/edvlucas/gists{/gist_id}","starred_url":"https://api.github.com/users/edvlucas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edvlucas/subscriptions","organizations_url":"https://api.github.com/users/edvlucas/orgs","repos_url":"https://api.github.com/users/edvlucas/repos","events_url":"https://api.github.com/users/edvlucas/events{/privacy}","received_events_url":"https://api.github.com/users/edvlucas/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-10-29T16:37:15Z","updated_at":"2015-11-04T14:12:41Z","closed_at":"2015-11-03T18:23:57Z","body":"When I try to run the bundled angular2 example via:\r\n\r\n```\r\ngulp bundle (or jspm bundle ...)\r\ngulp example \r\nnavigate to http://127.0.0.1:8080/index-bundle.html\r\n```\r\n\r\nI am getting the following exception:\r\n\r\n```\r\nBaseException {message: \"Token must be defined!\", stack: \"Error: Token must be defined!↵    at new BaseExcep…ry (http://127.0.0.1:8080/build/build.js:4231:22)\"}BrowserDomAdapter.logError @ browser_adapter.js:81(anonymous function) @ application_ref.js:166run @ core.js:70(anonymous function) @ ng_zone.js:174NgZone.run @ ng_zone.js:137PlatformRef_._initApp @ application_ref.js:147PlatformRef_.application @ application_ref.js:129commonBootstrap @ application_common.js:56bootstrap @ application.js:25(anonymous function) @ index.ts:16arguments.(anonymous function) @ functions.js:19(anonymous function) @ core.js:56run @ core.js:70zoneBoundFn @ core.js:50\r\nng_zone.js:255 ## _notifyOnError ##\r\nng_zone.js:256 TypeError: Cannot read property 'get' of undefined\r\n    at http://127.0.0.1:8080/build/build.js:25407:47\r\n    at Zone.run (http://127.0.0.1:8080/build/build.js:1851:19)\r\n    at Zone.run (http://127.0.0.1:8080/build/build.js:16212:34)\r\n    at NgZone.run (http://127.0.0.1:8080/build/build.js:16174:36)\r\n    at ApplicationRef_.bootstrap (http://127.0.0.1:8080/build/build.js:25402:18)\r\n    at Object.commonBootstrap (http://127.0.0.1:8080/build/build.js:25532:38)\r\n    at Object.bootstrap (http://127.0.0.1:8080/build/build.js:25569:33)\r\n    at http://127.0.0.1:8080/build/build.js:26893:29\r\n    at arguments.(anonymous function) (http://127.0.0.1:8080/build/build.js:1905:26)\r\n    at http://127.0.0.1:8080/build/build.js:1837:25\r\napplication_ref.js:243 Uncaught TypeError: Cannot read property 'get' of undefined\r\n```\r\n\r\nThe dynamically loaded example (index.html) works fine. Any ideas?"},"comment":{"url":"https://api.github.com/repos/frankwallis/plugin-typescript/issues/comments/153731187","html_url":"https://github.com/frankwallis/plugin-typescript/issues/52#issuecomment-153731187","issue_url":"https://api.github.com/repos/frankwallis/plugin-typescript/issues/52","id":153731187,"user":{"login":"edvlucas","id":8328311,"avatar_url":"https://avatars.githubusercontent.com/u/8328311?v=3","gravatar_id":"","url":"https://api.github.com/users/edvlucas","html_url":"https://github.com/edvlucas","followers_url":"https://api.github.com/users/edvlucas/followers","following_url":"https://api.github.com/users/edvlucas/following{/other_user}","gists_url":"https://api.github.com/users/edvlucas/gists{/gist_id}","starred_url":"https://api.github.com/users/edvlucas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edvlucas/subscriptions","organizations_url":"https://api.github.com/users/edvlucas/orgs","repos_url":"https://api.github.com/users/edvlucas/repos","events_url":"https://api.github.com/users/edvlucas/events{/privacy}","received_events_url":"https://api.github.com/users/edvlucas/received_events","type":"User","site_admin":false},"created_at":"2015-11-04T14:12:41Z","updated_at":"2015-11-04T14:12:41Z","body":"The upgrade to alpha.45 also solved my problem. Thanks for the feedback and your great plugin."}}