{"action":"created","issue":{"url":"https://api.github.com/repos/npm/npm/issues/13624","repository_url":"https://api.github.com/repos/npm/npm","labels_url":"https://api.github.com/repos/npm/npm/issues/13624/labels{/name}","comments_url":"https://api.github.com/repos/npm/npm/issues/13624/comments","events_url":"https://api.github.com/repos/npm/npm/issues/13624/events","html_url":"https://github.com/npm/npm/issues/13624","id":170372579,"number":13624,"title":"completion: refused to run under CYGWIN bash","user":{"login":"ankostis","id":501585,"avatar_url":"https://avatars.githubusercontent.com/u/501585?v=3","gravatar_id":"","url":"https://api.github.com/users/ankostis","html_url":"https://github.com/ankostis","followers_url":"https://api.github.com/users/ankostis/followers","following_url":"https://api.github.com/users/ankostis/following{/other_user}","gists_url":"https://api.github.com/users/ankostis/gists{/gist_id}","starred_url":"https://api.github.com/users/ankostis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ankostis/subscriptions","organizations_url":"https://api.github.com/users/ankostis/orgs","repos_url":"https://api.github.com/users/ankostis/repos","events_url":"https://api.github.com/users/ankostis/events{/privacy}","received_events_url":"https://api.github.com/users/ankostis/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2016-08-10T09:30:22Z","updated_at":"2016-12-01T08:42:10Z","closed_at":"2016-08-10T16:39:38Z","body":"With cygwin's bash, under Windows 7 64bit, with latest _node.js_ zip download and extracted from: https://nodejs.org/dist/latest/, the autocompletion script from `npm completion` command **is not produced at all**.\nSpecifically  I get the following messages:\n\n``` bash\nCYGWIN $ npm completion\nnpm ERR! Windows_NT 6.1.7601\nnpm ERR! argv \"D:\\\\Apps\\\\node.js\\\\node.exe\" \"D:\\\\Apps\\\\node.js\\\\node_modules\\\\npm\\\\bin\\\\npm-cli.js\" \"completion\"\nnpm ERR! node v6.3.1\nnpm ERR! npm  v3.10.3\nnpm ERR! code ENOTSUP\n\nnpm ERR! nospc npm completion supported only in MINGW / Git bash on Windows\nnpm ERR! nospc This is most likely not a problem with npm itself\nnpm ERR! nospc and is related to insufficient space on your system.\n\nnpm ERR! Please include the following file with any support request:\nnpm ERR!     ...\\npm-debug.log\n\nCYGWIN $ npm -v\n3.10.3\n\nCYGWIN $ node -v\nv6.3.1\n\nCYGWIN $ which npm node bash | xargs cygpath -w\nD:\\Apps\\node.js\\npm\nD:\\Apps\\node.js\\node\nD:\\Apps\\cygwin64\\bin\\bash\n```\n\nNote that when I run `npm completion` the in GIT's bash, the command produces a script:\n\n``` bash\nMINGW64 $ npm completion\n#!/bin/bash........] - : info using node@v6.3.1\n###-begin-npm-completion-###\n#\n# npm command completion script\n#\n...\n###-end-npm-completion-###\n\n\nMINGW64 $ which npm node bash | xargs cygpath -w\nD:\\Apps\\node.js\\npm\nD:\\Apps\\node.js\\node\nD:\\Apps\\Git\\usr\\bin\\bash\n```\n"},"comment":{"url":"https://api.github.com/repos/npm/npm/issues/comments/264112530","html_url":"https://github.com/npm/npm/issues/13624#issuecomment-264112530","issue_url":"https://api.github.com/repos/npm/npm/issues/13624","id":264112530,"user":{"login":"emigenix","id":20965830,"avatar_url":"https://avatars.githubusercontent.com/u/20965830?v=3","gravatar_id":"","url":"https://api.github.com/users/emigenix","html_url":"https://github.com/emigenix","followers_url":"https://api.github.com/users/emigenix/followers","following_url":"https://api.github.com/users/emigenix/following{/other_user}","gists_url":"https://api.github.com/users/emigenix/gists{/gist_id}","starred_url":"https://api.github.com/users/emigenix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emigenix/subscriptions","organizations_url":"https://api.github.com/users/emigenix/orgs","repos_url":"https://api.github.com/users/emigenix/repos","events_url":"https://api.github.com/users/emigenix/events{/privacy}","received_events_url":"https://api.github.com/users/emigenix/received_events","type":"User","site_admin":false},"created_at":"2016-12-01T08:42:10Z","updated_at":"2016-12-01T08:42:10Z","body":"Just for everybody's information, I've written a how-to for installing npm on Cygwin [here](https://github.com/emigenix/npm_on_cygwin). I think trying to avoid using any default windows installation and user home paths, help avoiding a lot of problems. "}}
{"actor":{"display_login":"emigenix"}}