brunch/brunch — Issue #205: Install failed
Author: sprugman
Created: 2012-02-26 14:42:36+00:00
State: open

Just installed node to try this out.

````
> cd ~/Sites
> npm install -g brunch

npm http GET https://registry.npmjs.org/brunch
npm http 304 https://registry.npmjs.org/brunch
npm ERR! Could not create /usr/local/lib/node_modules/___brunch.npm
npm ERR! error installing brunch@0.9.1

npm ERR! Error: EACCES, permission denied '/usr/local/lib/node_modules/___brunch.npm'
npm ERR!
npm ERR! Please try running this command again as root/Administrator.
npm ERR!
npm ERR! System Darwin 11.3.0
npm ERR! command "node" "/usr/local/bin/npm" "install" "-g" "brunch"
npm ERR! cwd /Users/micah/Sites
npm ERR! node -v v0.6.11
npm ERR! npm -v 1.1.1
npm ERR! path /usr/local/lib/node_modules/___brunch.npm
npm ERR! code EACCES
npm ERR! message EACCES, permission denied '/usr/local/lib/node_modules/___brunch.npm'
npm ERR! errno {}
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /Users/sprugman/Sites/npm-debug.log
npm not ok
````

here's the full log:

````

info it worked if it ends with ok
verbose cli [ 'node', '/usr/local/bin/npm', 'install', '-g', 'brunch' ]
info using npm@1.1.1
info using node@v0.6.11
verbose config file /Users/sprugman/.npmrc
verbose config file /usr/local/etc/npmrc
verbose config file /usr/local/lib/node_modules/npm/npmrc
verbose cache add [ 'brunch', null ]
silly cache add: name, spec, args [ undefined, 'brunch', [ 'brunch', null ] ]
verbose parsed url { pathname: 'brunch', path: 'brunch', href: 'brunch' }
verbose addNamed [ 'brunch', '' ]
verbose addNamed [ null, '' ]
silly name, range, hasData [ 'brunch', '', false ]
verbose raw, before any munging brunch
verbose url resolving [ 'https://registry.npmjs.org/', './brunch' ]
verbose url resolved https://registry.npmjs.org/brunch
verbose etag "EJ8H7150VPVBKZ8T8ZE1GII22"
http GET https://registry.npmjs.org/brunch
http 304 https://registry.npmjs.org/brunch
silly get cb [ 304,
silly get cb { server: 'CouchDB/1.1.0 (Erlang OTP/R14B04)',
silly get cb etag: '"EJ8H7150VPVBKZ8T8ZE1GII22"',
silly get cb date: 'Sun, 26 Feb 2012 14:38:46 GMT',
silly get cb 'content-length': '0' } ]
verbose etag brunch from cache
silly name, range, hasData 2 [ 'brunch', '', true ]
silly versions [ 'brunch',
silly versions [ '0.0.1',
silly versions '0.0.2',
silly versions '0.0.3',
silly versions '0.0.4',
silly versions '0.0.5',
silly versions '0.0.6',
silly versions '0.0.7',
silly versions '0.0.8',
silly versions '0.1.0',
silly versions '0.1.1',
silly versions '0.1.3',
silly versions '0.1.4',
silly versions '0.1.5',
silly versions '0.1.6',
silly versions '0.1.7',
silly versions '0.1.8',
silly versions '0.1.9',
silly versions '0.2.0',
silly versions '0.2.1',
silly versions '0.2.2',
silly versions '0.2.3',
silly versions '0.2.4',
silly versions '0.2.6',
silly versions '0.2.7',
silly versions '0.2.8',
silly versions '0.3.0',
silly versions '0.3.1',
silly versions '0.3.2',
silly versions '0.3.4',
silly versions '0.3.5',
silly versions '0.3.6',
silly versions '0.3.7',
silly versions '0.4.0',
silly versions '0.4.1',
silly versions '0.4.2',
silly versions '0.4.3',
silly versions '0.4.4',
silly versions '0.4.5',
silly versions '0.5.1',
silly versions '0.5.2',
silly versions '0.5.3',
silly versions '0.5.4',
silly versions '0.5.5',
silly versions '0.5.6',
silly versions '0.6.0',
silly versions '0.6.1',
silly versions '0.6.2',
silly versions '0.7.0',
silly versions '0.7.1',
silly versions '0.7.2',
silly versions '0.7.3',
silly versions '0.7.4',
silly versions '0.8.0',
silly versions '0.8.1',
silly versions '0.9.0-beta1',
silly versions '0.9.0',
silly versions '0.9.1' ] ]
verbose bin dist [ '0.6-ares1.7.5-DEV-evundefined-openssl0.9.8r-v83.6.6.20-darwin-ia32-11.3.0',
verbose bin dist { shasum: '3ddbfefc253ab2188d73c39c764cb5d5bee2bf9e',
verbose bin dist tarball: 'http://registry.npmjs.org/brunch/-/brunch-0.9.1.tgz' } ]
verbose caching /Users/sprugman/.npm/brunch/0.9.1/package/package.json
verbose loadDefaults brunch@0.9.1
silly resolved [ { name: 'brunch',
silly resolved description: 'A lightweight approach to building HTML5 applications with emphasis on elegance and simplicity',
silly resolved version: '0.9.1',
silly resolved keywords:
silly resolved [ 'backbone',
silly resolved 'coffeescript',
silly resolved 'jst',
silly resolved 'jquery',
silly resolved 'zepto',
silly resolved 'framework',
silly resolved 'brunch',
silly resolved 'stylus',
silly resolved 'eco',
silly resolved 'underscore' ],
silly resolved homepage: 'http://brunch.io/',
silly resolved author: { name: 'Brunch team', url: 'http://brunch.io' },
silly resolved repository: { type: 'git', url: 'git://github.com/brunch/brunch.git' },
silly resolved bugs: { url: 'http://github.com/brunch/brunch/issues' },
silly resolved licenses:
silly resolved [ { type: 'MIT',
silly resolved url: 'http://github.com/brunch/brunch/raw/master/LICENSE' } ],
silly resolved main: './lib/brunch',
silly resolved bin: { brunch: './bin/brunch' },
silly resolved scripts:
silly resolved { prepublish: 'coffee -o lib/ src/',
silly resolved test: './node_modules/mocha/bin/mocha --reporter spec' },
silly resolved engines: { node: '~0.6.6' },
silly resolved dependencies:
silly resolved { 'coffee-script': '1.2.0',
silly resolved argumentum: '0.5.0',
silly resolved async: '0.1.15',
silly resolved mkdirp: '0.2.1',
silly resolved growl: '1.4.1',
silly resolved express: '2.5.1' },
silly resolved devDependencies: { mocha: '0.8.0', 'expect.js': '0.1.1', zombie: '0.12.7' },
silly resolved _id: 'brunch@0.9.1',
silly resolved optionalDependencies: {},
silly resolved _engineSupported: true,
silly resolved _npmVersion: '1.1.1',
silly resolved _nodeVersion: 'v0.6.11',
silly resolved _defaultsLoaded: true } ]
info into /usr/local/lib brunch@0.9.1
info installOne brunch@0.9.1
info unbuild /usr/local/lib/node_modules/brunch
verbose from cache /Users/sprugman/.npm/brunch/0.9.1/package/package.json
verbose mkdir (expected) error ENOENT, no such file or directory '/usr/local/lib/node_modules/___brunch.npm'
verbose unpack_ uid, gid [ undefined, undefined ]
verbose unpackTarget /usr/local/lib/node_modules/brunch
ERR! Could not create /usr/local/lib/node_modules/___brunch.npm
ERR! error installing brunch@0.9.1
info unbuild /usr/local/lib/node_modules/brunch
verbose installOne cb brunch@0.9.1
ERR! Error: EACCES, permission denied '/usr/local/lib/node_modules/___brunch.npm'
ERR!
ERR! Please try running this command again as root/Administrator.
ERR!
ERR! System Darwin 11.3.0
ERR! command "node" "/usr/local/bin/npm" "install" "-g" "brunch"
ERR! cwd /Users/sprugman/Sites
ERR! node -v v0.6.11
ERR! npm -v 1.1.1
ERR! path /usr/local/lib/node_modules/___brunch.npm
ERR! code EACCES
ERR! message EACCES, permission denied '/usr/local/lib/node_modules/___brunch.npm'
ERR! errno {}
verbose exit [ 1, true ]
````