{"action":"created","issue":{"url":"https://api.github.com/repos/cyclejs-community/create-cycle-app/issues/41","repository_url":"https://api.github.com/repos/cyclejs-community/create-cycle-app","labels_url":"https://api.github.com/repos/cyclejs-community/create-cycle-app/issues/41/labels{/name}","comments_url":"https://api.github.com/repos/cyclejs-community/create-cycle-app/issues/41/comments","events_url":"https://api.github.com/repos/cyclejs-community/create-cycle-app/issues/41/events","html_url":"https://github.com/cyclejs-community/create-cycle-app/issues/41","id":189210967,"number":41,"title":"TypeScript flavours giving error on npm start","user":{"login":"ajmchambers","id":5426717,"avatar_url":"https://avatars.githubusercontent.com/u/5426717?v=3","gravatar_id":"","url":"https://api.github.com/users/ajmchambers","html_url":"https://github.com/ajmchambers","followers_url":"https://api.github.com/users/ajmchambers/followers","following_url":"https://api.github.com/users/ajmchambers/following{/other_user}","gists_url":"https://api.github.com/users/ajmchambers/gists{/gist_id}","starred_url":"https://api.github.com/users/ajmchambers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ajmchambers/subscriptions","organizations_url":"https://api.github.com/users/ajmchambers/orgs","repos_url":"https://api.github.com/users/ajmchambers/repos","events_url":"https://api.github.com/users/ajmchambers/events{/privacy}","received_events_url":"https://api.github.com/users/ajmchambers/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-14T20:02:02Z","updated_at":"2016-11-14T20:42:57Z","closed_at":null,"body":"**Code to reproduce the issue:**\r\n\r\nOk so did some more testing:\r\nOn mac, with the same node and npm version it works fine. However when in windows (10) it gives the TypeScript error.\r\n\r\n```\r\nnpm install -g create-cycle-app\r\ncreate-cycle-app test-typescript\r\n```\r\n\r\nSelect Typescript + Browserify and Xstream\r\n\r\n```\r\ncd test-typescript\r\nnpm start\r\n``` \r\n\r\n**Expected behavior:**\r\n\r\nShould start normally.\r\n\r\n**Actual behavior:**\r\n\r\nGetting Typescript error: \r\n\r\n```\r\nTypeScript error: node_modules/@cycle/dom/lib/isolateModule.d.ts(6,35): Error TS2304: Cannot find name 'Map'.\r\n```\r\n\r\n**Versions of packages used:**\r\n\r\n- node v6.9.0\r\n- npm 3.10.8\r\n\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/cyclejs-community/create-cycle-app/issues/comments/260456526","html_url":"https://github.com/cyclejs-community/create-cycle-app/issues/41#issuecomment-260456526","issue_url":"https://api.github.com/repos/cyclejs-community/create-cycle-app/issues/41","id":260456526,"user":{"login":"ajmchambers","id":5426717,"avatar_url":"https://avatars.githubusercontent.com/u/5426717?v=3","gravatar_id":"","url":"https://api.github.com/users/ajmchambers","html_url":"https://github.com/ajmchambers","followers_url":"https://api.github.com/users/ajmchambers/followers","following_url":"https://api.github.com/users/ajmchambers/following{/other_user}","gists_url":"https://api.github.com/users/ajmchambers/gists{/gist_id}","starred_url":"https://api.github.com/users/ajmchambers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ajmchambers/subscriptions","organizations_url":"https://api.github.com/users/ajmchambers/orgs","repos_url":"https://api.github.com/users/ajmchambers/repos","events_url":"https://api.github.com/users/ajmchambers/events{/privacy}","received_events_url":"https://api.github.com/users/ajmchambers/received_events","type":"User","site_admin":false},"created_at":"2016-11-14T20:42:57Z","updated_at":"2016-11-14T20:42:57Z","body":"Not sure why, but adding: `\"typeRoots\" : [\"./node_modules/@types\"]` into the `tsconfig.json`'s `\"compilerOptions\"` makes it work."}}
{"actor":{"display_login":"ajmchambers"}}