{"action":"created","issue":{"url":"https://api.github.com/repos/angular/angular-cli/issues/2768","repository_url":"https://api.github.com/repos/angular/angular-cli","labels_url":"https://api.github.com/repos/angular/angular-cli/issues/2768/labels{/name}","comments_url":"https://api.github.com/repos/angular/angular-cli/issues/2768/comments","events_url":"https://api.github.com/repos/angular/angular-cli/issues/2768/events","html_url":"https://github.com/angular/angular-cli/issues/2768","id":183807740,"number":2768,"title":"Unable to install angular-cli","user":{"login":"skdhir","id":1790364,"avatar_url":"https://avatars.githubusercontent.com/u/1790364?v=3","gravatar_id":"","url":"https://api.github.com/users/skdhir","html_url":"https://github.com/skdhir","followers_url":"https://api.github.com/users/skdhir/followers","following_url":"https://api.github.com/users/skdhir/following{/other_user}","gists_url":"https://api.github.com/users/skdhir/gists{/gist_id}","starred_url":"https://api.github.com/users/skdhir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skdhir/subscriptions","organizations_url":"https://api.github.com/users/skdhir/orgs","repos_url":"https://api.github.com/users/skdhir/repos","events_url":"https://api.github.com/users/skdhir/events{/privacy}","received_events_url":"https://api.github.com/users/skdhir/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-10-18T21:27:30Z","updated_at":"2016-10-23T23:27:18Z","closed_at":"2016-10-23T14:12:39Z","body":"> Details:\r\n> ---------------------------------------------------------------\r\n\r\n### OS?\r\n> Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?)\r\nWindows 7 Enterprise /  64 bit\r\n\r\n### Versions.\r\n> Please run `ng --version`. If there's nothing outputted, please run in a Terminal: `node --version` and paste the result here:\r\nnode: v6.7.0\r\nnpm : 3.10.8\r\ngit: 2.10.1.Windows.1\r\n\r\n### Repro steps.\r\n> Was this an app that wasn't created using the CLI? What change did you do on your code? etc.\r\n- I have a project successfully running locally:  Angular2 / Typescript / npm \r\n- I did setup proxy for npm using command, so so npm install for other packages work fine\r\n- Now to deploy I wanted to use angular-cli\r\n- tried command: npm install -g angular-cli and got bunch of errors\r\n- I thought may be angular-cli is not able to get webpack, so ran command npm install -g webpack and it worked fine\r\n- I googles and lot of ppl said, its because of proxy, so ran following:\r\nset HTTP_PROXY=http://[proxy user name]:[URL encoded password]@[proxy server]:[proxy port]\r\n```\r\nset HTTPS_PROXY=%HTTP_PROXY%\r\nsetx HTTP_PROXY %HTTP_PROXY%\r\nsetx HTTPS_PROXY %HTTP_PROXY%\r\nnpm config set proxy %HTTP_PROXY%\r\nnpm config set https-proxy %HTTP_PROXY%\r\nnpm config set strict-ssl false\r\nnpm set registry https://registry.npmjs.org/\r\ngit config --global https.proxy %HTTP_PROXY%\r\ngit config --global http.proxy %HTTP_PROXY%\r\ngit config --global url.\"https://\".insteadOf git://\r\ngit config --global url.\"https://github.com/\".insteadOf git@github.com\r\n\r\n```\r\n### The log given by the failure.\r\nc:\\work\\projects\\gitRepo\\AngularProjects\\angular2-click>npm install -g angular-cli\r\nnpm WARN addRemoteGit Error: Command failed: git -c core.longpaths=true config --get remote.origin.url\r\nnpm WARN addRemoteGit\r\nnpm WARN addRemoteGit     at ChildProcess.exithandler (child_process.js:206:12)\r\nnpm WARN addRemoteGit     at emitTwo (events.js:106:13)\r\nnpm WARN addRemoteGit     at ChildProcess.emit (events.js:191:7)\r\nnpm WARN addRemoteGit     at maybeClose (internal/child_process.js:877:16)\r\nnpm WARN addRemoteGit     at Socket.<anonymous> (internal/child_process.js:334:11)\r\nnpm WARN addRemoteGit     at emitOne (events.js:96:13)\r\nnpm WARN addRemoteGit     at Socket.emit (events.js:188:7)\r\nnpm WARN addRemoteGit     at Pipe._handle.close [as _onclose] (net.js:493:12)\r\nnpm WARN addRemoteGit  webpack/compression-webpack-plugin#7e55907cd54a2e91b96d25a660acc6a2a6453f54 resetting remote C:\\Users\\sd40040\\AppData\\Roaming\\npm-cache\r\n\\_git-remotes\\git-github-com-webpack-compression-webpack-plugin-git-7e55907cd54a2e91b96d25a660acc6a2a6453f54-ec76b2fe because of error: { Error: Command faile\r\nd: git -c core.longpaths=true config --get remote.origin.url\r\nnpm WARN addRemoteGit\r\nnpm WARN addRemoteGit     at ChildProcess.exithandler (child_process.js:206:12)\r\nnpm WARN addRemoteGit     at emitTwo (events.js:106:13)\r\nnpm WARN addRemoteGit     at ChildProcess.emit (events.js:191:7)\r\nnpm WARN addRemoteGit     at maybeClose (internal/child_process.js:877:16)\r\nnpm WARN addRemoteGit     at Socket.<anonymous> (internal/child_process.js:334:11)\r\nnpm WARN addRemoteGit     at emitOne (events.js:96:13)\r\nnpm WARN addRemoteGit     at Socket.emit (events.js:188:7)\r\nnpm WARN addRemoteGit     at Pipe._handle.close [as _onclose] (net.js:493:12)\r\nnpm WARN addRemoteGit   killed: false,\r\nnpm WARN addRemoteGit   code: 1,\r\nnpm WARN addRemoteGit   signal: null,\r\nnpm WARN addRemoteGit   cmd: 'git -c core.longpaths=true config --get remote.origin.url' }\r\nnpm ERR! git clone --template=C:\\Users\\sd40040\\AppData\\Roaming\\npm-cache\\_git-remotes\\_templates --mirror git://github.com/webpack/compression-webpack-plugin.\r\ngit C:\\Users\\sd40040\\AppData\\Roaming\\npm-cache\\_git-remotes\\git-github-com-webpack-compression-webpack-plugin-git-7e55907cd54a2e91b96d25a660acc6a2a6453f54-ec7\r\n6b2fe: Cloning into bare repository 'C:\\Users\\sd40040\\AppData\\Roaming\\npm-cache\\_git-remotes\\git-github-com-webpack-compression-webpack-plugin-git-7e55907cd54\r\na2e91b96d25a660acc6a2a6453f54-ec76b2fe'...\r\nnpm ERR! git clone --template=C:\\Users\\sd40040\\AppData\\Roaming\\npm-cache\\_git-remotes\\_templates --mirror git://github.com/webpack/compression-webpack-plugin.\r\ngit C:\\Users\\sd40040\\AppData\\Roaming\\npm-cache\\_git-remotes\\git-github-com-webpack-compression-webpack-plugin-git-7e55907cd54a2e91b96d25a660acc6a2a6453f54-ec7\r\n6b2fe: fatal: unable to access 'https://github.com/webpack/compression-webpack-plugin.git/': SSL certificate problem: self signed certificate in certificate chain\r\n\r\n> ---------------------------------------------------------------\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/angular/angular-cli/issues/comments/255622310","html_url":"https://github.com/angular/angular-cli/issues/2768#issuecomment-255622310","issue_url":"https://api.github.com/repos/angular/angular-cli/issues/2768","id":255622310,"user":{"login":"skdhir","id":1790364,"avatar_url":"https://avatars.githubusercontent.com/u/1790364?v=3","gravatar_id":"","url":"https://api.github.com/users/skdhir","html_url":"https://github.com/skdhir","followers_url":"https://api.github.com/users/skdhir/followers","following_url":"https://api.github.com/users/skdhir/following{/other_user}","gists_url":"https://api.github.com/users/skdhir/gists{/gist_id}","starred_url":"https://api.github.com/users/skdhir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skdhir/subscriptions","organizations_url":"https://api.github.com/users/skdhir/orgs","repos_url":"https://api.github.com/users/skdhir/repos","events_url":"https://api.github.com/users/skdhir/events{/privacy}","received_events_url":"https://api.github.com/users/skdhir/received_events","type":"User","site_admin":false},"created_at":"2016-10-23T23:27:18Z","updated_at":"2016-10-23T23:27:18Z","body":"@filipesilva and @Meligy ...\r\n\r\nThanks for the replies but I'm lil confused.\r\n\r\nSo GIT beta 18 is released already? I couldn't find link to download beta 18, can you please post teh link here.\r\n\r\nThanks in Advance and Sorry for posting this on Sunday night."}}
{"actor":{"display_login":"skdhir"}}