isaacs/npm — Issue #2223: Couldn't unpack, EPERM, operation not permitted, windows 7
Author: jangid
Created: 2012-03-03 13:29:08+00:00
State: open

I have installed latest node 0.6.12; npm 1.1.4 is shipped with it. I am running windows 7. Getting the following error when installing mongoose and express.

```
npm http GET https://registry.npmjs.org/mongoose/2.5.9
npm http GET https://registry.npmjs.org/express/2.5.8
npm http 200 https://registry.npmjs.org/express/2.5.8
npm http 200 https://registry.npmjs.org/mongoose/2.5.9
npm http GET https://registry.npmjs.org/express/-/express-2.5.8.tgz
npm http GET https://registry.npmjs.org/mongoose/-/mongoose-2.5.9.tgz
npm http 200 https://registry.npmjs.org/express/-/express-2.5.8.tgz
npm http 200 https://registry.npmjs.org/mongoose/-/mongoose-2.5.9.tgz
npm ERR! couldn't unpack C:\Users\pankajj\AppData\Local\Temp\npm-1330777103347\1
330777103347-0.7317494265735149\tmp.tgz to C:\Users\pankajj\AppData\Local\Temp\n
pm-1330777103347\1330777103347-0.7317494265735149

npm ERR! Error: EPERM, operation not permitted 'C:\Users\pankajj\AppData\Local\T
emp\npm-1330777103347\1330777103347-0.7317494265735149\___package.npm\package'
npm ERR!
npm ERR! Please try running this command again as root/Administrator.
npm ERR!
npm ERR! System Windows_NT 6.1.7600
npm ERR! command "C:\\Program Files (x86)\\nodejs\\\\node.exe" "C:\\Program File
s (x86)\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install"
npm ERR! cwd D:\work\wise
npm ERR! node -v v0.6.12
npm ERR! npm -v 1.1.4
npm ERR! path C:\Users\pankajj\AppData\Local\Temp\npm-1330777103347\133077710334
7-0.7317494265735149\___package.npm\package
npm ERR! code EPERM
npm ERR! message EPERM, operation not permitted 'C:\Users\pankajj\AppData\Local\
Temp\npm-1330777103347\1330777103347-0.7317494265735149\___package.npm\package'
npm ERR! errno {}
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! D:\work\wise\npm-debug.log
npm not ok
```

Regards
Pankaj