{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/TypeScript/issues/5649","labels_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/5649/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/5649/comments","events_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/5649/events","html_url":"https://github.com/Microsoft/TypeScript/issues/5649","id":116704734,"number":5649,"title":"Unexpected token in map file (node)","user":{"login":"justsayno","id":4713713,"avatar_url":"https://avatars.githubusercontent.com/u/4713713?v=3","gravatar_id":"","url":"https://api.github.com/users/justsayno","html_url":"https://github.com/justsayno","followers_url":"https://api.github.com/users/justsayno/followers","following_url":"https://api.github.com/users/justsayno/following{/other_user}","gists_url":"https://api.github.com/users/justsayno/gists{/gist_id}","starred_url":"https://api.github.com/users/justsayno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justsayno/subscriptions","organizations_url":"https://api.github.com/users/justsayno/orgs","repos_url":"https://api.github.com/users/justsayno/repos","events_url":"https://api.github.com/users/justsayno/events{/privacy}","received_events_url":"https://api.github.com/users/justsayno/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Microsoft/TypeScript/labels/Needs%20More%20Info","name":"Needs More Info","color":"556b75"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-11-13T05:50:15Z","updated_at":"2015-11-14T04:02:27Z","closed_at":"2015-11-14T04:02:10Z","body":"I'm using node and express and when I build certain files then I get this error:\r\n\r\n```\r\nerror: uncaughtException: c:\\dev\\pp\\PropertyPlot\\server\\models\\index.js.map:1\r\nction (exports, require, module, __filename, __dirname) { {\"version\":3,\"file\":\r\n                                                                    ^\r\nUnexpected token : \r\n```\r\n\r\nThis makes the app break and not work.. I don't really know what the issue is as there is nothing special about the file and it has happened on other files before. Have you seen this issue before? At this point the only option I have is to change the file back to being a .js file and not use typescript there. I am compiling using grunt-ts task but I don't think that is the issue... I could be wrong.\r\n\r\nVersions:\r\nTypescript : 1.6.2\r\nNode: v0.12.2"},"comment":{"url":"https://api.github.com/repos/Microsoft/TypeScript/issues/comments/156623034","html_url":"https://github.com/Microsoft/TypeScript/issues/5649#issuecomment-156623034","issue_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/5649","id":156623034,"user":{"login":"mhegazy","id":8000722,"avatar_url":"https://avatars.githubusercontent.com/u/8000722?v=3","gravatar_id":"","url":"https://api.github.com/users/mhegazy","html_url":"https://github.com/mhegazy","followers_url":"https://api.github.com/users/mhegazy/followers","following_url":"https://api.github.com/users/mhegazy/following{/other_user}","gists_url":"https://api.github.com/users/mhegazy/gists{/gist_id}","starred_url":"https://api.github.com/users/mhegazy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhegazy/subscriptions","organizations_url":"https://api.github.com/users/mhegazy/orgs","repos_url":"https://api.github.com/users/mhegazy/repos","events_url":"https://api.github.com/users/mhegazy/events{/privacy}","received_events_url":"https://api.github.com/users/mhegazy/received_events","type":"User","site_admin":false},"created_at":"2015-11-14T04:02:27Z","updated_at":"2015-11-14T04:02:27Z","body":"Glad this got resolved."}}