{"action":"opened","issue":{"url":"https://api.github.com/repos/npm/npm/issues/7177","labels_url":"https://api.github.com/repos/npm/npm/issues/7177/labels{/name}","comments_url":"https://api.github.com/repos/npm/npm/issues/7177/comments","events_url":"https://api.github.com/repos/npm/npm/issues/7177/events","html_url":"https://github.com/npm/npm/issues/7177","id":54894454,"number":7177,"title":"Error installing bower on Windows server 2012","user":{"login":"Thomaspunt","id":2996457,"avatar_url":"https://avatars.githubusercontent.com/u/2996457?v=3","gravatar_id":"","url":"https://api.github.com/users/Thomaspunt","html_url":"https://github.com/Thomaspunt","followers_url":"https://api.github.com/users/Thomaspunt/followers","following_url":"https://api.github.com/users/Thomaspunt/following{/other_user}","gists_url":"https://api.github.com/users/Thomaspunt/gists{/gist_id}","starred_url":"https://api.github.com/users/Thomaspunt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Thomaspunt/subscriptions","organizations_url":"https://api.github.com/users/Thomaspunt/orgs","repos_url":"https://api.github.com/users/Thomaspunt/repos","events_url":"https://api.github.com/users/Thomaspunt/events{/privacy}","received_events_url":"https://api.github.com/users/Thomaspunt/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-01-20T15:13:56Z","updated_at":"2015-01-20T15:13:56Z","closed_at":null,"body":"Hi,\r\n\r\nI came across some errors after trying to install bower with NPM (2.2.0) on Windows server 2012. Git and Node are installed, also because of the company firewall I've configured git to use https:// instead of git:// as described here: http://jgoodall.me/posts/2013/05/29/git-use-https/\r\n\r\nSo this is what happens after typing npm install bower -g: \r\n\r\n![error2](https://cloud.githubusercontent.com/assets/2996457/5819498/a4670cfc-a0be-11e4-96d0-c9abe3d23e55.PNG)\r\n\r\nI've also tried to remove user after reading this thread: https://github.com/npm/npm/issues/7133\r\nPlease advise, thank you! \r\n\r\n0 info it worked if it ends with ok\r\n1 verbose cli [ 'C:\\\\Program Files\\\\nodejs\\\\\\\\node.exe',\r\n1 verbose cli   'C:\\\\Program Files\\\\nodejs\\\\node_modules\\\\npm\\\\bin\\\\npm-cli.js',\r\n1 verbose cli   'install',\r\n1 verbose cli   'bower',\r\n1 verbose cli   '-g' ]\r\n2 info using npm@2.2.0\r\n3 info using node@v0.10.35\r\n4 verbose node symlink C:\\Program Files\\nodejs\\\\node.exe\r\n5 silly cache add args [ 'bower', null ]\r\n6 verbose cache add spec bower\r\n7 silly cache add parsed spec { raw: 'bower',\r\n7 silly cache add   scope: null,\r\n7 silly cache add   name: 'bower',\r\n7 silly cache add   rawSpec: '',\r\n7 silly cache add   spec: '*',\r\n7 silly cache add   type: 'range' }\r\n8 verbose addNamed bower@*\r\n9 silly addNamed semver.valid null\r\n10 silly addNamed semver.validRange *\r\n11 silly addNameRange { name: 'bower', range: '*', hasData: false }\r\n12 silly mapToRegistry name bower\r\n13 silly mapToRegistry using default registry\r\n14 silly mapToRegistry registry https://registry.npmjs.org/\r\n15 silly mapToRegistry uri https://registry.npmjs.org/bower\r\n16 verbose addNameRange registry:https://registry.npmjs.org/bower not in flight; fetching\r\n17 verbose request uri https://registry.npmjs.org/bower\r\n18 verbose request no auth needed\r\n19 info attempt registry request try #1 at 14:54:28\r\n20 verbose request id 7103ea323827e24d\r\n21 http request GET https://registry.npmjs.org/bower\r\n22 http 200 https://registry.npmjs.org/bower\r\n23 silly get cb [ 200,\r\n23 silly get   { date: 'Tue, 20 Jan 2015 13:54:29 GMT',\r\n23 silly get     server: 'CouchDB/1.5.0 (Erlang OTP/R16B03)',\r\n23 silly get     etag: '\"BM4XOUYLXN0EGW9Q6SWUA1ZLW\"',\r\n23 silly get     'content-type': 'application/json',\r\n23 silly get     'cache-control': 'max-age=60',\r\n23 silly get     'content-length': '106041',\r\n23 silly get     'accept-ranges': 'bytes',\r\n23 silly get     via: '1.1 varnish',\r\n23 silly get     age: '0',\r\n23 silly get     'x-served-by': 'cache-ams4148-AMS',\r\n23 silly get     'x-cache': 'HIT',\r\n23 silly get     'x-cache-hits': '1',\r\n23 silly get     'x-timer': 'S1421762068.964560,VS0,VE385',\r\n23 silly get     vary: 'Accept',\r\n23 silly get     'keep-alive': 'timeout=10, max=50',\r\n23 silly get     connection: 'Keep-Alive' } ]\r\n24 verbose getCacheStat cache creation not in flight; initializing\r\n25 verbose stack TypeError: uid must be an unsigned int\r\n25 verbose stack     at Object.fs.chown (fs.js:865:11)\r\n25 verbose stack     at C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\chownr\\chownr.js:12:43\r\n25 verbose stack     at Object.oncomplete (fs.js:108:15)\r\n26 verbose cwd C:\\Program Files\\nodejs\r\n27 error Windows_NT 6.2.9200\r\n28 error argv \"C:\\\\Program Files\\\\nodejs\\\\\\\\node.exe\" \"C:\\\\Program Files\\\\nodejs\\\\node_modules\\\\npm\\\\bin\\\\npm-cli.js\" \"install\" \"bower\" \"-g\"\r\n29 error node v0.10.35\r\n30 error npm  v2.2.0\r\n31 error uid must be an unsigned int\r\n32 error If you need help, you may report this error at:\r\n32 error     <http://github.com/npm/npm/issues>\r\n33 verbose exit [ 1, true ]\r\n\r\n"}}