{"action":"created","issue":{"url":"https://api.github.com/repos/ivogabe/gulp-typescript/issues/193","labels_url":"https://api.github.com/repos/ivogabe/gulp-typescript/issues/193/labels{/name}","comments_url":"https://api.github.com/repos/ivogabe/gulp-typescript/issues/193/comments","events_url":"https://api.github.com/repos/ivogabe/gulp-typescript/issues/193/events","html_url":"https://github.com/ivogabe/gulp-typescript/issues/193","id":103401639,"number":193,"title":"error TS5009: Cannot find the common subdirectory path for the input files.","user":{"login":"robianmcd","id":4347752,"avatar_url":"https://avatars.githubusercontent.com/u/4347752?v=3","gravatar_id":"","url":"https://api.github.com/users/robianmcd","html_url":"https://github.com/robianmcd","followers_url":"https://api.github.com/users/robianmcd/followers","following_url":"https://api.github.com/users/robianmcd/following{/other_user}","gists_url":"https://api.github.com/users/robianmcd/gists{/gist_id}","starred_url":"https://api.github.com/users/robianmcd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robianmcd/subscriptions","organizations_url":"https://api.github.com/users/robianmcd/orgs","repos_url":"https://api.github.com/users/robianmcd/repos","events_url":"https://api.github.com/users/robianmcd/events{/privacy}","received_events_url":"https://api.github.com/users/robianmcd/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ivogabe/gulp-typescript/labels/Needs%20More%20Info","name":"Needs More Info","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-27T01:28:35Z","updated_at":"2015-08-27T14:02:08Z","closed_at":null,"body":"I am trying to compile some typescript files without concatenating them using the following gulpfile\r\n\r\n```JavaScript\r\nvar gulp = require('gulp');\r\nvar ts = require('gulp-typescript');\r\n\r\n\r\ngulp.task('ts', function () {\r\n    return gulp.src(['src/**/*.ts'])\r\n        .pipe(ts()).js\r\n        .pipe(gulp.dest('build'));\r\n});\r\n```\r\n\r\nAnd I am getting the following error:\r\n\r\n```\r\nerror TS5009: Cannot find the common subdirectory path for the input files.\r\nCould not find input file c:\\Rob\\Dropbox\\Transfer\\Presentations\\angular2\\ng2-test\\src\\app\\app.ts. This is probably an issue of gulp-typescript.\r\nPlease report it at https://github.com/ivogabe/gulp-typescript/issues\r\nDebug information:\r\nsourceRoot = \"c:/Rob/Dropbox/Transfer/Presentations/angular2/ng2-test/src/\"\r\nsources = [\"app/app.ts\"]\r\nCould not find input file c:\\Rob\\Dropbox\\Transfer\\Presentations\\angular2\\ng2-test\\src\\home\\home.ts. This is probably an issue of gulp-typescript.\r\nPlease report it at https://github.com/ivogabe/gulp-typescript/issues\r\nDebug information:\r\nsourceRoot = \"c:/Rob/Dropbox/Transfer/Presentations/angular2/ng2-test/src/\"\r\nsources = [\"home/home.ts\"]\r\nCould not find input file c:\\Rob\\Dropbox\\Transfer\\Presentations\\angular2\\ng2-test\\________________empty.ts. This is probably an issue of gulp-typescript.\r\nPlease report it at https://github.com/ivogabe/gulp-typescript/issues\r\nDebug information:\r\nsourceRoot = \"c:/Rob/Dropbox/Transfer/Presentations/angular2/ng2-test/src/\"\r\nsources = [\"../________________empty.ts\"]\r\n[21:24:13] TypeScript: 1 global error\r\n```\r\n\r\nHere is my project zipped up https://dl.dropboxusercontent.com/u/20066539/Forum%20Links/Other/ng2-test.zip\r\n\r\nAny idea what is going wrong?\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/ivogabe/gulp-typescript/issues/comments/135444344","html_url":"https://github.com/ivogabe/gulp-typescript/issues/193#issuecomment-135444344","issue_url":"https://api.github.com/repos/ivogabe/gulp-typescript/issues/193","id":135444344,"user":{"login":"robianmcd","id":4347752,"avatar_url":"https://avatars.githubusercontent.com/u/4347752?v=3","gravatar_id":"","url":"https://api.github.com/users/robianmcd","html_url":"https://github.com/robianmcd","followers_url":"https://api.github.com/users/robianmcd/followers","following_url":"https://api.github.com/users/robianmcd/following{/other_user}","gists_url":"https://api.github.com/users/robianmcd/gists{/gist_id}","starred_url":"https://api.github.com/users/robianmcd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robianmcd/subscriptions","organizations_url":"https://api.github.com/users/robianmcd/orgs","repos_url":"https://api.github.com/users/robianmcd/repos","events_url":"https://api.github.com/users/robianmcd/events{/privacy}","received_events_url":"https://api.github.com/users/robianmcd/received_events","type":"User","site_admin":false},"created_at":"2015-08-27T14:02:08Z","updated_at":"2015-08-27T14:02:08Z","body":"Just tried this again from a different computer and everything is working fine. I'm sure I had the latest dependencies when it wasn't working because I deleted the node_modules and ran `npm install` again.   I also tried install gulp-typescript 2.8.0 and got the same problem. Maybe npm was being flakey or maybe I had some networking issues on the PC that was causing the issue.\r\n\r\nIf I have typescript installed globally will gulp-typescript use that or will it always install it's own version locally? I'll try reinstalling typescript on the computer that was seeing this error tonight."}}