{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/vscode-generator-code/issues/52","repository_url":"https://api.github.com/repos/Microsoft/vscode-generator-code","labels_url":"https://api.github.com/repos/Microsoft/vscode-generator-code/issues/52/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vscode-generator-code/issues/52/comments","events_url":"https://api.github.com/repos/Microsoft/vscode-generator-code/issues/52/events","html_url":"https://github.com/Microsoft/vscode-generator-code/issues/52","id":185236754,"number":52,"title":"vsce package fails after creating new TS extension","user":{"login":"golf1052","id":1903871,"avatar_url":"https://avatars.githubusercontent.com/u/1903871?v=3","gravatar_id":"","url":"https://api.github.com/users/golf1052","html_url":"https://github.com/golf1052","followers_url":"https://api.github.com/users/golf1052/followers","following_url":"https://api.github.com/users/golf1052/following{/other_user}","gists_url":"https://api.github.com/users/golf1052/gists{/gist_id}","starred_url":"https://api.github.com/users/golf1052/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/golf1052/subscriptions","organizations_url":"https://api.github.com/users/golf1052/orgs","repos_url":"https://api.github.com/users/golf1052/repos","events_url":"https://api.github.com/users/golf1052/events{/privacy}","received_events_url":"https://api.github.com/users/golf1052/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"joaomoreno","id":22350,"avatar_url":"https://avatars.githubusercontent.com/u/22350?v=3","gravatar_id":"","url":"https://api.github.com/users/joaomoreno","html_url":"https://github.com/joaomoreno","followers_url":"https://api.github.com/users/joaomoreno/followers","following_url":"https://api.github.com/users/joaomoreno/following{/other_user}","gists_url":"https://api.github.com/users/joaomoreno/gists{/gist_id}","starred_url":"https://api.github.com/users/joaomoreno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joaomoreno/subscriptions","organizations_url":"https://api.github.com/users/joaomoreno/orgs","repos_url":"https://api.github.com/users/joaomoreno/repos","events_url":"https://api.github.com/users/joaomoreno/events{/privacy}","received_events_url":"https://api.github.com/users/joaomoreno/received_events","type":"User","site_admin":false},"assignees":[{"login":"joaomoreno","id":22350,"avatar_url":"https://avatars.githubusercontent.com/u/22350?v=3","gravatar_id":"","url":"https://api.github.com/users/joaomoreno","html_url":"https://github.com/joaomoreno","followers_url":"https://api.github.com/users/joaomoreno/followers","following_url":"https://api.github.com/users/joaomoreno/following{/other_user}","gists_url":"https://api.github.com/users/joaomoreno/gists{/gist_id}","starred_url":"https://api.github.com/users/joaomoreno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joaomoreno/subscriptions","organizations_url":"https://api.github.com/users/joaomoreno/orgs","repos_url":"https://api.github.com/users/joaomoreno/repos","events_url":"https://api.github.com/users/joaomoreno/events{/privacy}","received_events_url":"https://api.github.com/users/joaomoreno/received_events","type":"User","site_admin":false},{"login":"dbaeumer","id":1931590,"avatar_url":"https://avatars.githubusercontent.com/u/1931590?v=3","gravatar_id":"","url":"https://api.github.com/users/dbaeumer","html_url":"https://github.com/dbaeumer","followers_url":"https://api.github.com/users/dbaeumer/followers","following_url":"https://api.github.com/users/dbaeumer/following{/other_user}","gists_url":"https://api.github.com/users/dbaeumer/gists{/gist_id}","starred_url":"https://api.github.com/users/dbaeumer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dbaeumer/subscriptions","organizations_url":"https://api.github.com/users/dbaeumer/orgs","repos_url":"https://api.github.com/users/dbaeumer/repos","events_url":"https://api.github.com/users/dbaeumer/events{/privacy}","received_events_url":"https://api.github.com/users/dbaeumer/received_events","type":"User","site_admin":false}],"milestone":null,"comments":12,"created_at":"2016-10-25T21:18:25Z","updated_at":"2016-10-27T19:15:02Z","closed_at":null,"body":"With [this change](https://github.com/Microsoft/vscode-generator-code/commit/806f74d9f02ce3bebe263c371594dcd1e35e3d61) `vscode:prepublish` and `compile` point to `tsc`. If the user does not have `tsc` installed on their local system then `vsce package` will fail with this error.\r\n```\r\nExecuting prepublish script 'tsc -p ./'...\r\nError: Command failed: tsc -p ./\r\n'tsc' is not recognized as an internal or external command,\r\noperable program or batch file.\r\n```\r\nI'm running on Windows 10 Pro version 1607.\r\n\r\nIf I change `vscode:prepublish` and `compile` to point to `node ./node_modules/typescript/bin/tsc` then `vsce package` works fine.\r\n\r\nThis suggestion [here](https://github.com/Microsoft/vscode-vsce/issues/130) may also be a possible solution for this."},"comment":{"url":"https://api.github.com/repos/Microsoft/vscode-generator-code/issues/comments/256741426","html_url":"https://github.com/Microsoft/vscode-generator-code/issues/52#issuecomment-256741426","issue_url":"https://api.github.com/repos/Microsoft/vscode-generator-code/issues/52","id":256741426,"user":{"login":"joaomoreno","id":22350,"avatar_url":"https://avatars.githubusercontent.com/u/22350?v=3","gravatar_id":"","url":"https://api.github.com/users/joaomoreno","html_url":"https://github.com/joaomoreno","followers_url":"https://api.github.com/users/joaomoreno/followers","following_url":"https://api.github.com/users/joaomoreno/following{/other_user}","gists_url":"https://api.github.com/users/joaomoreno/gists{/gist_id}","starred_url":"https://api.github.com/users/joaomoreno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joaomoreno/subscriptions","organizations_url":"https://api.github.com/users/joaomoreno/orgs","repos_url":"https://api.github.com/users/joaomoreno/repos","events_url":"https://api.github.com/users/joaomoreno/events{/privacy}","received_events_url":"https://api.github.com/users/joaomoreno/received_events","type":"User","site_admin":false},"created_at":"2016-10-27T19:15:02Z","updated_at":"2016-10-27T19:15:02Z","body":"What does `npm bin` return?"}}
{"actor":{"display_login":"joaomoreno"}}