isaacs/npm — Issue #1567: ENOENTEMPTY when installing local packages
Author: cabbiepete
Created: 2011-10-18 23:17:31+00:00
State: open

This is the console

npm ERR! error installing underscore@1.1.7 Error: ENOENT, No such file or directory '/vagrant/transact/checker/node_modules/underscore/package.json'
npm ERR! error installing ini@1.0.1 Error: ENOENT, No such file or directory '/vagrant/transact/checker/node_modules/ini/package.json'
npm ERR! error rolling back underscore@1.1.7 Error: ENOTEMPTY, Directory not empty '/vagrant/transact/checker/node_modules/underscore'
npm ERR! Error: ENOENT, No such file or directory '/vagrant/transact/checker/node_modules/underscore/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.39-bpo.2-amd64
npm ERR! command "node" "/usr/local/nvm/v0.4.11/bin/npm" "install"
npm ERR! cwd /vagrant/transact/checker
npm ERR! node -v v0.4.11
npm ERR! npm -v 1.0.99
npm ERR! path /vagrant/transact/checker/node_modules/underscore/package.json
npm ERR! code ENOENT
npm ERR! error installing daemon@0.3.0 Error: ENOENT, No such file or directory '/vagrant/transact/checker/node_modules/daemon/package.json'
npm ERR! error rolling back ini@1.0.1 Error: ENOTEMPTY, Directory not empty '/vagrant/transact/checker/node_modules/ini'
npm ERR! error installing retry@0.4.0 Error: ENOENT, No such file or directory '/vagrant/transact/checker/node_modules/retry/package.json'
npm ERR! error rolling back daemon@0.3.0 Error: ENOTEMPTY, Directory not empty '/vagrant/transact/checker/node_modules/daemon'
npm ERR! error rolling back retry@0.4.0 Error: ENOTEMPTY, Directory not empty '/vagrant/transact/checker/node_modules/retry'
npm ERR! error installing mysql@0.9.2 Error: ENOENT, No such file or directory '/vagrant/transact/checker/node_modules/mysql/package.json'
npm ERR! error rolling back mysql@0.9.2 Error: ENOTEMPTY, Directory not empty '/vagrant/transact/checker/node_modules/mysql'
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /vagrant/transact/checker/npm-debug.log
npm not ok

The directories and package.json files do exist. The base package.json file is

{
"name": "transact-checker"
, "version": "0.0.1"
, "private": true
, "description": "A Bitcoin transaction status check/updater"
, "keywords": "mysql, bitcoin, bitpal"
, "author": {
"name": "Peter Simmons",
"email": "cabbiepete@gmail.com"
}
, "main": "app.js"
, "dependencies": {
"mysql": "0.9.2"
, "daemon":"0.3.0"
, "ini":"1.0.1"
, "underscore": "1.1.7"
, "retry": "0.4.0"
}
, "engines": {"node": "~0.4"}
, "scripts": {
"start": "node app.js start"
, "stop": "node app.js stop"
, "test": "node node_modules/expresso/bin/expresso"
}
}