{"action":"opened","issue":{"url":"https://api.github.com/repos/yeoman/generator-generator/issues/147","repository_url":"https://api.github.com/repos/yeoman/generator-generator","labels_url":"https://api.github.com/repos/yeoman/generator-generator/issues/147/labels{/name}","comments_url":"https://api.github.com/repos/yeoman/generator-generator/issues/147/comments","events_url":"https://api.github.com/repos/yeoman/generator-generator/issues/147/events","html_url":"https://github.com/yeoman/generator-generator/issues/147","id":135354936,"number":147,"title":"Issue in installing generator-generator - EPERM error","user":{"login":"Divyahb","id":14218189,"avatar_url":"https://avatars.githubusercontent.com/u/14218189?v=3","gravatar_id":"","url":"https://api.github.com/users/Divyahb","html_url":"https://github.com/Divyahb","followers_url":"https://api.github.com/users/Divyahb/followers","following_url":"https://api.github.com/users/Divyahb/following{/other_user}","gists_url":"https://api.github.com/users/Divyahb/gists{/gist_id}","starred_url":"https://api.github.com/users/Divyahb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Divyahb/subscriptions","organizations_url":"https://api.github.com/users/Divyahb/orgs","repos_url":"https://api.github.com/users/Divyahb/repos","events_url":"https://api.github.com/users/Divyahb/events{/privacy}","received_events_url":"https://api.github.com/users/Divyahb/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-02-22T08:51:07Z","updated_at":"2016-02-22T08:51:07Z","closed_at":null,"body":"I am unable to install generator-generator in my Windows7 32bit machine. I tried several times, by using several methods, which were of no use to me.\r\n\r\n\r\nD:\\YeomanGenerator\\NodeFullStack>npm install -g generator-generator\r\n\r\n> spawn-sync@1.0.15 postinstall C:\\Users\\772466\\AppData\\Roaming\\npm\\node_modules\r\n\\generator-generator\\node_modules\\yeoman-generator\\node_modules\\cross-spawn\\node\r\n_modules\\spawn-sync\r\n> node postinstall\r\n\r\n\r\n> spawn-sync@1.0.15 postinstall C:\\Users\\772466\\AppData\\Roaming\\npm\\node_modules\r\n\\generator-generator\\node_modules\\generator-node\\node_modules\\yeoman-generator\\n\r\node_modules\\cross-spawn\\node_modules\\spawn-sync\r\n> node postinstall\r\n\r\nnpm ERR! Windows_NT 6.1.7601\r\nnpm ERR! argv \"C:\\\\Program Files\\\\nodejs\\\\node.exe\" \"C:\\\\Program Files\\\\nodejs\\\\\r\nnode_modules\\\\npm\\\\bin\\\\npm-cli.js\" \"install\" \"-g\" \"generator-generator\"\r\nnpm ERR! node v4.2.2\r\nnpm ERR! npm  v2.14.7\r\nnpm ERR! path D:\\npm-cache\\hosted-git-info\\2.1.4\\package\\package.json.8df1239cb2\r\n953f1f90ac646b45289ad5\r\nnpm ERR! code EPERM\r\nnpm ERR! errno -4048\r\nnpm ERR! syscall rename\r\n\r\nnpm ERR! Error: EPERM: operation not permitted, rename 'D:\\npm-cache\\hosted-git-\r\ninfo\\2.1.4\\package\\package.json.8df1239cb2953f1f90ac646b45289ad5' -> 'D:\\npm-cac\r\nhe\\hosted-git-info\\2.1.4\\package\\package.json'\r\nnpm ERR!     at Error (native)\r\nnpm ERR!  { [Error: EPERM: operation not permitted, rename 'D:\\npm-cache\\hosted-\r\ngit-info\\2.1.4\\package\\package.json.8df1239cb2953f1f90ac646b45289ad5' -> 'D:\\npm\r\n-cache\\hosted-git-info\\2.1.4\\package\\package.json']\r\nnpm ERR!   errno: -4048,\r\nnpm ERR!   code: 'EPERM',\r\nnpm ERR!   syscall: 'rename',\r\nnpm ERR!   path: 'D:\\\\npm-cache\\\\hosted-git-info\\\\2.1.4\\\\package\\\\package.json.8\r\ndf1239cb2953f1f90ac646b45289ad5',\r\nnpm ERR!   dest: 'D:\\\\npm-cache\\\\hosted-git-info\\\\2.1.4\\\\package\\\\package.json',\r\n\r\nnpm ERR!   parent: 'normalize-package-data' }\r\nnpm ERR!\r\nnpm ERR! Please try running this command again as root/Administrator.\r\n\r\nnpm ERR! Please include the following file with any support request:\r\nnpm ERR!     D:\\YeomanGenerator\\NodeFullStack\\npm-debug.log\r\n\r\n\r\nNo other modules I installed using npm has forced me to run the command with root privileges. Why is it happening? Is it mandatory that I have to be a root user to install this module?"}}