{"action":"created","issue":{"url":"https://api.github.com/repos/ngrx/store/issues/221","repository_url":"https://api.github.com/repos/ngrx/store","labels_url":"https://api.github.com/repos/ngrx/store/issues/221/labels{/name}","comments_url":"https://api.github.com/repos/ngrx/store/issues/221/comments","events_url":"https://api.github.com/repos/ngrx/store/issues/221/events","html_url":"https://github.com/ngrx/store/issues/221","id":177643983,"number":221,"title":"Breaks the latest Quickstart (Angular 2.0)","user":{"login":"pietro909","id":2094604,"avatar_url":"https://avatars.githubusercontent.com/u/2094604?v=3","gravatar_id":"","url":"https://api.github.com/users/pietro909","html_url":"https://github.com/pietro909","followers_url":"https://api.github.com/users/pietro909/followers","following_url":"https://api.github.com/users/pietro909/following{/other_user}","gists_url":"https://api.github.com/users/pietro909/gists{/gist_id}","starred_url":"https://api.github.com/users/pietro909/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pietro909/subscriptions","organizations_url":"https://api.github.com/users/pietro909/orgs","repos_url":"https://api.github.com/users/pietro909/repos","events_url":"https://api.github.com/users/pietro909/events{/privacy}","received_events_url":"https://api.github.com/users/pietro909/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-18T10:26:43Z","updated_at":"2016-09-18T11:05:03Z","closed_at":"2016-09-18T11:05:03Z","body":"Hello,\r\nI'm trying to use `ngrx/store` with the final Angular 2.0 release, but it generates a weird error, probably related to dependencies:\r\n\r\n```\r\nzone.js:1263 GET http://localhost:3000/traceur 404 (Not Found)\r\n(index):18 Error: Error: XHR error (404 Not Found) loading http://localhost:3000/traceur(…)\r\n```\r\n\r\nRemoving the `catch()` function from the SystemJS bootstrap I get a more useful error:\r\n\r\n```\r\nError loading http://localhost:3000/node_modules/@ngrx/store/index.js as \"@ngrx/store\" from http://localhost:3000/dist/app.module.js ;\r\n```\r\n\r\n## Example\r\nI set up a minimal example forking [Angular 2 Quickstart](https://github.com/angular/quickstart) and adding just one reducer and the `ngrx` import in the ngModule file:\r\n\r\n* [my current branch](https://github.com/pietro909/quickstart/tree/broken-ngrx)\r\n* [the diff with Quickstart](https://github.com/angular/quickstart/compare/master...pietro909:broken-ngrx?expand=1)\r\n\r\n## System information\r\n* node: v4.5.0\r\n* npm: v2.15.9\r\n* Chrome: 52.0.2743.116\r\n* OS/X Yosemite 10.10.5\r\n\r\nThank you for helping,\r\nPietro"},"comment":{"url":"https://api.github.com/repos/ngrx/store/issues/comments/247841344","html_url":"https://github.com/ngrx/store/issues/221#issuecomment-247841344","issue_url":"https://api.github.com/repos/ngrx/store/issues/221","id":247841344,"user":{"login":"pietro909","id":2094604,"avatar_url":"https://avatars.githubusercontent.com/u/2094604?v=3","gravatar_id":"","url":"https://api.github.com/users/pietro909","html_url":"https://github.com/pietro909","followers_url":"https://api.github.com/users/pietro909/followers","following_url":"https://api.github.com/users/pietro909/following{/other_user}","gists_url":"https://api.github.com/users/pietro909/gists{/gist_id}","starred_url":"https://api.github.com/users/pietro909/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pietro909/subscriptions","organizations_url":"https://api.github.com/users/pietro909/orgs","repos_url":"https://api.github.com/users/pietro909/repos","events_url":"https://api.github.com/users/pietro909/events{/privacy}","received_events_url":"https://api.github.com/users/pietro909/received_events","type":"User","site_admin":false},"created_at":"2016-09-18T11:05:03Z","updated_at":"2016-09-18T11:05:03Z","body":"Sorry, it turns out that it was my mistake in `system.config.js`. Rather than mapping the `ngrx` modules to the new `bundles/*.umd.js` standard, I was still using `index.js`.\r\n\r\nThis correction fixed my issue:\r\n\r\n```\r\nSystem.config({\r\n    // ...\r\n    packages: {\r\n           // ...\r\n            '@ngrx/core':                   { main: 'bundles/core.umd.js', defaultExtension: 'js' },\r\n            '@ngrx/store':                  { main: 'bundles/store.umd.js', defaultExtension: 'js' }\r\n```\r\n\r\nCan I point out that the error handling of SystemJS is everything but meaningful?\r\n\r\n"}}
{"actor":{"display_login":"pietro909"}}