Skip to content

Move fails to install via NPM on Mac OS X #20

Open
stephenallred opened this Issue Mar 24, 2012 · 2 comments

3 participants

@stephenallred
info it worked if it ends with ok
verbose cli [ 'node', '/usr/local/bin/npm', 'install', '-g', 'move' ]
info using npm@1.1.12
info using node@v0.6.13
verbose /usr/local/bin/node node symlink
verbose config file /Users/stephenallred/.npmrc
verbose config file /usr/local/etc/npmrc
verbose config file /usr/local/lib/node_modules/npm/npmrc
verbose cache add [ 'move', null ]
silly cache add: name, spec, args [ undefined, 'move', [ 'move', null ] ]
verbose parsed url { pathname: 'move', path: 'move', href: 'move' }
verbose addNamed [ 'move', '' ]
verbose addNamed [ null, '' ]
silly name, range, hasData [ 'move', '', false ]
verbose raw, before any munging move
verbose url resolving [ 'https://registry.npmjs.org/', './move' ]
verbose url resolved https://registry.npmjs.org/move
verbose etag "2GSBFIPS0LB8BINUBZL0FWITC"
http GET https://registry.npmjs.org/move
http 304 https://registry.npmjs.org/move
silly get cb [ 304,
silly get cb   { server: 'CouchDB/1.2.0 (Erlang OTP/R15B)',
silly get cb     etag: '"2GSBFIPS0LB8BINUBZL0FWITC"',
silly get cb     date: 'Sat, 24 Mar 2012 12:31:46 GMT',
silly get cb     'content-length': '0' } ]
verbose etag move from cache
silly name, range, hasData 2 [ 'move', '', true ]
silly versions [ 'move',
silly versions   [ '0.0.1',
silly versions     '0.0.2',
silly versions     '0.1.0',
silly versions     '0.1.1',
silly versions     '0.1.2',
silly versions     '0.1.3',
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.3.0',
silly versions     '0.3.1',
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' ] ]
verbose bin dist [ '0.6-ares1.7.5-DEV-evundefined-openssl0.9.8r-v83.6.6.24-darwin-x64-11.3.0',
verbose bin dist   { shasum: '3cf156a8234c3ceca90f2310f7765c75862a39f6',
verbose bin dist     tarball: 'http://registry.npmjs.org/move/-/move-0.4.5.tgz' } ]
verbose addRemoteTarball [ 'https://registry.npmjs.org/move/-/move-0.4.5.tgz',
verbose addRemoteTarball   '3cf156a8234c3ceca90f2310f7765c75862a39f6' ]
verbose mkdir (expected) error ENOENT, stat '/var/folders/rf/l9tm9hxn4k16qsmbkxj1r5hm0000gn/T/npm-1332592305684'
verbose mkdir (expected) error ENOENT, stat '/var/folders/rf/l9tm9hxn4k16qsmbkxj1r5hm0000gn/T/npm-1332592305684/1332592305684-0.21077731158584356'
verbose mkdir done: /var/folders/rf/l9tm9hxn4k16qsmbkxj1r5hm0000gn/T/npm-1332592305684/1332592305684-0.21077731158584356 755
verbose fetch to /var/folders/rf/l9tm9hxn4k16qsmbkxj1r5hm0000gn/T/npm-1332592305684/1332592305684-0.21077731158584356/tmp.tgz
http GET https://registry.npmjs.org/move/-/move-0.4.5.tgz
http 200 https://registry.npmjs.org/move/-/move-0.4.5.tgz
silly updated sha bytes 40960
silly updated sha bytes 40960
silly updated sha bytes 40960
silly updated sha bytes 40960
silly updated sha bytes 40960
silly updated sha bytes 40960
silly updated sha bytes 40960
silly updated sha bytes 40960
silly updated sha bytes 40960
silly updated sha bytes 40960
silly updated sha bytes 40960
silly updated sha bytes 40960
silly updated sha bytes 40960
silly updated sha bytes 40960
silly updated sha bytes 40960
silly updated sha bytes 40960
silly updated sha bytes 40960
silly updated sha bytes 40960
silly updated sha bytes 40960
silly updated sha bytes 40960
silly updated sha bytes 40960
silly updated sha bytes 40960
silly updated sha bytes 40960
silly updated sha bytes 40960
silly updated sha bytes 40960
silly updated sha bytes 40960
silly updated sha bytes 40960
silly updated sha bytes 40960
silly updated sha bytes 40960
silly updated sha bytes 40960
silly updated sha bytes 40960
silly updated sha bytes 10240
info shasum 3cf156a8234c3ceca90f2310f7765c75862a39f6
info shasum /var/folders/rf/l9tm9hxn4k16qsmbkxj1r5hm0000gn/T/npm-1332592305684/1332592305684-0.21077731158584356/tmp.tgz
verbose mkdir (expected) error ENOENT, stat '/var/folders/rf/l9tm9hxn4k16qsmbkxj1r5hm0000gn/T/npm-1332592305684/1332592305684-0.21077731158584356/package'
verbose mkdir done: /var/folders/rf/l9tm9hxn4k16qsmbkxj1r5hm0000gn/T/npm-1332592305684/1332592305684-0.21077731158584356/package 755
verbose unpack_ uid, gid [ undefined, undefined ]
verbose unpackTarget /var/folders/rf/l9tm9hxn4k16qsmbkxj1r5hm0000gn/T/npm-1332592305684/1332592305684-0.21077731158584356/package
silly gunzTarPerm modes [ '755', '644' ]
WARN excluding symbolic link package.json -> web/_includes/package.json
verbose gunzed /var/folders/rf/l9tm9hxn4k16qsmbkxj1r5hm0000gn/T/npm-1332592305684/1332592305684-0.21077731158584356/package
ERR! Error: ENOENT, open '/var/folders/rf/l9tm9hxn4k16qsmbkxj1r5hm0000gn/T/npm-1332592305684/1332592305684-0.21077731158584356/package/package.json'
ERR! You may report this log at:
ERR!     <http://github.com/isaacs/npm/issues>
ERR! or email it to:
ERR!     <npm-@googlegroups.com>
ERR! 
ERR! System Darwin 11.3.0
ERR! command "node" "/usr/local/bin/npm" "install" "-g" "move"
ERR! cwd /Users/stephenallred
ERR! node -v v0.6.13
ERR! npm -v 1.1.12
ERR! path /var/folders/rf/l9tm9hxn4k16qsmbkxj1r5hm0000gn/T/npm-1332592305684/1332592305684-0.21077731158584356/package/package.json
ERR! code ENOENT
ERR! message ENOENT, open '/var/folders/rf/l9tm9hxn4k16qsmbkxj1r5hm0000gn/T/npm-1332592305684/1332592305684-0.21077731158584356/package/package.json'
ERR! errno {}
verbose exit [ 1, true ]

On OS X v10.7.3, node v0.6.13 and npm v1.1.12.

@panta
panta commented Mar 30, 2012

This is caused by package.json being a symlink. I'm going to issue a pull request for a fix (see panta/move@7fa04c9).

@panta panta referenced this issue Mar 30, 2012
Closed

Fix for issue #20 #21

@jiyinyiyong

failed on Ubuntu 12.04, node v0.8.8 , move 0.4.5
my first attempt to try move ToT

sudo npm install -g move --verbose
npm info it worked if it ends with ok
npm verb cli [ 'nodejs', '/usr/bin/npm', 'install', '-g', 'move', '--verbose' ]
npm info using npm@1.1.59
npm info using node@v0.8.8
npm verb read json /usr/lib/package.json
npm verb read json /usr/lib/package.json
npm verb cache add [ 'move', null ]
npm verb parsed url { pathname: 'move', path: 'move', href: 'move' }
npm verb lock move /home/chen/.npm/379d6ce9-move.lock
npm verb addNamed [ 'move', '' ]
npm verb addNamed [ null, '' ]
npm verb lock move@ /home/chen/.npm/190297e2-move.lock
npm verb url raw move
npm verb url resolving [ 'http://registry.npmjs.vitecho.com/', './move' ]
npm verb url resolved http://registry.npmjs.vitecho.com/move
npm info retry registry request attempt 1 at 11:06:07
npm verb etag "2H3P9SBVZ2FGGW6BRA2LYXS37"
npm http GET http://registry.npmjs.vitecho.com/move
npm http 304 http://registry.npmjs.vitecho.com/move
npm verb etag move from cache
npm verb addNamed [ 'move', '0.4.5' ]
npm verb addNamed [ '0.4.5', '0.4.5' ]
npm verb lock move@0.4.5 /home/chen/.npm/e1ee80be-move-0-4-5.lock
npm verb lock http://registry.npmjs.vitecho.com/move/-/move-0.4.5.tgz /home/chen/.npm/fe66a40b--vitecho-com-move-move-0-4-5-tgz.lock
npm verb addRemoteTarball [ 'http://registry.npmjs.vitecho.com/move/-/move-0.4.5.tgz',
npm verb addRemoteTarball   '3cf156a8234c3ceca90f2310f7765c75862a39f6' ]
npm info retry fetch attempt 1 at 11:06:08
npm verb fetch to= /home/chen/tmp/npm-19778/1346209568020-0.41771370079368353/tmp.tgz
npm http GET http://registry.npmjs.vitecho.com/move/-/move-0.4.5.tgz
npm http 200 http://registry.npmjs.vitecho.com/move/-/move-0.4.5.tgz
npm info shasum 3cf156a8234c3ceca90f2310f7765c75862a39f6
npm info shasum /home/chen/tmp/npm-19778/1346209568020-0.41771370079368353/tmp.tgz
npm verb tar unpack /home/chen/tmp/npm-19778/1346209568020-0.41771370079368353/tmp.tgz
npm verb lock /home/chen/tmp/npm-19778/1346209568020-0.41771370079368353/package /home/chen/.npm/fa92d8ad-8020-0-41771370079368353-package.lock
npm WARN excluding symbolic link package.json -> web/_includes/package.json
npm verb read json /home/chen/tmp/npm-19778/1346209568020-0.41771370079368353/package/package.json
npm ERR! Error: ENOENT, open '/home/chen/tmp/npm-19778/1346209568020-0.41771370079368353/package/package.json'
npm ERR! If you need help, you may report this log at:
npm ERR!     <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR!     <npm-@googlegroups.com>

npm ERR! System Linux 3.2.0-29-generic-pae
npm ERR! command "nodejs" "/usr/bin/npm" "install" "-g" "move" "--verbose"
npm ERR! cwd /home/chen/tmp
npm ERR! node -v v0.8.8
npm ERR! npm -v 1.1.59
npm ERR! path /home/chen/tmp/npm-19778/1346209568020-0.41771370079368353/package/package.json
npm ERR! code ENOENT
npm ERR! errno 34
npm verb exit [ 34, true ]
npm ERR! 
npm ERR! Additional logging details can be found in:
npm ERR!     /home/chen/tmp/npm-debug.log
npm ERR! not ok code 0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.