{"action":"created","issue":{"url":"https://api.github.com/repos/npm/npm/issues/5542","labels_url":"https://api.github.com/repos/npm/npm/issues/5542/labels{/name}","comments_url":"https://api.github.com/repos/npm/npm/issues/5542/comments","events_url":"https://api.github.com/repos/npm/npm/issues/5542/events","html_url":"https://github.com/npm/npm/issues/5542","id":36385012,"number":5542,"title":"Getting error after running the command \"npm install\".","user":{"login":"shivamshukla","id":4457009,"avatar_url":"https://avatars.githubusercontent.com/u/4457009?v=3","gravatar_id":"","url":"https://api.github.com/users/shivamshukla","html_url":"https://github.com/shivamshukla","followers_url":"https://api.github.com/users/shivamshukla/followers","following_url":"https://api.github.com/users/shivamshukla/following{/other_user}","gists_url":"https://api.github.com/users/shivamshukla/gists{/gist_id}","starred_url":"https://api.github.com/users/shivamshukla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shivamshukla/subscriptions","organizations_url":"https://api.github.com/users/shivamshukla/orgs","repos_url":"https://api.github.com/users/shivamshukla/repos","events_url":"https://api.github.com/users/shivamshukla/events{/privacy}","received_events_url":"https://api.github.com/users/shivamshukla/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/npm/npm/labels/support","name":"support","color":"FF91AF"},{"url":"https://api.github.com/repos/npm/npm/labels/windows","name":"windows","color":"0b02e1"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":18,"created_at":"2014-06-24T13:48:18Z","updated_at":"2015-05-26T08:18:13Z","closed_at":null,"body":"IN npm-debug.log, last few lines before error started....\r\n \r\n```\r\n7773 silly lockFile d89fdb6e-deep-extend-0-2-5 deep-extend@~0.2.5\r\n7774 silly lockFile d89fdb6e-deep-extend-0-2-5 deep-extend@~0.2.5\r\n7775 silly gunzTarPerm extractEntry test/perm_sync.js\r\n7776 silly gunzTarPerm extractEntry test/rel.js\r\n7777 silly gunzTarPerm extractEntry test/root.js\r\n7778 silly gunzTarPerm extractEntry test/sync.js\r\n7779 silly gunzTarPerm extractEntry test/umask.js\r\n7780 silly gunzTarPerm extractEntry test/umask_sync.js\r\n7781 error Error: EPERM, unlink 'C:\\Users\\Shivam\\AppData\\Roaming\\npm-cache\\inherits\\2.0.1\\package'\r\n7781 error  { [Error: EPERM, unlink 'C:\\Users\\Shivam\\AppData\\Roaming\\npm-cache\\inherits\\2.0.1\\package']\r\n7781 error   errno: 50,\r\n7781 error   code: 'EPERM',\r\n7781 error   path: 'C:\\\\Users\\\\Shivam\\\\AppData\\\\Roaming\\\\npm-cache\\\\inherits\\\\2.0.1\\\\package',\r\n7781 error   parent: 'tar' }\r\n7782 error Please try running this command again as root/Administrator.\r\n7783 error System Windows_NT 6.1.7601\r\n7784 error command \"c:\\\\Program Files\\\\nodejs\\\\node.exe\" \"c:\\\\Program Files\\\\nodejs\\\\node_modules\\\\npm\\\\bin\\\\npm-cli.js\" \"install\"\r\n7785 error cwd f:\\Workspace\\Angular_workspace\\angular-phonecat\r\n7786 error node -v v0.10.28\r\n7787 error npm -v 1.4.9\r\n7788 error path C:\\Users\\Shivam\\AppData\\Roaming\\npm-cache\\inherits\\2.0.1\\package\r\n7789 error code EPERM\r\n7790 error errno 50\r\n7791 error stack Error: EPERM, unlink 'C:\\Users\\Shivam\\AppData\\Roaming\\npm-cache\\inherits\\2.0.1\\package'\r\n7792 verbose exit [ 50, true ]\r\n```\r\n-------------------------------------------------------------------------------------------------------------------------------------------------------\r\nin npm console it says\r\n```\r\nnpm http GET https://registry.npmjs.org/binary/-/binary-0.3.0.tgz\r\nnpm ERR! Error: EPERM, unlink 'C:\\Users\\Shivam\\AppData\\Roaming\\npm-cache\\inherit\r\ns\\2.0.1\\package'\r\nnpm ERR!  { [Error: EPERM, unlink 'C:\\Users\\Shivam\\AppData\\Roaming\\npm-cache\\inh\r\nerits\\2.0.1\\package']\r\nnpm ERR!   errno: 50,\r\nnpm ERR!   code: 'EPERM',\r\nnpm ERR!   path: 'C:\\\\Users\\\\Shivam\\\\AppData\\\\Roaming\\\\npm-cache\\\\inherits\\\\2.0.\r\n1\\\\package',\r\nnpm ERR!   parent: 'tar' }\r\nnpm ERR!\r\nnpm ERR! Please try running this command again as root/Administrator.\r\n\r\nnpm ERR! System Windows_NT 6.1.7601\r\nnpm ERR! command \"c:\\\\Program Files\\\\nodejs\\\\node.exe\" \"c:\\\\Program Files\\\\nodej\r\ns\\\\node_modules\\\\npm\\\\bin\\\\npm-cli.js\" \"install\"\r\nnpm ERR! cwd f:\\Workspace\\Angular_workspace\\angular-phonecat\r\nnpm ERR! node -v v0.10.28\r\nnpm ERR! npm -v 1.4.9\r\nnpm ERR! path C:\\Users\\Shivam\\AppData\\Roaming\\npm-cache\\inherits\\2.0.1\\package\r\nnpm ERR! code EPERM\r\nnpm ERR! errno 50\r\nnpm ERR! stack Error: EPERM, unlink 'C:\\Users\\Shivam\\AppData\\Roaming\\npm-cache\\i\r\nnherits\\2.0.1\\package'\r\nnpm http 200 https://registry.npmjs.org/qs\r\n```"},"comment":{"url":"https://api.github.com/repos/npm/npm/issues/comments/105440250","html_url":"https://github.com/npm/npm/issues/5542#issuecomment-105440250","issue_url":"https://api.github.com/repos/npm/npm/issues/5542","id":105440250,"user":{"login":"larshaupthansen","id":3541192,"avatar_url":"https://avatars.githubusercontent.com/u/3541192?v=3","gravatar_id":"","url":"https://api.github.com/users/larshaupthansen","html_url":"https://github.com/larshaupthansen","followers_url":"https://api.github.com/users/larshaupthansen/followers","following_url":"https://api.github.com/users/larshaupthansen/following{/other_user}","gists_url":"https://api.github.com/users/larshaupthansen/gists{/gist_id}","starred_url":"https://api.github.com/users/larshaupthansen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/larshaupthansen/subscriptions","organizations_url":"https://api.github.com/users/larshaupthansen/orgs","repos_url":"https://api.github.com/users/larshaupthansen/repos","events_url":"https://api.github.com/users/larshaupthansen/events{/privacy}","received_events_url":"https://api.github.com/users/larshaupthansen/received_events","type":"User","site_admin":false},"created_at":"2015-05-26T08:18:13Z","updated_at":"2015-05-26T08:18:13Z","body":"I solved the issue by updating npm to version 2.10.1 (using https://github.com/npm/npm/wiki/Troubleshooting#upgrading-on-windows)"}}