{"action":"closed","issue":{"url":"https://api.github.com/repos/dotnet/templating/issues/1069","repository_url":"https://api.github.com/repos/dotnet/templating","labels_url":"https://api.github.com/repos/dotnet/templating/issues/1069/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/templating/issues/1069/comments","events_url":"https://api.github.com/repos/dotnet/templating/issues/1069/events","html_url":"https://github.com/dotnet/templating/issues/1069","id":242237485,"number":1069,"title":"dotnet new --install failed with too many open files","user":{"login":"shampeter","id":92243,"avatar_url":"https://avatars0.githubusercontent.com/u/92243?v=3","gravatar_id":"","url":"https://api.github.com/users/shampeter","html_url":"https://github.com/shampeter","followers_url":"https://api.github.com/users/shampeter/followers","following_url":"https://api.github.com/users/shampeter/following{/other_user}","gists_url":"https://api.github.com/users/shampeter/gists{/gist_id}","starred_url":"https://api.github.com/users/shampeter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shampeter/subscriptions","organizations_url":"https://api.github.com/users/shampeter/orgs","repos_url":"https://api.github.com/users/shampeter/repos","events_url":"https://api.github.com/users/shampeter/events{/privacy}","received_events_url":"https://api.github.com/users/shampeter/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-07-12T02:21:44Z","updated_at":"2017-07-12T22:23:33Z","closed_at":"2017-07-12T22:23:33Z","body":"I have been trying to run dotnet new --install to install new templates, but doesn't matter which template I tried, it will fail with 'Too many open files'.  My machine is macOS 10.12.5.  My dotnet --version shows 1.0.4.  I suspect it is related to nuget restore is attempting to restore multiple project in parallel, and the limit of file open in macOS.  Output from the command will look like this\r\n\r\nGetting ready...\r\n  Restoring packages for /Users/petersham/.templateengine/dotnetcli/v1.0.4/scratch/restore.csproj...\r\n  Failed to download package 'System.Numerics.Vectors.4.1.1' from 'https://api.nuget.org/v3-flatcontainer/system.numerics.vectors/4.1.1/system.numerics.vectors.4.1.1.nupkg'.\r\n  Too many open files\r\n"}}
{"actor":{"display_login":"seancpeters"}}