{"action":"created","issue":{"url":"https://api.github.com/repos/npm/npm/issues/4564","repository_url":"https://api.github.com/repos/npm/npm","labels_url":"https://api.github.com/repos/npm/npm/issues/4564/labels{/name}","comments_url":"https://api.github.com/repos/npm/npm/issues/4564/comments","events_url":"https://api.github.com/repos/npm/npm/issues/4564/events","html_url":"https://github.com/npm/npm/issues/4564","id":26479694,"number":4564,"title":"npm on windows, install with -g flag should go into appdata/local rather than current appdata/roaming?","user":{"login":"mgancarzdsi","id":2302483,"avatar_url":"https://avatars.githubusercontent.com/u/2302483?v=3","gravatar_id":"","url":"https://api.github.com/users/mgancarzdsi","html_url":"https://github.com/mgancarzdsi","followers_url":"https://api.github.com/users/mgancarzdsi/followers","following_url":"https://api.github.com/users/mgancarzdsi/following{/other_user}","gists_url":"https://api.github.com/users/mgancarzdsi/gists{/gist_id}","starred_url":"https://api.github.com/users/mgancarzdsi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgancarzdsi/subscriptions","organizations_url":"https://api.github.com/users/mgancarzdsi/orgs","repos_url":"https://api.github.com/users/mgancarzdsi/repos","events_url":"https://api.github.com/users/mgancarzdsi/events{/privacy}","received_events_url":"https://api.github.com/users/mgancarzdsi/received_events","type":"User","site_admin":false},"labels":[{"id":327795332,"url":"https://api.github.com/repos/npm/npm/labels/already-looked-at","name":"already-looked-at","color":"FEC9ED","default":false},{"id":131351786,"url":"https://api.github.com/repos/npm/npm/labels/enterprise","name":"enterprise","color":"024ACA","default":false},{"id":104298906,"url":"https://api.github.com/repos/npm/npm/labels/feature-request","name":"feature-request","color":"98DCFF","default":false},{"id":189882,"url":"https://api.github.com/repos/npm/npm/labels/node-bug","name":"node-bug","color":"6AB417","default":false},{"id":172076,"url":"https://api.github.com/repos/npm/npm/labels/windows","name":"windows","color":"00177D","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":55,"created_at":"2014-01-28T21:52:02Z","updated_at":"2016-11-09T16:27:08Z","closed_at":null,"body":"Hello, I'm not entirely sure if this is an issue as opposed to a design decision, but I'd like to suggest that npm installs with -g flag, when done on Windows 7/8 should go into the appdata/local directory, as opposed to the current appdata/roaming.\n\nRoaming is the part of the user directory that is user-specific and machine agnostic, ie: it moves with the user to other machines. This means that in many corporate environments (such as ours) it is redirect to the network as a long UNC path. This then causes issues when trying to run things installed globally (such as grunt) since UNC paths are not supported in the command line.\n\nI'd suggest installing things into %USERPROFILE%\\AppData\\Local would be more appropriate, as that is both User-specific and computer-specific application settings and is very unlikely to ever be redirected or anywhere other than on the local machine.\n"},"comment":{"url":"https://api.github.com/repos/npm/npm/issues/comments/259457235","html_url":"https://github.com/npm/npm/issues/4564#issuecomment-259457235","issue_url":"https://api.github.com/repos/npm/npm/issues/4564","id":259457235,"user":{"login":"phestermcs","id":4985028,"avatar_url":"https://avatars.githubusercontent.com/u/4985028?v=3","gravatar_id":"","url":"https://api.github.com/users/phestermcs","html_url":"https://github.com/phestermcs","followers_url":"https://api.github.com/users/phestermcs/followers","following_url":"https://api.github.com/users/phestermcs/following{/other_user}","gists_url":"https://api.github.com/users/phestermcs/gists{/gist_id}","starred_url":"https://api.github.com/users/phestermcs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phestermcs/subscriptions","organizations_url":"https://api.github.com/users/phestermcs/orgs","repos_url":"https://api.github.com/users/phestermcs/repos","events_url":"https://api.github.com/users/phestermcs/events{/privacy}","received_events_url":"https://api.github.com/users/phestermcs/received_events","type":"User","site_admin":false},"created_at":"2016-11-09T16:27:08Z","updated_at":"2016-11-09T16:27:08Z","body":"I'm about 3/4's through a cmd script that will 'fix' an npm install so that its pieces and parts are put in the most appropriate place for Windows, with permissions set accordingly, and settings, npm-cache, and global installs all 'migrated' correctly.\r\n\r\nIt would be ideal for anyone who's receiving complaints from their IT departments about the size of their roaming profiles. It might be helpful to those who sometimes have permission issues when running `npm i -g`, and don't really understand why. It also fixes a quirk with how `npm` launches, were it actually runs twice; once to read its `prefix` config setting, and then again to launch itself from the location specified by the `prefix` setting, which just make it seem 'slow'. \r\n\r\nIf all you've ever done to install `npm` is to either run the `node` installer, and then maybe run `npm i -g npm` to get the latest version, it will work just great. If you've tried tweaking any config settings, specifically `userconfig`, `globalconfig`, `cache`, `prefix`, it will still work just fine, and will  preserve any other settings you may have changed. If you are running several versions of node and/or npm for some reason, or have a more 'exotic' arrangement, it's probably not an option.\r\n\r\nBut, my basic question is, are there several of you out there that would actually want this? \r\n\r\nJust kinda double checking before I complete and open myself to resolving issues, etc.\r\n\r\nLet me know?"}}
{"actor":{"display_login":"phestermcs"}}