{"action":"created","issue":{"url":"https://api.github.com/repos/angular/angularfire2/issues/470","repository_url":"https://api.github.com/repos/angular/angularfire2","labels_url":"https://api.github.com/repos/angular/angularfire2/issues/470/labels{/name}","comments_url":"https://api.github.com/repos/angular/angularfire2/issues/470/comments","events_url":"https://api.github.com/repos/angular/angularfire2/issues/470/events","html_url":"https://github.com/angular/angularfire2/issues/470","id":172864091,"number":470,"title":"stuck at step 3 setting up a new project","user":{"login":"takariendire","id":2589867,"avatar_url":"https://avatars.githubusercontent.com/u/2589867?v=3","gravatar_id":"","url":"https://api.github.com/users/takariendire","html_url":"https://github.com/takariendire","followers_url":"https://api.github.com/users/takariendire/followers","following_url":"https://api.github.com/users/takariendire/following{/other_user}","gists_url":"https://api.github.com/users/takariendire/gists{/gist_id}","starred_url":"https://api.github.com/users/takariendire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/takariendire/subscriptions","organizations_url":"https://api.github.com/users/takariendire/orgs","repos_url":"https://api.github.com/users/takariendire/repos","events_url":"https://api.github.com/users/takariendire/events{/privacy}","received_events_url":"https://api.github.com/users/takariendire/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-24T04:52:13Z","updated_at":"2016-08-24T10:02:47Z","closed_at":null,"body":"followed installation guide, created a new project, installed firebase and angularfire2, replaced the main.ts file with the one provided (and added the firebase config). \r\n\r\nAfter that my app does not compile, I get multiple errors like this :\r\n.../node_modules/angularfire2/angularfire2.d.ts:13:65 \r\nCannot find namespace 'firebase'."},"comment":{"url":"https://api.github.com/repos/angular/angularfire2/issues/comments/242014929","html_url":"https://github.com/angular/angularfire2/issues/470#issuecomment-242014929","issue_url":"https://api.github.com/repos/angular/angularfire2/issues/470","id":242014929,"user":{"login":"GitHubish","id":7701833,"avatar_url":"https://avatars.githubusercontent.com/u/7701833?v=3","gravatar_id":"","url":"https://api.github.com/users/GitHubish","html_url":"https://github.com/GitHubish","followers_url":"https://api.github.com/users/GitHubish/followers","following_url":"https://api.github.com/users/GitHubish/following{/other_user}","gists_url":"https://api.github.com/users/GitHubish/gists{/gist_id}","starred_url":"https://api.github.com/users/GitHubish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GitHubish/subscriptions","organizations_url":"https://api.github.com/users/GitHubish/orgs","repos_url":"https://api.github.com/users/GitHubish/repos","events_url":"https://api.github.com/users/GitHubish/events{/privacy}","received_events_url":"https://api.github.com/users/GitHubish/received_events","type":"User","site_admin":false},"created_at":"2016-08-24T10:02:47Z","updated_at":"2016-08-24T10:02:47Z","body":"Same mistake here: [Error with \"ng build && ng serve\" following \"Installation and Setup\" guide](https://github.com/angular/angularfire2/issues/461)\r\n\r\nThe problem at the moment is not resolved at home. The additional step that was provided to us was to add `firebase` in `tsconfig.json` in array `types` and to update `typescript` in its latest version with the command:\r\n\r\n`npm install -g typescript@next\r\nnpm install typescript@next --save-dev`\r\n\r\nand tsconfig:\r\n\r\n`{\r\n  \"compilerOptions\": {\r\n    \"declaration\": false,\r\n    \"emitDecoratorMetadata\": true,\r\n    \"experimentalDecorators\": true,\r\n    \"lib\": [\"es6\", \"dom\"],\r\n    \"mapRoot\": \"./\",\r\n    \"module\": \"es6\",\r\n    \"moduleResolution\": \"node\",\r\n    \"outDir\": \"../dist/out-tsc\",\r\n    \"sourceMap\": true,\r\n    \"target\": \"es5\",\r\n    \"typeRoots\": [\r\n      \"../node_modules/@types\"\r\n    ],\r\n    \"types\": [\r\n      \"jasmine\",\r\n      \"firebase\"\r\n    ]\r\n  }\r\n}\r\n`\r\n\r\nBut this raises worries on my side I now full of new errors . In case if it can help."}}
{"actor":{"display_login":"GitHubish"}}