isaacs/npm — Issue #1777: NPM on Windows: npm submodule  fails with error 128
Author: markcowl
Created: 2011-11-23 20:41:38+00:00
State: open

error details:

"npm submodule fails with error 128:C:\Users\markcowl\azure\MyApp\WebRole1>npm submodule socket.io
npm ERR! Error: `git ""submodule"" ""status""` failed with 128
npm ERR! at ChildProcess. (C:\Program Files (x86)\nodejs\node_mod
ules\npm\lib\utils\exec.js:49:20)
npm ERR! at ChildProcess.emit (events.js:70:17)
npm ERR! at maybeExit (child_process.js:359:16)
npm ERR! at Process.onexit (child_process.js:395:5)
npm ERR! Report this *entire* log at:
npm ERR!
npm ERR! or email it to:
npm ERR!
npm ERR!
npm ERR! System Windows_NT 6.1.7600
npm ERR! command ""C:\\Program Files (x86)\\nodejs\\\\node.exe"" ""C:\\Program File
s (x86)\\nodejs\\node_modules\\npm\\bin\\npm-cli.js"" ""submodule"" ""socket.io""
npm ERR! cwd C:\Users\markcowl\azure\MyApp\WebRole1
npm ERR! node -v v0.6.2
npm ERR! npm -v 1.1.0-alpha
npm ERR! message `git ""submodule"" ""status""` failed with 128
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! C:\Users\markcowl\azure\MyApp\WebRole1\npm-debug.log
npm not ok"

debug log:

info it worked if it ends with ok
verbose cli [ 'C:\\Program Files (x86)\\nodejs\\\\node.exe',
verbose cli 'C:\\Program Files (x86)\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
verbose cli 'submodule',
verbose cli 'socket.io' ]
info using npm@1.1.0-alpha
info using node@v0.6.2
verbose config file C:\Users\markcowl\.npmrc
verbose config file C:\Program Files (x86)\etc\npmrc
verbose config file C:\Program Files (x86)\nodejs\node_modules\npm\npmrc
verbose cache add [ 'socket.io', null ]
silly cache add: name, spec, args [ undefined, 'socket.io', [ 'socket.io', null ] ]
verbose parsed url { pathname: 'socket.io', path: 'socket.io', href: 'socket.io' }
info addNamed [ 'socket.io', '' ]
verbose addNamed [ null, '' ]
verbose GET socket.io
verbose raw, before any munging socket.io
verbose url resolving [ 'https://registry.npmjs.org/', './socket.io' ]
verbose url resolved https://registry.npmjs.org/socket.io
silly get cb [ 200,
silly get cb { vary: 'Accept',
silly get cb server: 'CouchDB/1.1.0 (Erlang OTP/R14B04)',
silly get cb etag: '"81FG4TECP109OMU3ACNGMN9FN"',
silly get cb date: 'Tue, 22 Nov 2011 00:33:02 GMT',
silly get cb 'content-type': 'application/json',
silly get cb 'content-length': '40255' } ]
verbose mkdir (expected) error ENOENT, no such file or directory 'C:\Users\markcowl\npm-cache\socket.io'
verbose mkdir done: C:\Users\markcowl\npm-cache\socket.io 755
verbose GET socket.io/0.8.7
verbose raw, before any munging socket.io/0.8.7
verbose url resolving [ 'https://registry.npmjs.org/', './socket.io/0.8.7' ]
verbose url resolved https://registry.npmjs.org/socket.io/0.8.7
silly get cb [ 200,
silly get cb { vary: 'Accept',
silly get cb server: 'CouchDB/1.1.0 (Erlang OTP/R14B04)',
silly get cb etag: '"81FG4TECP109OMU3ACNGMN9FN"',
silly get cb date: 'Tue, 22 Nov 2011 00:33:03 GMT',
silly get cb 'content-type': 'application/json',
silly get cb 'content-length': '1267' } ]
verbose mkdir (expected) error ENOENT, no such file or directory 'C:\Users\markcowl\npm-cache\socket.io\0.8.7'
verbose mkdir done: C:\Users\markcowl\npm-cache\socket.io\0.8.7 755
verbose bin dist [ '0.6-ares1.7.5-DEV-evundefined-openssl0.9.8r-v83.6.6.8-win32-ia32-6.1.7600',
verbose bin dist { shasum: '98419cb68859a6fc5ec8d49f50dcdbbe2ffd4466',
verbose bin dist tarball: 'http://registry.npmjs.org/socket.io/-/socket.io-0.8.7.tgz' } ]
verbose addRemoteTarball [ 'https://registry.npmjs.org/socket.io/-/socket.io-0.8.7.tgz',
verbose addRemoteTarball '98419cb68859a6fc5ec8d49f50dcdbbe2ffd4466' ]
verbose mkdir (expected) error ENOENT, no such file or directory 'C:\Users\markcowl\AppData\Local\Temp\2\npm-1321921984177'
verbose mkdir (expected) error ENOENT, no such file or directory 'C:\Users\markcowl\AppData\Local\Temp\2\npm-1321921984177\1321921984177-0.9332048734650016'
verbose mkdir done: C:\Users\markcowl\AppData\Local\Temp\2\npm-1321921984177\1321921984177-0.9332048734650016 755
info fetch https://registry.npmjs.org/socket.io/-/socket.io-0.8.7.tgz
verbose fetch to C:\Users\markcowl\AppData\Local\Temp\2\npm-1321921984177\1321921984177-0.9332048734650016\tmp.tgz
silly updated sha bytes 40960
silly updated sha bytes 30720
info shasum 98419cb68859a6fc5ec8d49f50dcdbbe2ffd4466
info shasum C:\Users\markcowl\AppData\Local\Temp\2\npm-1321921984177\1321921984177-0.9332048734650016\tmp.tgz
verbose mkdir (expected) error ENOENT, no such file or directory 'C:\Users\markcowl\AppData\Local\Temp\2\npm-1321921984177\1321921984177-0.9332048734650016\___package.npm'
verbose mkdir done: C:\Users\markcowl\AppData\Local\Temp\2\npm-1321921984177\1321921984177-0.9332048734650016\___package.npm 755
verbose unpack_ uid, gid [ undefined, undefined ]
verbose unpackTarget C:\Users\markcowl\AppData\Local\Temp\2\npm-1321921984177\1321921984177-0.9332048734650016\package
silly gunzTarPerm modes [ '755', '644' ]
verbose gunzed C:\Users\markcowl\AppData\Local\Temp\2\npm-1321921984177\1321921984177-0.9332048734650016\___package.npm\package
verbose rm'ed C:\Users\markcowl\AppData\Local\Temp\2\npm-1321921984177\1321921984177-0.9332048734650016\package
verbose renamed [ 'C:\\Users\\markcowl\\AppData\\Local\\Temp\\2\\npm-1321921984177\\1321921984177-0.9332048734650016\\___package.npm\\package',
verbose renamed 'C:\\Users\\markcowl\\AppData\\Local\\Temp\\2\\npm-1321921984177\\1321921984177-0.9332048734650016\\package' ]
verbose caching C:\Users\markcowl\AppData\Local\Temp\2\npm-1321921984177\1321921984177-0.9332048734650016\package\package.json
verbose loadDefaults socket.io@0.8.7
verbose tarball contents [ 'package', 'tmp.tgz' ]
verbose from cache C:\Users\markcowl\AppData\Local\Temp\2\npm-1321921984177\1321921984177-0.9332048734650016\package\package.json
verbose pack C:\Users\markcowl\AppData\Local\Temp\2\npm-1321921984177\1321921984177-0.9332048734650016\package C:\Users\markcowl\npm-cache\socket.io\0.8.7\package.tgz
silly makeList C:\Users\markcowl\AppData\Local\Temp\2\npm-1321921984177\1321921984177-0.9332048734650016\package
verbose caching C:\Users\markcowl\AppData\Local\Temp\2\npm-1321921984177\1321921984177-0.9332048734650016\package\examples\irc-output\package.json
verbose loadDefaults socket.io-irc@0.0.1
verbose caching C:\Users\markcowl\AppData\Local\Temp\2\npm-1321921984177\1321921984177-0.9332048734650016\package\examples\chat\package.json
verbose loadDefaults chat.io@0.0.1
verbose caching C:\Users\markcowl\AppData\Local\Temp\2\npm-1321921984177\1321921984177-0.9332048734650016\package\support\node-websocket-client\package.json
verbose loadDefaults websocket-client@1.0.0
verbose tarball C:\Users\markcowl\npm-cache\socket.io\0.8.7\package.tgz
verbose parent C:\Users\markcowl\AppData\Local\Temp\2\npm-1321921984177\1321921984177-0.9332048734650016\package
verbose mkdir (expected) error ENOENT, no such file or directory 'C:\Users\markcowl\npm-cache\socket.io\0.8.7\___package.npm'
verbose mkdir done: C:\Users\markcowl\npm-cache\socket.io\0.8.7\___package.npm 755
verbose unpack_ uid, gid [ undefined, undefined ]
verbose unpackTarget C:\Users\markcowl\npm-cache\socket.io\0.8.7\package
silly gunzTarPerm modes [ '755', '644' ]
verbose gunzed C:\Users\markcowl\npm-cache\socket.io\0.8.7\___package.npm\package
verbose rm'ed C:\Users\markcowl\npm-cache\socket.io\0.8.7\package
verbose renamed [ 'C:\\Users\\markcowl\\npm-cache\\socket.io\\0.8.7\\___package.npm\\package',
verbose renamed 'C:\\Users\\markcowl\\npm-cache\\socket.io\\0.8.7\\package' ]
verbose caching C:\Users\markcowl\npm-cache\socket.io\0.8.7\package\package.json
verbose loadDefaults socket.io@0.8.7
silly updated sha bytes 40960
silly updated sha bytes 30038
info shasum c4f47c9a574f515585e4abfa8313a69795848a85
info shasum C:\Users\markcowl\npm-cache\socket.io\0.8.7\package.tgz
verbose from cache C:\Users\markcowl\npm-cache\socket.io\0.8.7\package\package.json
verbose chmod C:\Users\markcowl\npm-cache\socket.io\0.8.7\package.tgz 644
silly skipping chown for windows C:\Users\markcowl\npm-cache\socket.io\0.8.7\package.tgz
silly exec git "submodule" "status"
silly spawning [ 'git',
silly spawning [ 'submodule', 'status' ],
silly spawning 'C:\\Users\\markcowl\\azure\\MyApp\\WebRole1' ]
ERR! Error: `git "submodule" "status"` failed with 128
ERR! at ChildProcess. (C:\Program Files (x86)\nodejs\node_modules\npm\lib\utils\exec.js:49:20)
ERR! at ChildProcess.emit (events.js:70:17)
ERR! at maybeExit (child_process.js:359:16)
ERR! at Process.onexit (child_process.js:395:5)
ERR! Report this *entire* log at:
ERR!
ERR! or email it to:
ERR!
ERR!
ERR! System Windows_NT 6.1.7600
ERR! command "C:\\Program Files (x86)\\nodejs\\\\node.exe" "C:\\Program Files (x86)\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "submodule" "socket.io"
ERR! cwd C:\Users\markcowl\azure\MyApp\WebRole1
ERR! node -v v0.6.2
ERR! npm -v 1.1.0-alpha
ERR! message `git "submodule" "status"` failed with 128
verbose exit [ 1, true ]