isaacs/npm — Issue #2104: Bug report
Author: tokart
Created: 2012-01-30 11:42:14+00:00
State: open

---- Begin output of npm install canvas ----
STDOUT:
STDERR: npm ERR! error installing canvas@0.10.0 Error: ENOENT, No such file or directory '/home/vagrant/dev/nodeproject/node_modules/canvas/package.json'
npm ERR! error rolling back canvas@0.10.0 Error: ENOTEMPTY, Directory not empty '/home/vagrant/dev/nodeproject/node_modules/canvas'
npm ERR! Error: ENOENT, No such file or directory '/home/vagrant/dev/nodeproject/node_modules/canvas/package.json'
npm ERR! Report this *entire* log at:
npm ERR!
npm ERR! or email it to:
npm ERR!
npm ERR!
npm ERR! System Linux 2.6.38-8-generic-pae
npm ERR! command "node" "/usr/local/bin/npm" "install" "canvas"
npm ERR! cwd /home/vagrant/dev/nodeproject
npm ERR! node -v v0.4.3
npm ERR! npm -v 1.0.105
npm ERR! path /home/vagrant/dev/nodeproject/node_modules/canvas/package.json
npm ERR! code ENOENT
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/vagrant/dev/nodeproject/npm-debug.log
npm not ok
---- End output of npm install canvas ----
Ran npm install canvas returned 1

Actually, all the files exist but npm fails to build the module.