isaacs/npm — Issue #1672: 'npm install express' encounter unknown err in a shared folder
Author: xchang
Created: 2011-11-08 10:06:36+00:00
State: open

Hi,
I was trying to install express in a folder shared using vmware fusion 4.0 then encountered the following error. However, if I install express in a normal folder it works fine.

info it worked if it ends with ok
verbose cli [ 'node', '/usr/local/bin/npm', 'install', 'express' ]
info using npm@1.0.104
info using node@v0.6.1-pre
verbose config file /home/chang/.npmrc
verbose config file /usr/local/etc/npmrc
verbose config file /usr/local/lib/node_modules/npm/npmrc
verbose into /mnt/hgfs/Workspace/express_example [ 'express' ]
verbose cache add express
verbose cache add [ 'express', null ]
silly cache add: name, spec, args [ undefined, 'express', [ 'express', null ] ]
verbose parsed url { pathname: 'express', path: 'express', href: 'express' }
info addNamed [ 'express', '' ]
verbose addNamed [ null, '' ]
verbose GET express
verbose raw, before any munging express
verbose url resolving [ 'https://registry.npmjs.org/', './express' ]
verbose url resolved https://registry.npmjs.org/express
verbose etag "DO4GMZE4LSQ1TITR02P0Q5XNJ"
silly get cb [ 304,
silly get cb { server: 'CouchDB/1.1.0 (Erlang OTP/R14B04)',
silly get cb etag: '"DO4GMZE4LSQ1TITR02P0Q5XNJ"',
silly get cb date: 'Tue, 08 Nov 2011 09:56:41 GMT',
silly get cb 'content-length': '0' } ]
verbose etag express from cache
verbose GET express/2.5.0
verbose raw, before any munging express/2.5.0
verbose url resolving [ 'https://registry.npmjs.org/', './express/2.5.0' ]
verbose url resolved https://registry.npmjs.org/express/2.5.0
verbose etag "DO4GMZE4LSQ1TITR02P0Q5XNJ"
silly get cb [ 304,
silly get cb { server: 'CouchDB/1.1.0 (Erlang OTP/R14B04)',
silly get cb etag: '"DO4GMZE4LSQ1TITR02P0Q5XNJ"',
silly get cb date: 'Tue, 08 Nov 2011 09:56:43 GMT',
silly get cb 'content-length': '0' } ]
verbose etag express/2.5.0 from cache
verbose bin dist [ '0.6-ares1.7.5-DEV-evundefined-openssl0.9.8k-v83.6.6.6-linux-ia32-2.6.32-21-generic',
verbose bin dist { shasum: '3f9716eaa0e7380025fbb2c6c9942e3d9c9ed3b9',
verbose bin dist tarball: 'http://registry.npmjs.org/express/-/express-2.5.0.tgz' } ]
silly testEngine { name: 'express',
silly testEngine description: 'Sinatra inspired web development framework',
silly testEngine version: '2.5.0',
silly testEngine author: { name: 'TJ Holowaychuk', email: 'tj@vision-media.ca' },
silly testEngine contributors:
silly testEngine [ { name: 'TJ Holowaychuk', email: 'tj@vision-media.ca' },
silly testEngine { name: 'Aaron Heckmann',
silly testEngine email: 'aaron.heckmann+github@gmail.com' },
silly testEngine { name: 'Ciaran Jessup', email: 'ciaranj@gmail.com' },
silly testEngine { name: 'Guillermo Rauch', email: 'rauchg@gmail.com' } ],
silly testEngine dependencies:
silly testEngine { connect: '1.7.x',
silly testEngine mime: '>= 0.0.1',
silly testEngine qs: '>= 0.3.1',
silly testEngine mkdirp: '0.0.7' },
silly testEngine devDependencies:
silly testEngine { 'connect-form': '0.2.1',
silly testEngine ejs: '0.4.2',
silly testEngine expresso: '0.9.2',
silly testEngine hamljs: '0.5.1',
silly testEngine jade: '0.16.2',
silly testEngine stylus: '0.13.0',
silly testEngine should: '0.3.2',
silly testEngine 'express-messages': '0.0.2',
silly testEngine 'node-markdown': '>= 0.0.1',
silly testEngine 'connect-redis': '>= 0.0.1' },
silly testEngine keywords: [ 'framework', 'sinatra', 'web', 'rest', 'restful' ],
silly testEngine repository: { type: 'git', url: 'git://github.com/visionmedia/express.git' },
silly testEngine main: 'index',
silly testEngine bin: { express: './bin/express' },
silly testEngine scripts: { test: 'make test', prepublish: 'npm prune' },
silly testEngine engines: { node: '>= 0.4.1 < 0.7.0' },
silly testEngine _id: 'express@2.5.0',
silly testEngine _engineSupported: true,
silly testEngine _npmVersion: '1.0.104',
silly testEngine _nodeVersion: 'v0.6.1-pre',
silly testEngine _defaultsLoaded: true }
verbose caching /home/chang/.npm/express/2.5.0/package/package.json
verbose loadDefaults express@2.5.0
silly resolved [ { name: 'express',
silly resolved description: 'Sinatra inspired web development framework',
silly resolved version: '2.5.0',
silly resolved author: { name: 'TJ Holowaychuk', email: 'tj@vision-media.ca' },
silly resolved contributors:
silly resolved [ { name: 'TJ Holowaychuk', email: 'tj@vision-media.ca' },
silly resolved { name: 'Aaron Heckmann',
silly resolved email: 'aaron.heckmann+github@gmail.com' },
silly resolved { name: 'Ciaran Jessup', email: 'ciaranj@gmail.com' },
silly resolved { name: 'Guillermo Rauch', email: 'rauchg@gmail.com' } ],
silly resolved dependencies:
silly resolved { connect: '1.7.x',
silly resolved mime: '>= 0.0.1',
silly resolved qs: '>= 0.3.1',
silly resolved mkdirp: '0.0.7' },
silly resolved devDependencies:
silly resolved { 'connect-form': '0.2.1',
silly resolved ejs: '0.4.2',
silly resolved expresso: '0.9.2',
silly resolved hamljs: '0.5.1',
silly resolved jade: '0.16.2',
silly resolved stylus: '0.13.0',
silly resolved should: '0.3.2',
silly resolved 'express-messages': '0.0.2',
silly resolved 'node-markdown': '>= 0.0.1',
silly resolved 'connect-redis': '>= 0.0.1' },
silly resolved keywords: [ 'framework', 'sinatra', 'web', 'rest', 'restful' ],
silly resolved repository: { type: 'git', url: 'git://github.com/visionmedia/express.git' },
silly resolved main: 'index',
silly resolved bin: { express: './bin/express' },
silly resolved scripts: { test: 'make test', prepublish: 'npm prune' },
silly resolved engines: { node: '>= 0.4.1 < 0.7.0' },
silly resolved _id: 'express@2.5.0',
silly resolved _engineSupported: true,
silly resolved _npmVersion: '1.0.104',
silly resolved _nodeVersion: 'v0.6.1-pre',
silly resolved _defaultsLoaded: true } ]
info into /mnt/hgfs/Workspace/express_example express@2.5.0
info installOne express@2.5.0
info unbuild /mnt/hgfs/Workspace/express_example/node_modules/express
verbose from cache /home/chang/.npm/express/2.5.0/package/package.json
verbose mkdir (expected) error ENOENT, No such file or directory '/mnt/hgfs/Workspace/express_example/node_modules'
verbose mkdir (expected) error ENOENT, No such file or directory '/mnt/hgfs/Workspace/express_example/node_modules/___express.npm'
verbose mkdir done: /mnt/hgfs/Workspace/express_example/node_modules/___express.npm 755
verbose unpack_ uid, gid [ undefined, undefined ]
verbose unpackTarget /mnt/hgfs/Workspace/express_example/node_modules/express
silly gunzTarPerm modes [ '755', '644' ]
silly spawning [ 'tar',
silly spawning [ '-zmvxpf', '/home/chang/.npm/express/2.5.0/package.tgz' ],
silly spawning '/mnt/hgfs/Workspace/express_example/node_modules/___express.npm' ]
silly tar out package/Makefile
silly tar out package/Readme.md
silly tar out package/LICENSE
silly tar out package/History.md
silly tar out package/package.json
silly tar out package/.npmignore
silly tar out package/index.js
silly tar out package/bin/express
silly tar out package/lib/https.js
silly tar out package/lib/utils.js
silly tar out package/lib/http.js
silly tar out package/lib/view.js
silly tar out package/lib/express.js
silly tar out package/lib/response.js
silly tar out package/lib/request.js
silly tar out package/lib/view/view.js
silly tar out package/lib/view/partial.js
silly tar out package/lib/router/route.js
silly tar out package/lib/router/methods.js
silly tar out package/lib/router/collection.js
silly tar out package/lib/router/index.js
silly tar out package/testing/index.js
silly tar out package/testing/public/test.txt
silly tar out package/testing/views/page.html
silly tar out package/testing/views/page.jade
silly tar out package/testing/views/test.md
silly tar out package/testing/views/user/list.jade
silly tar out package/testing/views/user/index.jade
silly asyncMap in gTP /mnt/hgfs/Workspace/express_example/node_modules/___express.npm/package
silly asyncMap in gTP /mnt/hgfs/Workspace/express_example/node_modules/___express.npm/package/.npmignore
silly asyncMap in gTP /mnt/hgfs/Workspace/express_example/node_modules/___express.npm/package/History.md
silly asyncMap in gTP /mnt/hgfs/Workspace/express_example/node_modules/___express.npm/package/index.js
silly asyncMap in gTP /mnt/hgfs/Workspace/express_example/node_modules/___express.npm/package/LICENSE
silly asyncMap in gTP /mnt/hgfs/Workspace/express_example/node_modules/___express.npm/package/Makefile
silly asyncMap in gTP /mnt/hgfs/Workspace/express_example/node_modules/___express.npm/package/package.json
silly asyncMap in gTP /mnt/hgfs/Workspace/express_example/node_modules/___express.npm/package/Readme.md
silly asyncMap in gTP /mnt/hgfs/Workspace/express_example/node_modules/___express.npm/package/bin
silly asyncMap in gTP /mnt/hgfs/Workspace/express_example/node_modules/___express.npm/package/bin/express
silly asyncMap in gTP /mnt/hgfs/Workspace/express_example/node_modules/___express.npm/package/lib
silly asyncMap in gTP /mnt/hgfs/Workspace/express_example/node_modules/___express.npm/package/lib/express.js
silly asyncMap in gTP /mnt/hgfs/Workspace/express_example/node_modules/___express.npm/package/lib/http.js
silly asyncMap in gTP /mnt/hgfs/Workspace/express_example/node_modules/___express.npm/package/lib/https.js
silly asyncMap in gTP /mnt/hgfs/Workspace/express_example/node_modules/___express.npm/package/lib/request.js
silly asyncMap in gTP /mnt/hgfs/Workspace/express_example/node_modules/___express.npm/package/lib/response.js
silly asyncMap in gTP /mnt/hgfs/Workspace/express_example/node_modules/___express.npm/package/lib/utils.js
silly asyncMap in gTP /mnt/hgfs/Workspace/express_example/node_modules/___express.npm/package/lib/view.js
silly asyncMap in gTP /mnt/hgfs/Workspace/express_example/node_modules/___express.npm/package/lib/router
silly asyncMap in gTP /mnt/hgfs/Workspace/express_example/node_modules/___express.npm/package/lib/router/collection.js
silly asyncMap in gTP /mnt/hgfs/Workspace/express_example/node_modules/___express.npm/package/lib/router/index.js
silly asyncMap in gTP /mnt/hgfs/Workspace/express_example/node_modules/___express.npm/package/lib/router/methods.js
silly asyncMap in gTP /mnt/hgfs/Workspace/express_example/node_modules/___express.npm/package/lib/router/route.js
silly asyncMap in gTP /mnt/hgfs/Workspace/express_example/node_modules/___express.npm/package/lib/view
silly asyncMap in gTP /mnt/hgfs/Workspace/express_example/node_modules/___express.npm/package/lib/view/partial.js
silly asyncMap in gTP /mnt/hgfs/Workspace/express_example/node_modules/___express.npm/package/lib/view/view.js
silly asyncMap in gTP /mnt/hgfs/Workspace/express_example/node_modules/___express.npm/package/testing
silly asyncMap in gTP /mnt/hgfs/Workspace/express_example/node_modules/___express.npm/package/testing/index.js
silly asyncMap in gTP /mnt/hgfs/Workspace/express_example/node_modules/___express.npm/package/testing/public
silly asyncMap in gTP /mnt/hgfs/Workspace/express_example/node_modules/___express.npm/package/testing/public/test.txt
silly asyncMap in gTP /mnt/hgfs/Workspace/express_example/node_modules/___express.npm/package/testing/views
silly asyncMap in gTP /mnt/hgfs/Workspace/express_example/node_modules/___express.npm/package/testing/views/page.html
silly asyncMap in gTP /mnt/hgfs/Workspace/express_example/node_modules/___express.npm/package/testing/views/page.jade
silly asyncMap in gTP /mnt/hgfs/Workspace/express_example/node_modules/___express.npm/package/testing/views/test.md
silly asyncMap in gTP /mnt/hgfs/Workspace/express_example/node_modules/___express.npm/package/testing/views/user
silly asyncMap in gTP /mnt/hgfs/Workspace/express_example/node_modules/___express.npm/package/testing/views/user/index.jade
silly asyncMap in gTP /mnt/hgfs/Workspace/express_example/node_modules/___express.npm/package/testing/views/user/list.jade
ERR! error installing express@2.5.0 Error: UNKNOWN, Unknown error '/mnt/hgfs/Workspace/express_example/node_modules/___express.npm/package'
info unbuild /mnt/hgfs/Workspace/express_example/node_modules/express
verbose installOne cb express@2.5.0
ERR! Error: UNKNOWN, Unknown error '/mnt/hgfs/Workspace/express_example/node_modules/___express.npm/package'
ERR! Report this *entire* log at:
ERR!
ERR! or email it to:
ERR!
ERR!
ERR! System Linux 2.6.32-21-generic
ERR! command "node" "/usr/local/bin/npm" "install" "express"
ERR! cwd /mnt/hgfs/Workspace/express_example
ERR! node -v v0.6.1-pre
ERR! npm -v 1.0.104
ERR! path /mnt/hgfs/Workspace/express_example/node_modules/___express.npm/package
ERR! code UNKNOWN
verbose exit [ 1, true ]