{"action":"created","issue":{"url":"https://api.github.com/repos/ShMcK/ng2-socially-tutorial/issues/3","labels_url":"https://api.github.com/repos/ShMcK/ng2-socially-tutorial/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/ShMcK/ng2-socially-tutorial/issues/3/comments","events_url":"https://api.github.com/repos/ShMcK/ng2-socially-tutorial/issues/3/events","html_url":"https://github.com/ShMcK/ng2-socially-tutorial/issues/3","id":104865386,"number":3,"title":"Errors with Final Version","user":{"login":"30suns","id":9216706,"avatar_url":"https://avatars.githubusercontent.com/u/9216706?v=3","gravatar_id":"","url":"https://api.github.com/users/30suns","html_url":"https://github.com/30suns","followers_url":"https://api.github.com/users/30suns/followers","following_url":"https://api.github.com/users/30suns/following{/other_user}","gists_url":"https://api.github.com/users/30suns/gists{/gist_id}","starred_url":"https://api.github.com/users/30suns/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/30suns/subscriptions","organizations_url":"https://api.github.com/users/30suns/orgs","repos_url":"https://api.github.com/users/30suns/repos","events_url":"https://api.github.com/users/30suns/events{/privacy}","received_events_url":"https://api.github.com/users/30suns/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-09-04T10:28:12Z","updated_at":"2015-09-09T22:07:24Z","closed_at":null,"body":"I wonder if you experience this same set of errors:\r\n\r\n```shell\r\ngit clone https://github.com/ShMcK/ng2-socially-tutorial/\r\ncd ng2-socially-tutorial\r\nmeteor\r\n[snip]\r\n```\r\nThen, load up the app, and click on any Party:\r\n\r\n```javascript\r\nUncaught ReferenceError: exports is not defined\r\nparties-form.js:9 Uncaught ReferenceError: require is not defined\r\nparties-list.js:9 Uncaught ReferenceError: require is not defined\r\nparty-details.js:12 Uncaught ReferenceError: require is not defined\r\napp.js:9 Uncaught ReferenceError: require is not defined\r\nangular2.dev.min.js:16 EXCEPTION: Parser Error: Unexpected token 'null' at column 22 in [party.name.toString()=$event] in null\r\nangular2.dev.min.js:16 EXCEPTION: TypeError: Cannot read property 'elementBinders' of undefined\r\nparty-details.js:38 loading...\r\n```"},"comment":{"url":"https://api.github.com/repos/ShMcK/ng2-socially-tutorial/issues/comments/139059245","html_url":"https://github.com/ShMcK/ng2-socially-tutorial/issues/3#issuecomment-139059245","issue_url":"https://api.github.com/repos/ShMcK/ng2-socially-tutorial/issues/3","id":139059245,"user":{"login":"ShMcK","id":4660659,"avatar_url":"https://avatars.githubusercontent.com/u/4660659?v=3","gravatar_id":"","url":"https://api.github.com/users/ShMcK","html_url":"https://github.com/ShMcK","followers_url":"https://api.github.com/users/ShMcK/followers","following_url":"https://api.github.com/users/ShMcK/following{/other_user}","gists_url":"https://api.github.com/users/ShMcK/gists{/gist_id}","starred_url":"https://api.github.com/users/ShMcK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ShMcK/subscriptions","organizations_url":"https://api.github.com/users/ShMcK/orgs","repos_url":"https://api.github.com/users/ShMcK/repos","events_url":"https://api.github.com/users/ShMcK/events{/privacy}","received_events_url":"https://api.github.com/users/ShMcK/received_events","type":"User","site_admin":false},"created_at":"2015-09-09T22:07:24Z","updated_at":"2015-09-09T22:07:24Z","body":"You're absolutely right, the angular2-meteor and compiler need some work.\r\n\r\nActually, @sclausen's solution applies configuration settings to Typescript. However, this causes any Meteor backend TS files to fail. The settings are not compatible with both Meteor & Angular2. The work around is to only apply TS to the client, or use ES6.\r\n\r\nAngular 2 currently requires a specific older version of System.js (0.16 rather than 0.18) to run. This will likely change at some point. \r\n\r\nAnother [package](https://github.com/Urigo/Meteor-Angular2) is currently under development.\r\n\r\n"}}