{"action":"created","issue":{"url":"https://api.github.com/repos/zkat/npx/issues/110","repository_url":"https://api.github.com/repos/zkat/npx","labels_url":"https://api.github.com/repos/zkat/npx/issues/110/labels{/name}","comments_url":"https://api.github.com/repos/zkat/npx/issues/110/comments","events_url":"https://api.github.com/repos/zkat/npx/issues/110/events","html_url":"https://github.com/zkat/npx/issues/110","id":249909440,"number":110,"title":"somethig wrong with npx Command failed: C:\\“Program Files”\\nodejs\\node.exe","user":{"login":"bluelovers","id":167966,"avatar_url":"https://avatars0.githubusercontent.com/u/167966?v=4","gravatar_id":"","url":"https://api.github.com/users/bluelovers","html_url":"https://github.com/bluelovers","followers_url":"https://api.github.com/users/bluelovers/followers","following_url":"https://api.github.com/users/bluelovers/following{/other_user}","gists_url":"https://api.github.com/users/bluelovers/gists{/gist_id}","starred_url":"https://api.github.com/users/bluelovers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bluelovers/subscriptions","organizations_url":"https://api.github.com/users/bluelovers/orgs","repos_url":"https://api.github.com/users/bluelovers/repos","events_url":"https://api.github.com/users/bluelovers/events{/privacy}","received_events_url":"https://api.github.com/users/bluelovers/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},{"id":614735362,"url":"https://api.github.com/repos/zkat/npx/labels/help%20wanted","name":"help wanted","color":"128A0C","default":true},{"id":693654876,"url":"https://api.github.com/repos/zkat/npx/labels/windows","name":"windows","color":"0052cc","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":15,"created_at":"2017-08-14T00:29:36Z","updated_at":"2017-09-15T20:01:58Z","closed_at":null,"author_association":"NONE","body":"<!--\r\n⚠️🚨 BEFORE FILING AN ISSUE: 🚨⚠️\r\n\r\n👉🏼 CONTRIBUTING.md 👈🏼 (the \"contribution guidelines\" up there ☝🏼)\r\n\r\nI PROMISE IT'S A VERY VERY SHORT READ.🙇🏼\r\n-->\r\n\r\nmy npx always show this error\r\n\r\n`Command failed: C:\\\"Program Files\"\\nodejs\\node.exe C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js config get cache --parseable\r\nmodule.js:487`\r\n\r\n![20170814-082755_tavgg](https://user-images.githubusercontent.com/167966/29254611-9582a02c-80ca-11e7-81be-94e9806572ce.jpg)\r\n![20170814-082758_dyim1](https://user-images.githubusercontent.com/167966/29254612-958351f2-80ca-11e7-9a28-c94a1b015e44.jpg)\r\n"},"comment":{"url":"https://api.github.com/repos/zkat/npx/issues/comments/329887699","html_url":"https://github.com/zkat/npx/issues/110#issuecomment-329887699","issue_url":"https://api.github.com/repos/zkat/npx/issues/110","id":329887699,"user":{"login":"noahleigh","id":5957867,"avatar_url":"https://avatars3.githubusercontent.com/u/5957867?v=4","gravatar_id":"","url":"https://api.github.com/users/noahleigh","html_url":"https://github.com/noahleigh","followers_url":"https://api.github.com/users/noahleigh/followers","following_url":"https://api.github.com/users/noahleigh/following{/other_user}","gists_url":"https://api.github.com/users/noahleigh/gists{/gist_id}","starred_url":"https://api.github.com/users/noahleigh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/noahleigh/subscriptions","organizations_url":"https://api.github.com/users/noahleigh/orgs","repos_url":"https://api.github.com/users/noahleigh/repos","events_url":"https://api.github.com/users/noahleigh/events{/privacy}","received_events_url":"https://api.github.com/users/noahleigh/received_events","type":"User","site_admin":false},"created_at":"2017-09-15T20:01:58Z","updated_at":"2017-09-15T20:01:58Z","author_association":"NONE","body":"@michaeljota I deleted `npx` and `npx.cmd` from `C:\\Program Files\\nodejs` and now it's using the updated 9.6.0 instead of 9.2.1!\r\n\r\n```\r\nPS C:\\Users\\noahleigh> npx -v\r\n9.6.0\r\nPS C:\\Users\\noahleigh> npx cowsay hey\r\nnpx: installed 9 in 3.627s\r\nC:\\Users\\noahleigh\\AppData\\Roaming\\npm-cache\\_npx\\4696\\node_modules\\cowsay\\cli.js\r\n _____\r\n< hey >\r\n -----\r\n        \\   ^__^\r\n         \\  (oo)\\_______\r\n            (__)\\       )\\/\\\r\n                ||----w |\r\n                ||     ||\r\n```\r\n\r\nWhy would node fail to use the updated version even after `npm install npx@latest -g`?"}}
{"actor":{"display_login":"noahleigh"}}