{"action":"created","issue":{"url":"https://api.github.com/repos/NativeScript/NativeScript/issues/5160","repository_url":"https://api.github.com/repos/NativeScript/NativeScript","labels_url":"https://api.github.com/repos/NativeScript/NativeScript/issues/5160/labels{/name}","comments_url":"https://api.github.com/repos/NativeScript/NativeScript/issues/5160/comments","events_url":"https://api.github.com/repos/NativeScript/NativeScript/issues/5160/events","html_url":"https://github.com/NativeScript/NativeScript/issues/5160","id":281158990,"number":5160,"title":"Bug  : Incorrect `///<reference` path values ","user":{"login":"RoyiNamir","id":2842123,"avatar_url":"https://avatars0.githubusercontent.com/u/2842123?v=4","gravatar_id":"","url":"https://api.github.com/users/RoyiNamir","html_url":"https://github.com/RoyiNamir","followers_url":"https://api.github.com/users/RoyiNamir/followers","following_url":"https://api.github.com/users/RoyiNamir/following{/other_user}","gists_url":"https://api.github.com/users/RoyiNamir/gists{/gist_id}","starred_url":"https://api.github.com/users/RoyiNamir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RoyiNamir/subscriptions","organizations_url":"https://api.github.com/users/RoyiNamir/orgs","repos_url":"https://api.github.com/users/RoyiNamir/repos","events_url":"https://api.github.com/users/RoyiNamir/events{/privacy}","received_events_url":"https://api.github.com/users/RoyiNamir/received_events","type":"User","site_admin":false},"labels":[{"id":203689226,"url":"https://api.github.com/repos/NativeScript/NativeScript/labels/bug","name":"bug","color":"b60205","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2017-12-11T20:37:52Z","updated_at":"2017-12-12T14:05:27Z","closed_at":null,"author_association":"NONE","body":"When doing `tns create MyApp --ng` , \r\n\r\nproject is created with \r\n\r\n![image](https://user-images.githubusercontent.com/2842123/33852566-b47c38c4-dec3-11e7-89b9-41af00c134c0.png)\r\n\r\n\r\nAnd that file contains : \r\n\r\n```\r\n/// <reference path=\"./node_modules/tns-platform-declarations/ios.d.ts\" />\r\n/// <reference path=\"./node_modules/tns-platform-declarations/android.d.ts\" />\r\n```\r\n\r\nNow this is incorrect value.\r\nbecuase triple slash starting with `./` are relative and there is no such files there. ( io.d.ts etc...)\r\n\r\nthis is causing problems like the one I've asked aboutr  :\r\n\r\nhttps://stackoverflow.com/questions/47757276/reference-path-to-node-modules-is-not-found"},"comment":{"url":"https://api.github.com/repos/NativeScript/NativeScript/issues/comments/351060621","html_url":"https://github.com/NativeScript/NativeScript/issues/5160#issuecomment-351060621","issue_url":"https://api.github.com/repos/NativeScript/NativeScript/issues/5160","id":351060621,"user":{"login":"RoyiNamir","id":2842123,"avatar_url":"https://avatars0.githubusercontent.com/u/2842123?v=4","gravatar_id":"","url":"https://api.github.com/users/RoyiNamir","html_url":"https://github.com/RoyiNamir","followers_url":"https://api.github.com/users/RoyiNamir/followers","following_url":"https://api.github.com/users/RoyiNamir/following{/other_user}","gists_url":"https://api.github.com/users/RoyiNamir/gists{/gist_id}","starred_url":"https://api.github.com/users/RoyiNamir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RoyiNamir/subscriptions","organizations_url":"https://api.github.com/users/RoyiNamir/orgs","repos_url":"https://api.github.com/users/RoyiNamir/repos","events_url":"https://api.github.com/users/RoyiNamir/events{/privacy}","received_events_url":"https://api.github.com/users/RoyiNamir/received_events","type":"User","site_admin":false},"created_at":"2017-12-12T14:05:26Z","updated_at":"2017-12-12T14:05:26Z","author_association":"NONE","body":"@NickIliev  If I remove this root file , then I don't have definitions  and it fails to compile : \r\n\r\n![image](https://user-images.githubusercontent.com/2842123/33888602-3c6125b4-df56-11e7-8680-9927a60a381d.png)\r\n"}}
{"actor":{"display_login":"RoyiNamir"}}