{"action":"created","issue":{"url":"https://api.github.com/repos/NativeScript/nativescript-cli/issues/250","labels_url":"https://api.github.com/repos/NativeScript/nativescript-cli/issues/250/labels{/name}","comments_url":"https://api.github.com/repos/NativeScript/nativescript-cli/issues/250/comments","events_url":"https://api.github.com/repos/NativeScript/nativescript-cli/issues/250/events","html_url":"https://github.com/NativeScript/nativescript-cli/issues/250","id":59125399,"number":250,"title":"Building with grunt fails on task ts","user":{"login":"stevelacy","id":5648999,"avatar_url":"https://avatars.githubusercontent.com/u/5648999?v=3","gravatar_id":"","url":"https://api.github.com/users/stevelacy","html_url":"https://github.com/stevelacy","followers_url":"https://api.github.com/users/stevelacy/followers","following_url":"https://api.github.com/users/stevelacy/following{/other_user}","gists_url":"https://api.github.com/users/stevelacy/gists{/gist_id}","starred_url":"https://api.github.com/users/stevelacy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevelacy/subscriptions","organizations_url":"https://api.github.com/users/stevelacy/orgs","repos_url":"https://api.github.com/users/stevelacy/repos","events_url":"https://api.github.com/users/stevelacy/events{/privacy}","received_events_url":"https://api.github.com/users/stevelacy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-26T19:11:24Z","updated_at":"2015-02-26T20:40:59Z","closed_at":null,"body":"Attempting to run `grunt` produces 508 type warnings:\r\n\r\n```\r\n\r\n>> 508 non-emit-preventing type warnings  \r\n>> Error: tsc return code: 2\r\nWarning: Task \"ts:devlib\" failed. Use --force to continue.\r\n\r\nAborted due to warnings.\r\n\r\n```\r\nAn example of the error:\r\n```\r\nnativescript-cli/lib/services/user-settings-service.ts(14,1): error TS2304: Cannot find name '$injector'.\r\n\r\n```\r\n\r\ngrunt version: \r\ngrunt-cli v0.1.13\r\ngrunt v0.4.2\r\n\r\nNode: v0.12.0\r\nnpm: 2.6.0\r\n\r\nI am attempting to build the project to update the dependencies which will fix issues on io.js and node."},"comment":{"url":"https://api.github.com/repos/NativeScript/nativescript-cli/issues/comments/76267012","html_url":"https://github.com/NativeScript/nativescript-cli/issues/250#issuecomment-76267012","issue_url":"https://api.github.com/repos/NativeScript/nativescript-cli/issues/250","id":76267012,"user":{"login":"rosen-vladimirov","id":8351653,"avatar_url":"https://avatars.githubusercontent.com/u/8351653?v=3","gravatar_id":"","url":"https://api.github.com/users/rosen-vladimirov","html_url":"https://github.com/rosen-vladimirov","followers_url":"https://api.github.com/users/rosen-vladimirov/followers","following_url":"https://api.github.com/users/rosen-vladimirov/following{/other_user}","gists_url":"https://api.github.com/users/rosen-vladimirov/gists{/gist_id}","starred_url":"https://api.github.com/users/rosen-vladimirov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rosen-vladimirov/subscriptions","organizations_url":"https://api.github.com/users/rosen-vladimirov/orgs","repos_url":"https://api.github.com/users/rosen-vladimirov/repos","events_url":"https://api.github.com/users/rosen-vladimirov/events{/privacy}","received_events_url":"https://api.github.com/users/rosen-vladimirov/received_events","type":"User","site_admin":false},"created_at":"2015-02-26T20:40:59Z","updated_at":"2015-02-26T20:40:59Z","body":"Hi @stevelacy, I can suggest you to check if you have initialized the submodule. You should execute the following commands:\r\ngit clone git@github.com:NativeScript/nativescript-cli.git\r\ncd nativescript-cli\r\ngit submodule init\r\ngit submodule update\r\ngit checkout release\r\ncd lib/common\r\ngit checkout release\r\ncd -\r\ngrunt\r\nnpm install\r\n\r\nBasically this should work for you. Could you give it a try?"}}