{"action":"created","issue":{"url":"https://api.github.com/repos/Azure/azure-webjobs-sdk-script/issues/887","repository_url":"https://api.github.com/repos/Azure/azure-webjobs-sdk-script","labels_url":"https://api.github.com/repos/Azure/azure-webjobs-sdk-script/issues/887/labels{/name}","comments_url":"https://api.github.com/repos/Azure/azure-webjobs-sdk-script/issues/887/comments","events_url":"https://api.github.com/repos/Azure/azure-webjobs-sdk-script/issues/887/events","html_url":"https://github.com/Azure/azure-webjobs-sdk-script/issues/887","id":187905431,"number":887,"title":"func init failure","user":{"login":"simra","id":2946735,"avatar_url":"https://avatars.githubusercontent.com/u/2946735?v=3","gravatar_id":"","url":"https://api.github.com/users/simra","html_url":"https://github.com/simra","followers_url":"https://api.github.com/users/simra/followers","following_url":"https://api.github.com/users/simra/following{/other_user}","gists_url":"https://api.github.com/users/simra/gists{/gist_id}","starred_url":"https://api.github.com/users/simra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simra/subscriptions","organizations_url":"https://api.github.com/users/simra/orgs","repos_url":"https://api.github.com/users/simra/repos","events_url":"https://api.github.com/users/simra/events{/privacy}","received_events_url":"https://api.github.com/users/simra/received_events","type":"User","site_admin":false},"labels":[{"id":413955731,"url":"https://api.github.com/repos/Azure/azure-webjobs-sdk-script/labels/CLI","name":"CLI","color":"fbca04","default":false},{"id":473941828,"url":"https://api.github.com/repos/Azure/azure-webjobs-sdk-script/labels/no-repro","name":"no-repro","color":"d93f0b","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/Azure/azure-webjobs-sdk-script/milestones/4","html_url":"https://github.com/Azure/azure-webjobs-sdk-script/milestone/4","labels_url":"https://api.github.com/repos/Azure/azure-webjobs-sdk-script/milestones/4/labels","id":1682707,"number":4,"title":"Next - Triaged","description":"Work for the next iteration","creator":{"login":"christopheranderson","id":2252976,"avatar_url":"https://avatars.githubusercontent.com/u/2252976?v=3","gravatar_id":"","url":"https://api.github.com/users/christopheranderson","html_url":"https://github.com/christopheranderson","followers_url":"https://api.github.com/users/christopheranderson/followers","following_url":"https://api.github.com/users/christopheranderson/following{/other_user}","gists_url":"https://api.github.com/users/christopheranderson/gists{/gist_id}","starred_url":"https://api.github.com/users/christopheranderson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/christopheranderson/subscriptions","organizations_url":"https://api.github.com/users/christopheranderson/orgs","repos_url":"https://api.github.com/users/christopheranderson/repos","events_url":"https://api.github.com/users/christopheranderson/events{/privacy}","received_events_url":"https://api.github.com/users/christopheranderson/received_events","type":"User","site_admin":false},"open_issues":94,"closed_issues":42,"state":"open","created_at":"2016-04-04T18:21:33Z","updated_at":"2016-12-05T18:10:54Z","due_on":null,"closed_at":null},"comments":8,"created_at":"2016-11-08T05:30:26Z","updated_at":"2016-12-08T12:26:04Z","closed_at":null,"body":"func init fails.\r\nIt took some fiddling to get --cli-dev to work, since it doesn't recognize an implicit working directory.\r\nGit wasn't in my path, and I thought that might be the issue but it fails even when git is present in the path.\r\n\r\n```\r\nc:\\GitHub\\AzureFunctions>func init\r\nWriting .gitignore\r\nWriting host.json\r\nWriting .secrets\r\nError: The system cannot find the file specified\r\nYou can run the same command passing --cli-dev and report an issue on https://github.com/azure/azure-webjobs-sdk-script/issues\r\n\r\nc:\\GitHub\\AzureFunctions>func init --cli-dev\r\nUnable to parse option Folder\r\n\r\nAzure Functions CLI 0.1\r\nUsage: func init [Options]\r\n\r\n   <folder>    (Required)\r\n   --vsc       Version Control Software. Git or Hg\r\n   --help      Show this help\r\n\r\n\r\n\r\nc:\\GitHub\\AzureFunctions>func init . --cli-dev\r\nWriting .gitignore\r\nWriting host.json\r\nWriting .secrets\r\nSystem.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified\r\n   at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)\r\n   at System.Diagnostics.Process.Start()\r\n   at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)\r\n   at WebJobs.Script.Cli.Common.Executable.<RunAsync>d__6.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.GetResult()\r\n   at WebJobs.Script.Cli.Verbs.InitVerb.<RunAsync>d__10.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.GetResult()\r\n   at NCli.ConsoleApp.<RunAsync>d__5`1.MoveNext()\r\n```\r\n\r\n#### Repro steps\r\n\r\nProvide the steps required to reproduce the problem\r\n\r\n1. npm i -g azurefunctions\r\n\r\n2. npm i -g generator-azurefunctions yo\r\n\r\n3. func init\r\n\r\n#### Expected behavior\r\n\r\n`func init` should succeed.\r\n\r\n#### Actual behavior\r\n\r\nApparently an exe can't be found but I don't know which one.\r\n\r\n#### Known workarounds\r\n\r\nUnknown\r\n\r\n#### Related information \r\n\r\nnpm 3.10.8\r\nnode 6.9.1\r\ngit 2.6.2.windows.1\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Azure/azure-webjobs-sdk-script/issues/comments/265728430","html_url":"https://github.com/Azure/azure-webjobs-sdk-script/issues/887#issuecomment-265728430","issue_url":"https://api.github.com/repos/Azure/azure-webjobs-sdk-script/issues/887","id":265728430,"user":{"login":"shankarvrp","id":15812758,"avatar_url":"https://avatars.githubusercontent.com/u/15812758?v=3","gravatar_id":"","url":"https://api.github.com/users/shankarvrp","html_url":"https://github.com/shankarvrp","followers_url":"https://api.github.com/users/shankarvrp/followers","following_url":"https://api.github.com/users/shankarvrp/following{/other_user}","gists_url":"https://api.github.com/users/shankarvrp/gists{/gist_id}","starred_url":"https://api.github.com/users/shankarvrp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shankarvrp/subscriptions","organizations_url":"https://api.github.com/users/shankarvrp/orgs","repos_url":"https://api.github.com/users/shankarvrp/repos","events_url":"https://api.github.com/users/shankarvrp/events{/privacy}","received_events_url":"https://api.github.com/users/shankarvrp/received_events","type":"User","site_admin":false},"created_at":"2016-12-08T12:26:04Z","updated_at":"2016-12-08T12:26:04Z","body":"I have got the exact same issue, with the latest package. "}}
{"actor":{"display_login":"shankarvrp"}}