{"action":"closed","issue":{"url":"https://api.github.com/repos/npm/npm/issues/8036","labels_url":"https://api.github.com/repos/npm/npm/issues/8036/labels{/name}","comments_url":"https://api.github.com/repos/npm/npm/issues/8036/comments","events_url":"https://api.github.com/repos/npm/npm/issues/8036/events","html_url":"https://github.com/npm/npm/issues/8036","id":70189044,"number":8036,"title":"Cannot specific prefix in current directory .npmrc","user":{"login":"pauldraper","id":1403271,"avatar_url":"https://avatars.githubusercontent.com/u/1403271?v=3","gravatar_id":"","url":"https://api.github.com/users/pauldraper","html_url":"https://github.com/pauldraper","followers_url":"https://api.github.com/users/pauldraper/followers","following_url":"https://api.github.com/users/pauldraper/following{/other_user}","gists_url":"https://api.github.com/users/pauldraper/gists{/gist_id}","starred_url":"https://api.github.com/users/pauldraper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pauldraper/subscriptions","organizations_url":"https://api.github.com/users/pauldraper/orgs","repos_url":"https://api.github.com/users/pauldraper/repos","events_url":"https://api.github.com/users/pauldraper/events{/privacy}","received_events_url":"https://api.github.com/users/pauldraper/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/npm/npm/labels/bug","name":"bug","color":"C40233"},{"url":"https://api.github.com/repos/npm/npm/labels/feature-request","name":"feature-request","color":"ACE1AF"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-04-22T17:33:28Z","updated_at":"2015-07-18T05:28:58Z","closed_at":"2015-07-18T05:28:58Z","body":"Create .npmrc in the current (non-home) directory\r\n\r\n```\r\nprefix = foo\r\n```\r\n\r\nBut `npm config get prefix` shows `/usr/local`.\r\n\r\nThis doesn't follow the documentation on [npmrc](https://docs.npmjs.com/files/npmrc):\r\n\r\n> Each of these files is loaded, and config options are resolved in priority order. For example, a setting in the userconfig file would override the setting in the globalconfig file."}}