{"action":"created","issue":{"url":"https://api.github.com/repos/zkat/npx/issues/58","repository_url":"https://api.github.com/repos/zkat/npx","labels_url":"https://api.github.com/repos/zkat/npx/issues/58/labels{/name}","comments_url":"https://api.github.com/repos/zkat/npx/issues/58/comments","events_url":"https://api.github.com/repos/zkat/npx/issues/58/events","html_url":"https://github.com/zkat/npx/issues/58","id":241924786,"number":58,"title":"npx fails to find npm on Windows 10","user":{"login":"wavebeem","id":176815,"avatar_url":"https://avatars2.githubusercontent.com/u/176815?v=3","gravatar_id":"","url":"https://api.github.com/users/wavebeem","html_url":"https://github.com/wavebeem","followers_url":"https://api.github.com/users/wavebeem/followers","following_url":"https://api.github.com/users/wavebeem/following{/other_user}","gists_url":"https://api.github.com/users/wavebeem/gists{/gist_id}","starred_url":"https://api.github.com/users/wavebeem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wavebeem/subscriptions","organizations_url":"https://api.github.com/users/wavebeem/orgs","repos_url":"https://api.github.com/users/wavebeem/repos","events_url":"https://api.github.com/users/wavebeem/events{/privacy}","received_events_url":"https://api.github.com/users/wavebeem/received_events","type":"User","site_admin":false},"labels":[{"id":614735359,"url":"https://api.github.com/repos/zkat/npx/labels/bug","name":"bug","color":"ee0701","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-07-11T04:54:41Z","updated_at":"2017-07-11T07:12:36Z","closed_at":null,"body":"```\r\nWindows 10: version 1703\r\nShell: PowerShell\r\nnode: 8.1.2\r\nnpm: 5.2.0\r\nnpx: 9.0.3\r\n```\r\n\r\n![image](https://user-images.githubusercontent.com/176815/28051539-e09fbf58-65b9-11e7-81b7-b466c573e8ba.png)\r\n\r\n![image](https://user-images.githubusercontent.com/176815/28051579-318f48d4-65ba-11e7-909f-3f9647cf9f38.png)\r\n"},"comment":{"url":"https://api.github.com/repos/zkat/npx/issues/comments/314355900","html_url":"https://github.com/zkat/npx/issues/58#issuecomment-314355900","issue_url":"https://api.github.com/repos/zkat/npx/issues/58","id":314355900,"user":{"login":"zkat","id":17535,"avatar_url":"https://avatars2.githubusercontent.com/u/17535?v=3","gravatar_id":"","url":"https://api.github.com/users/zkat","html_url":"https://github.com/zkat","followers_url":"https://api.github.com/users/zkat/followers","following_url":"https://api.github.com/users/zkat/following{/other_user}","gists_url":"https://api.github.com/users/zkat/gists{/gist_id}","starred_url":"https://api.github.com/users/zkat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zkat/subscriptions","organizations_url":"https://api.github.com/users/zkat/orgs","repos_url":"https://api.github.com/users/zkat/repos","events_url":"https://api.github.com/users/zkat/events{/privacy}","received_events_url":"https://api.github.com/users/zkat/received_events","type":"User","site_admin":false},"created_at":"2017-07-11T07:12:36Z","updated_at":"2017-07-11T07:12:36Z","body":"huh!\r\n\r\nI don't understaaaaaand.\r\n\r\nI think in this case, this is an npm bug, but I'm fine tracking it here. Basically, something's really weird with what https://github.com/npm/npm/blob/latest/bin/npx-cli.js#L6 is doing when executed through https://github.com/npm/npm/blob/latest/bin/npx.cmd, and I think I'm just misunderstanding how `__dirname` is going to work for that `.cmd` shim.\r\n\r\nDoes this work at all if you do `npm i -g npx@latest` and try again?"}}
{"actor":{"display_login":"zkat"}}