npm / npm

This repository is moving to: https://github.com/npm/cli
http://npm.community
17.54k stars 3.02k forks source link

KARMA ERROR : sudo npm install -g karma on mac OS X 10.9 #4870

Closed apenachi closed 10 years ago

apenachi commented 10 years ago
0 info it worked if it ends with ok
1 verbose cli [ 'node',
1 verbose cli   '/usr/local/bin/npm',
1 verbose cli   'install',
1 verbose cli   'fsevents@0.1.6',
1 verbose cli   'recursive-readdir@0.0.2' ]
2 info using npm@1.4.3
3 info using node@v0.10.26
4 verbose cache add [ 'fsevents@0.1.6', null ]
5 verbose cache add name=undefined spec="fsevents@0.1.6" args=["fsevents@0.1.6",null]
6 verbose parsed url { protocol: null,
6 verbose parsed url   slashes: null,
6 verbose parsed url   auth: null,
6 verbose parsed url   host: null,
6 verbose parsed url   port: null,
6 verbose parsed url   hostname: null,
6 verbose parsed url   hash: null,
6 verbose parsed url   search: null,
6 verbose parsed url   query: null,
6 verbose parsed url   pathname: 'fsevents@0.1.6',
6 verbose parsed url   path: 'fsevents@0.1.6',
6 verbose parsed url   href: 'fsevents@0.1.6' }
7 verbose cache add name="fsevents" spec="0.1.6" args=["fsevents","0.1.6"]
8 verbose parsed url { protocol: null,
8 verbose parsed url   slashes: null,
8 verbose parsed url   auth: null,
8 verbose parsed url   host: null,
8 verbose parsed url   port: null,
8 verbose parsed url   hostname: null,
8 verbose parsed url   hash: null,
8 verbose parsed url   search: null,
8 verbose parsed url   query: null,
8 verbose parsed url   pathname: '0.1.6',
8 verbose parsed url   path: '0.1.6',
8 verbose parsed url   href: '0.1.6' }
9 verbose addNamed [ 'fsevents', '0.1.6' ]
10 verbose addNamed [ '0.1.6', '0.1.6' ]
11 verbose cache add [ 'recursive-readdir@0.0.2', null ]
12 verbose cache add name=undefined spec="recursive-readdir@0.0.2" args=["recursive-readdir@0.0.2",null]
13 verbose parsed url { protocol: null,
13 verbose parsed url   slashes: null,
13 verbose parsed url   auth: null,
13 verbose parsed url   host: null,
13 verbose parsed url   port: null,
13 verbose parsed url   hostname: null,
13 verbose parsed url   hash: null,
13 verbose parsed url   search: null,
13 verbose parsed url   query: null,
13 verbose parsed url   pathname: 'recursive-readdir@0.0.2',
13 verbose parsed url   path: 'recursive-readdir@0.0.2',
13 verbose parsed url   href: 'recursive-readdir@0.0.2' }
14 verbose cache add name="recursive-readdir" spec="0.0.2" args=["recursive-readdir","0.0.2"]
15 verbose parsed url { protocol: null,
15 verbose parsed url   slashes: null,
15 verbose parsed url   auth: null,
15 verbose parsed url   host: null,
15 verbose parsed url   port: null,
15 verbose parsed url   hostname: null,
15 verbose parsed url   hash: null,
15 verbose parsed url   search: null,
15 verbose parsed url   query: null,
15 verbose parsed url   pathname: '0.0.2',
15 verbose parsed url   path: '0.0.2',
15 verbose parsed url   href: '0.0.2' }
16 verbose addNamed [ 'recursive-readdir', '0.0.2' ]
17 verbose addNamed [ '0.0.2', '0.0.2' ]
18 silly lockFile bda43ddf-fsevents-0-1-6 fsevents@0.1.6
19 verbose lock fsevents@0.1.6 /Users/Alex/.npm/bda43ddf-fsevents-0-1-6.lock
20 silly lockFile 3e7dd281-recursive-readdir-0-0-2 recursive-readdir@0.0.2
21 verbose lock recursive-readdir@0.0.2 /Users/Alex/.npm/3e7dd281-recursive-readdir-0-0-2.lock
22 silly lockFile bda43ddf-fsevents-0-1-6 fsevents@0.1.6
23 error Error: Attempt to unlock fsevents@0.1.6, which hasn't been locked
23 error     at unlock (/usr/local/lib/node_modules/npm/lib/cache.js:1304:11)
23 error     at cb (/usr/local/lib/node_modules/npm/lib/cache.js:646:5)
23 error     at /usr/local/lib/node_modules/npm/lib/cache.js:655:20
23 error     at /usr/local/lib/node_modules/npm/lib/cache.js:1290:7
23 error     at /usr/local/lib/node_modules/npm/node_modules/lockfile/lockfile.js:167:38
23 error     at OpenReq.Req.done (/usr/local/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:144:5)
23 error     at OpenReq.done (/usr/local/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:64:22)
23 error     at Object.oncomplete (fs.js:107:15)
24 error If you need help, you may report this *entire* log,
24 error including the npm and node versions, at:
24 error     <http://github.com/npm/npm/issues>
25 error System Darwin 13.0.0
26 error command "node" "/usr/local/bin/npm" "install" "fsevents@0.1.6" "recursive-readdir@0.0.2"
27 error cwd /usr/local/lib/node_modules/karma/node_modules/chokidar
28 error node -v v0.10.26
29 error npm -v 1.4.3
30 verbose exit [ 1, true ]
apenachi commented 10 years ago

I have uninstall node.js completely from my mac and tried multiple times to install karma but with no luck. Also I have created the $PATH variables needed.

apenachi commented 10 years ago
Alexanders-MacBook-Pro:angular-seed-master Alex$ sudo npm install -g karma
npm http GET https://registry.npmjs.org/karma
npm http 304 https://registry.npmjs.org/karma
npm http GET https://registry.npmjs.org/socket.io
npm http GET https://registry.npmjs.org/glob
npm http GET https://registry.npmjs.org/chokidar
npm http GET https://registry.npmjs.org/minimatch
npm http GET https://registry.npmjs.org/http-proxy
npm http GET https://registry.npmjs.org/optimist
npm http GET https://registry.npmjs.org/rimraf
npm http GET https://registry.npmjs.org/q
npm http GET https://registry.npmjs.org/colors
npm http GET https://registry.npmjs.org/lodash
npm http GET https://registry.npmjs.org/mime
npm http GET https://registry.npmjs.org/log4js
npm http GET https://registry.npmjs.org/useragent
npm http GET https://registry.npmjs.org/graceful-fs
npm http GET https://registry.npmjs.org/connect
npm http GET https://registry.npmjs.org/di
npm http GET https://registry.npmjs.org/source-map
npm http 304 https://registry.npmjs.org/glob
npm http 304 https://registry.npmjs.org/optimist
npm http 304 https://registry.npmjs.org/minimatch
npm http 304 https://registry.npmjs.org/chokidar
npm http 304 https://registry.npmjs.org/http-proxy
npm http 304 https://registry.npmjs.org/rimraf
npm http 304 https://registry.npmjs.org/lodash
npm http 304 https://registry.npmjs.org/colors
npm http 304 https://registry.npmjs.org/mime
npm http 304 https://registry.npmjs.org/useragent
npm http 304 https://registry.npmjs.org/graceful-fs
npm http 304 https://registry.npmjs.org/q
npm http 304 https://registry.npmjs.org/connect
npm http 304 https://registry.npmjs.org/di
npm http 304 https://registry.npmjs.org/source-map
npm http 304 https://registry.npmjs.org/log4js
npm http 304 https://registry.npmjs.org/socket.io

> chokidar@0.8.1 postinstall /usr/local/lib/node_modules/karma/node_modules/chokidar
> node setup-deps.js

Executing npm install fsevents@0.1.6 recursive-readdir@0.0.2
npm ERR! Error: Attempt to unlock fsevents@0.1.6, which hasn't been locked
npm ERR!     at unlock (/usr/local/lib/node_modules/npm/lib/cache.js:1304:11)
npm ERR!     at cb (/usr/local/lib/node_modules/npm/lib/cache.js:646:5)
npm ERR!     at /usr/local/lib/node_modules/npm/lib/cache.js:655:20
npm ERR!     at /usr/local/lib/node_modules/npm/lib/cache.js:1290:7
npm ERR!     at /usr/local/lib/node_modules/npm/node_modules/lockfile/lockfile.js:167:38
npm ERR!     at OpenReq.Req.done (/usr/local/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:144:5)
npm ERR!     at OpenReq.done (/usr/local/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:64:22)
npm ERR!     at Object.oncomplete (fs.js:107:15)
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR!     <http://github.com/npm/npm/issues>

npm ERR! System Darwin 13.0.0
npm ERR! command "node" "/usr/local/bin/npm" "install" "fsevents@0.1.6" "recursive-readdir@0.0.2"
npm ERR! cwd /usr/local/lib/node_modules/karma/node_modules/chokidar
npm ERR! node -v v0.10.26
npm ERR! npm -v 1.4.3
npm ERR! Error: Attempt to unlock recursive-readdir@0.0.2, which hasn't been locked
npm ERR!     at unlock (/usr/local/lib/node_modules/npm/lib/cache.js:1304:11)
npm ERR!     at cb (/usr/local/lib/node_modules/npm/lib/cache.js:646:5)
npm ERR!     at /usr/local/lib/node_modules/npm/lib/cache.js:655:20
npm ERR!     at /usr/local/lib/node_modules/npm/lib/cache.js:1290:7
npm ERR!     at /usr/local/lib/node_modules/npm/node_modules/lockfile/lockfile.js:167:38
npm ERR!     at OpenReq.Req.done (/usr/local/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:144:5)
npm ERR!     at OpenReq.done (/usr/local/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:64:22)
npm ERR!     at Object.oncomplete (fs.js:107:15)
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR!     <http://github.com/npm/npm/issues>

npm ERR! System Darwin 13.0.0
npm ERR! command "node" "/usr/local/bin/npm" "install" "fsevents@0.1.6" "recursive-readdir@0.0.2"
npm ERR! cwd /usr/local/lib/node_modules/karma/node_modules/chokidar
npm ERR! node -v v0.10.26
npm ERR! npm -v 1.4.3
npm ERR! 
npm ERR! Additional logging details can be found in:
npm ERR!     /usr/local/lib/node_modules/karma/node_modules/chokidar/npm-debug.log
npm ERR! not ok code 0
npm http GET https://registry.npmjs.org/lru-cache
npm http GET https://registry.npmjs.org/sigmund
npm http 304 https://registry.npmjs.org/sigmund
npm http GET https://registry.npmjs.org/wordwrap
npm http GET https://registry.npmjs.org/minimist
npm http 304 https://registry.npmjs.org/lru-cache
npm http GET https://registry.npmjs.org/inherits
npm http 304 https://registry.npmjs.org/inherits
npm http 304 https://registry.npmjs.org/minimist
npm http 304 https://registry.npmjs.org/wordwrap
npm http GET https://registry.npmjs.org/socket.io-client/0.9.16
npm http GET https://registry.npmjs.org/base64id/0.1.0
npm http GET https://registry.npmjs.org/redis/0.7.3
npm http GET https://registry.npmjs.org/policyfile/0.0.4
npm http GET https://registry.npmjs.org/amdefine
npm http 304 https://registry.npmjs.org/policyfile/0.0.4
npm http 304 https://registry.npmjs.org/base64id/0.1.0
npm http 304 https://registry.npmjs.org/amdefine
npm http 304 https://registry.npmjs.org/socket.io-client/0.9.16
npm http 304 https://registry.npmjs.org/redis/0.7.3
npm http GET https://registry.npmjs.org/pkginfo
npm http GET https://registry.npmjs.org/utile
npm http GET https://registry.npmjs.org/async/0.1.15
npm http GET https://registry.npmjs.org/semver
npm http GET https://registry.npmjs.org/readable-stream
npm http GET https://registry.npmjs.org/cookie-signature/1.0.1
npm http GET https://registry.npmjs.org/buffer-crc32/0.2.1
npm http GET https://registry.npmjs.org/cookie/0.1.0
npm http GET https://registry.npmjs.org/send/0.1.4
npm http GET https://registry.npmjs.org/bytes/0.2.1
npm http GET https://registry.npmjs.org/fresh/0.2.0
npm http GET https://registry.npmjs.org/pause/0.0.1
npm http GET https://registry.npmjs.org/uid2/0.0.3
npm http GET https://registry.npmjs.org/debug
npm http GET https://registry.npmjs.org/methods/0.1.0
npm http GET https://registry.npmjs.org/raw-body/1.1.2
npm http GET https://registry.npmjs.org/negotiator/0.3.0
npm http GET https://registry.npmjs.org/multiparty/2.2.0
npm http GET https://registry.npmjs.org/batch/0.5.0
npm http GET https://registry.npmjs.org/qs/0.6.6
npm http 304 https://registry.npmjs.org/pkginfo
npm http 304 https://registry.npmjs.org/utile
npm http 304 https://registry.npmjs.org/semver
npm http 304 https://registry.npmjs.org/cookie-signature/1.0.1
npm http 304 https://registry.npmjs.org/readable-stream
npm http 304 https://registry.npmjs.org/async/0.1.15
npm http 304 https://registry.npmjs.org/cookie/0.1.0
npm http 304 https://registry.npmjs.org/send/0.1.4
npm http 304 https://registry.npmjs.org/bytes/0.2.1
npm http 304 https://registry.npmjs.org/fresh/0.2.0
npm http 304 https://registry.npmjs.org/pause/0.0.1
npm http 304 https://registry.npmjs.org/buffer-crc32/0.2.1
npm http 304 https://registry.npmjs.org/debug
npm http 304 https://registry.npmjs.org/methods/0.1.0
npm http 304 https://registry.npmjs.org/raw-body/1.1.2
npm http 304 https://registry.npmjs.org/negotiator/0.3.0
npm http 304 https://registry.npmjs.org/multiparty/2.2.0
npm http 304 https://registry.npmjs.org/qs/0.6.6
npm http 304 https://registry.npmjs.org/batch/0.5.0
npm http 304 https://registry.npmjs.org/uid2/0.0.3
npm http GET https://registry.npmjs.org/range-parser/0.0.4
npm http GET https://registry.npmjs.org/string_decoder
npm http GET https://registry.npmjs.org/async
npm http GET https://registry.npmjs.org/deep-equal
npm http GET https://registry.npmjs.org/i
npm http GET https://registry.npmjs.org/mkdirp
npm http GET https://registry.npmjs.org/ncp
npm http 304 https://registry.npmjs.org/range-parser/0.0.4
npm http 304 https://registry.npmjs.org/mkdirp
npm http 304 https://registry.npmjs.org/ncp
npm http 304 https://registry.npmjs.org/string_decoder
npm http 304 https://registry.npmjs.org/async
npm http 304 https://registry.npmjs.org/i
npm http 304 https://registry.npmjs.org/deep-equal
npm http GET https://registry.npmjs.org/uglify-js/1.2.5
npm http GET https://registry.npmjs.org/ws
npm http GET https://registry.npmjs.org/active-x-obfuscator/0.0.1
npm http GET https://registry.npmjs.org/xmlhttprequest/1.4.2
npm http GET https://registry.npmjs.org/stream-counter
npm http 304 https://registry.npmjs.org/uglify-js/1.2.5
npm http 304 https://registry.npmjs.org/active-x-obfuscator/0.0.1
npm http 304 https://registry.npmjs.org/xmlhttprequest/1.4.2
npm http 304 https://registry.npmjs.org/ws
npm http 304 https://registry.npmjs.org/stream-counter
npm http GET https://registry.npmjs.org/zeparser/0.0.5
npm http GET https://registry.npmjs.org/core-util-is
npm http GET https://registry.npmjs.org/debuglog/0.0.2
npm http 304 https://registry.npmjs.org/zeparser/0.0.5
npm http 304 https://registry.npmjs.org/debuglog/0.0.2
npm http 304 https://registry.npmjs.org/core-util-is
npm http GET https://registry.npmjs.org/tinycolor
npm http GET https://registry.npmjs.org/commander
npm http GET https://registry.npmjs.org/nan
npm http GET https://registry.npmjs.org/options
npm http 304 https://registry.npmjs.org/options
npm http 304 https://registry.npmjs.org/commander
npm http 304 https://registry.npmjs.org/tinycolor
npm http 304 https://registry.npmjs.org/nan

> ws@0.4.31 install /usr/local/lib/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws
> (node-gyp rebuild 2> builderror.log) || (exit 0)

karma@0.12.0 /usr/local/lib/node_modules/karma
├── di@0.0.1
├── graceful-fs@2.0.2
├── rimraf@2.2.6
├── colors@0.6.2
├── mime@1.2.11
├── q@0.9.7
├── minimatch@0.2.14 (sigmund@1.0.0, lru-cache@2.5.0)
├── chokidar@0.8.1
├── glob@3.2.9 (inherits@2.0.1)
├── optimist@0.6.1 (wordwrap@0.0.2, minimist@0.0.8)
├── source-map@0.1.33 (amdefine@0.1.0)
├── log4js@0.6.12 (semver@1.1.4, async@0.1.15, readable-stream@1.0.26-2)
├── lodash@2.4.1
├── http-proxy@0.10.4 (pkginfo@0.3.0, utile@0.2.1)
├── useragent@2.0.7 (lru-cache@2.2.4)
├── connect@2.12.0 (uid2@0.0.3, methods@0.1.0, pause@0.0.1, cookie-signature@1.0.1, fresh@0.2.0, debug@0.7.4, qs@0.6.6, bytes@0.2.1, raw-body@1.1.2, buffer-crc32@0.2.1, batch@0.5.0, cookie@0.1.0, negotiator@0.3.0, send@0.1.4, multiparty@2.2.0)
└── socket.io@0.9.16 (base64id@0.1.0, policyfile@0.0.4, redis@0.7.3, socket.io-client@0.9.16)
Alexanders-MacBook-Pro:angular-seed-master Alex$ 
ericpres commented 10 years ago

I am seeing the same issue. Below is my npm-debug.log file from the /usr/local/lib/node_modules/karma/node_modules/chokidar directory. I am running Mac OS X 10.8.5.

0 info it worked if it ends with ok
1 verbose cli [ 'node',
1 verbose cli   '/usr/local/bin/npm',
1 verbose cli   'install',
1 verbose cli   'fsevents@0.1.6',
1 verbose cli   'recursive-readdir@0.0.2' ]
2 info using npm@1.4.4
3 info using node@v0.10.25
4 verbose cache add [ 'fsevents@0.1.6', null ]
5 verbose cache add name=undefined spec="fsevents@0.1.6" args=["fsevents@0.1.6",null]
6 verbose parsed url { protocol: null,
6 verbose parsed url   slashes: null,
6 verbose parsed url   auth: null,
6 verbose parsed url   host: null,
6 verbose parsed url   port: null,
6 verbose parsed url   hostname: null,
6 verbose parsed url   hash: null,
6 verbose parsed url   search: null,
6 verbose parsed url   query: null,
6 verbose parsed url   pathname: 'fsevents@0.1.6',
6 verbose parsed url   path: 'fsevents@0.1.6',
6 verbose parsed url   href: 'fsevents@0.1.6' }
7 verbose cache add name="fsevents" spec="0.1.6" args=["fsevents","0.1.6"]
8 verbose parsed url { protocol: null,
8 verbose parsed url   slashes: null,
8 verbose parsed url   auth: null,
8 verbose parsed url   host: null,
8 verbose parsed url   port: null,
8 verbose parsed url   hostname: null,
8 verbose parsed url   hash: null,
8 verbose parsed url   search: null,
8 verbose parsed url   query: null,
8 verbose parsed url   pathname: '0.1.6',
8 verbose parsed url   path: '0.1.6',
8 verbose parsed url   href: '0.1.6' }
9 verbose addNamed [ 'fsevents', '0.1.6' ]
10 verbose addNamed [ '0.1.6', '0.1.6' ]
11 verbose cache add [ 'recursive-readdir@0.0.2', null ]
12 verbose cache add name=undefined spec="recursive-readdir@0.0.2" args=["recursive-readdir@0.0.2",null]
13 verbose parsed url { protocol: null,
13 verbose parsed url   slashes: null,
13 verbose parsed url   auth: null,
13 verbose parsed url   host: null,
13 verbose parsed url   port: null,
13 verbose parsed url   hostname: null,
13 verbose parsed url   hash: null,
13 verbose parsed url   search: null,
13 verbose parsed url   query: null,
13 verbose parsed url   pathname: 'recursive-readdir@0.0.2',
13 verbose parsed url   path: 'recursive-readdir@0.0.2',
13 verbose parsed url   href: 'recursive-readdir@0.0.2' }
14 verbose cache add name="recursive-readdir" spec="0.0.2" args=["recursive-readdir","0.0.2"]
15 verbose parsed url { protocol: null,
15 verbose parsed url   slashes: null,
15 verbose parsed url   auth: null,
15 verbose parsed url   host: null,
15 verbose parsed url   port: null,
15 verbose parsed url   hostname: null,
15 verbose parsed url   hash: null,
15 verbose parsed url   search: null,
15 verbose parsed url   query: null,
15 verbose parsed url   pathname: '0.0.2',
15 verbose parsed url   path: '0.0.2',
15 verbose parsed url   href: '0.0.2' }
16 verbose addNamed [ 'recursive-readdir', '0.0.2' ]
17 verbose addNamed [ '0.0.2', '0.0.2' ]
18 silly lockFile bda43ddf-fsevents-0-1-6 fsevents@0.1.6
19 verbose lock fsevents@0.1.6 /Users/epresley/.npm/bda43ddf-fsevents-0-1-6.lock
20 silly lockFile 3e7dd281-recursive-readdir-0-0-2 recursive-readdir@0.0.2
21 verbose lock recursive-readdir@0.0.2 /Users/epresley/.npm/3e7dd281-recursive-readdir-0-0-2.lock
22 silly lockFile bda43ddf-fsevents-0-1-6 fsevents@0.1.6
23 error Error: Attempt to unlock fsevents@0.1.6, which hasn't been locked
23 error     at unlock (/usr/local/lib/node_modules/npm/lib/cache.js:1304:11)
23 error     at cb (/usr/local/lib/node_modules/npm/lib/cache.js:646:5)
23 error     at /usr/local/lib/node_modules/npm/lib/cache.js:655:20
23 error     at /usr/local/lib/node_modules/npm/lib/cache.js:1290:7
23 error     at /usr/local/lib/node_modules/npm/node_modules/lockfile/lockfile.js:167:38
23 error     at OpenReq.Req.done (/usr/local/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:144:5)
23 error     at OpenReq.done (/usr/local/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:64:22)
23 error     at Object.oncomplete (fs.js:107:15)
24 error If you need help, you may report this *entire* log,
24 error including the npm and node versions, at:
24 error     <http://github.com/npm/npm/issues>
25 error System Darwin 12.5.0
26 error command "node" "/usr/local/bin/npm" "install" "fsevents@0.1.6" "recursive-readdir@0.0.2"
27 error cwd /usr/local/lib/node_modules/karma/node_modules/chokidar
28 error node -v v0.10.25
29 error npm -v 1.4.4
30 verbose exit [ 1, true ]
apenachi commented 10 years ago

Another problem installing Karma in winxp, I am wondering if this is an isolated issue and now i am questioning how reliable is this.

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\apenachi>node -v
v0.10.26

C:\Documents and Settings\apenachi>npm -version
1.4.3

C:\Documents and Settings\apenachi>npm install -g karma
npm http GET https://registry.npmjs.org/karma
npm http 200 https://registry.npmjs.org/karma
npm http GET https://registry.npmjs.org/karma/-/karma-0.12.0.tgz
npm http 200 https://registry.npmjs.org/karma/-/karma-0.12.0.tgz
npm http GET https://registry.npmjs.org/di
npm http GET https://registry.npmjs.org/socket.io
npm http GET https://registry.npmjs.org/chokidar
npm http GET https://registry.npmjs.org/glob
npm http GET https://registry.npmjs.org/minimatch
npm http GET https://registry.npmjs.org/http-proxy
npm http GET https://registry.npmjs.org/optimist
npm http GET https://registry.npmjs.org/rimraf
npm http GET https://registry.npmjs.org/q
npm http GET https://registry.npmjs.org/colors
npm http GET https://registry.npmjs.org/lodash
npm http GET https://registry.npmjs.org/mime
npm http GET https://registry.npmjs.org/log4js
npm http GET https://registry.npmjs.org/useragent
npm http GET https://registry.npmjs.org/graceful-fs
npm http GET https://registry.npmjs.org/connect
npm http GET https://registry.npmjs.org/source-map
npm http 200 https://registry.npmjs.org/chokidar
npm http 200 https://registry.npmjs.org/glob
npm http 200 https://registry.npmjs.org/di
npm http 200 https://registry.npmjs.org/socket.io
npm http 200 https://registry.npmjs.org/minimatch
npm http 200 https://registry.npmjs.org/http-proxy
npm http 200 https://registry.npmjs.org/optimist
npm http 200 https://registry.npmjs.org/colors
npm http 200 https://registry.npmjs.org/q
npm http 200 https://registry.npmjs.org/mime
npm http 200 https://registry.npmjs.org/lodash
npm http 200 https://registry.npmjs.org/log4js
npm http 200 https://registry.npmjs.org/rimraf
npm http 200 https://registry.npmjs.org/graceful-fs
npm http 200 https://registry.npmjs.org/source-map
npm http 200 https://registry.npmjs.org/useragent
npm http 200 https://registry.npmjs.org/connect
npm http GET https://registry.npmjs.org/chokidar/-/chokidar-0.8.1.tgz
npm http GET https://registry.npmjs.org/glob/-/glob-3.2.9.tgz
npm http GET https://registry.npmjs.org/di/-/di-0.0.1.tgz
npm http GET https://registry.npmjs.org/socket.io/-/socket.io-0.9.16.tgz
npm http GET https://registry.npmjs.org/minimatch/-/minimatch-0.2.14.tgz
npm http GET https://registry.npmjs.org/http-proxy/-/http-proxy-0.10.4.tgz
npm http GET https://registry.npmjs.org/optimist/-/optimist-0.6.1.tgz
npm http GET https://registry.npmjs.org/colors/-/colors-0.6.2.tgz
npm http GET https://registry.npmjs.org/q/-/q-0.9.7.tgz
npm http GET https://registry.npmjs.org/lodash/-/lodash-2.4.1.tgz
npm http GET https://registry.npmjs.org/mime/-/mime-1.2.11.tgz
npm http GET https://registry.npmjs.org/log4js/-/log4js-0.6.12.tgz
npm http GET https://registry.npmjs.org/rimraf/-/rimraf-2.2.6.tgz
npm http 200 https://registry.npmjs.org/glob/-/glob-3.2.9.tgz
npm http 200 https://registry.npmjs.org/di/-/di-0.0.1.tgz
npm http 200 https://registry.npmjs.org/socket.io/-/socket.io-0.9.16.tgz
npm http GET https://registry.npmjs.org/graceful-fs/-/graceful-fs-2.0.2.tgz
npm http 200 https://registry.npmjs.org/chokidar/-/chokidar-0.8.1.tgz
npm http GET https://registry.npmjs.org/source-map/-/source-map-0.1.33.tgz
npm http GET https://registry.npmjs.org/useragent/-/useragent-2.0.7.tgz
npm http GET https://registry.npmjs.org/connect/-/connect-2.12.0.tgz
npm http 200 https://registry.npmjs.org/optimist/-/optimist-0.6.1.tgz
npm http 200 https://registry.npmjs.org/colors/-/colors-0.6.2.tgz
npm http 200 https://registry.npmjs.org/http-proxy/-/http-proxy-0.10.4.tgz
npm http 200 https://registry.npmjs.org/minimatch/-/minimatch-0.2.14.tgz
npm http 200 https://registry.npmjs.org/q/-/q-0.9.7.tgz
npm http 200 https://registry.npmjs.org/lodash/-/lodash-2.4.1.tgz
npm http 200 https://registry.npmjs.org/mime/-/mime-1.2.11.tgz
npm http 200 https://registry.npmjs.org/rimraf/-/rimraf-2.2.6.tgz
npm http 200 https://registry.npmjs.org/log4js/-/log4js-0.6.12.tgz
npm http 200 https://registry.npmjs.org/graceful-fs/-/graceful-fs-2.0.2.tgz
npm http 200 https://registry.npmjs.org/useragent/-/useragent-2.0.7.tgz
npm http 200 https://registry.npmjs.org/connect/-/connect-2.12.0.tgz
npm http 200 https://registry.npmjs.org/source-map/-/source-map-0.1.33.tgz

> chokidar@0.8.1 postinstall C:\Documents and Settings\apenachi\Application Data
\npm\node_modules\karma\node_modules\chokidar
> node setup-deps.js

C:\Documents and Settings\apenachi>karma -version
'karma' is not recognized as an internal or external command,
operable program or batch file.
apenachi commented 10 years ago

Just got karma working in win xp I did what was suggested in github by MrCheese http://stackoverflow.com/questions/20800933/running-karma-after-installation-results-in-karma-is-not-recognized-as-an-inte

The command line interface is in a separate package. To install this use: npm install -g karma-cli

othiym23 commented 10 years ago

Closing as resolved. You might want to install the latest stable version of npm, because it will address a number of the race conditions you ran into along the way to getting things working.