cretz/node-tds — Issue #13: Install without root privileges (via npm)?
Author: joshuajabbour
Created: 2012-02-14 18:40:41+00:00
State: open

When attempting to install via npm, I get a notice that I must sudo. This doesn't seem to be an issue with many other packages (including tedious) I've attempted to install. Is there a particular reason or requirement for this?

```shell
x[~/code/api][master*] npm install tds
npm http GET https://registry.npmjs.org/tds
npm http 304 https://registry.npmjs.org/tds
npm http GET https://registry.npmjs.org/tds/-/tds-0.1.0.tgz
npm http 200 https://registry.npmjs.org/tds/-/tds-0.1.0.tgz

npm ERR! Error: EACCES, permission denied '/var/folders/1v/9sct3dbs0n92g7ht7yq4b_r40000gn/T/npm-1329244515838/1329244515838-0.6056851393077523/___package.npm/package/lib/altmetadata.token.js'
npm ERR!
npm ERR! Please try running this command again as root/Administrator.
npm ERR!
npm ERR! System Darwin 11.2.0
npm ERR! command "node" "/usr/local/bin/npm" "install" "tds"
npm ERR! cwd /Users/werk/code/api
npm ERR! node -v v0.6.10
npm ERR! npm -v 1.1.1
npm ERR! path /var/folders/1v/9sct3dbs0n92g7ht7yq4b_r40000gn/T/npm-1329244515838/1329244515838-0.6056851393077523/___package.npm/package/lib/altmetadata.token.js
npm ERR! code EACCES
npm ERR! message EACCES, permission denied '/var/folders/1v/9sct3dbs0n92g7ht7yq4b_r40000gn/T/npm-1329244515838/1329244515838-0.6056851393077523/___package.npm/package/lib/altmetadata.token.js'
npm ERR! errno {}
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /Users/werk/code/api/npm-debug.log
npm not ok
```