Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Cannot install karma #3961

Closed
ravinggenius opened this Issue · 3 comments

2 participants

@ravinggenius

I can't get karma installed. The app I'm working on is an angular frontend generated by yeoman, if that helps. Below is the output from the install command. The error log is posted at https://gist.github.com/ravinggenius/240db72c023946288673.

$ npm install karma
npm WARN package.json ecos-angular@0.0.0 No README.md file found!
npm http GET https://registry.npmjs.org/karma
npm http 304 https://registry.npmjs.org/karma
npm http GET https://registry.npmjs.org/di
npm http GET https://registry.npmjs.org/chokidar
npm http GET https://registry.npmjs.org/socket.io
npm http GET https://registry.npmjs.org/glob
npm http GET https://registry.npmjs.org/http-proxy
npm http GET https://registry.npmjs.org/minimatch
npm http GET https://registry.npmjs.org/optimist
npm http GET https://registry.npmjs.org/rimraf
npm http GET https://registry.npmjs.org/coffee-script
npm http GET https://registry.npmjs.org/q
npm http GET https://registry.npmjs.org/colors/0.6.0-1
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 304 https://registry.npmjs.org/di
npm http 304 https://registry.npmjs.org/glob
npm http 304 https://registry.npmjs.org/socket.io
npm http 304 https://registry.npmjs.org/http-proxy
npm http 304 https://registry.npmjs.org/chokidar
npm http 304 https://registry.npmjs.org/minimatch
npm http 304 https://registry.npmjs.org/optimist
npm http 304 https://registry.npmjs.org/colors/0.6.0-1
npm http 304 https://registry.npmjs.org/rimraf
npm http 304 https://registry.npmjs.org/coffee-script
npm http 304 https://registry.npmjs.org/q
npm http 304 https://registry.npmjs.org/lodash
npm http 304 https://registry.npmjs.org/mime
npm http 304 https://registry.npmjs.org/graceful-fs
npm http 304 https://registry.npmjs.org/log4js
npm http 304 https://registry.npmjs.org/useragent
npm http 304 https://registry.npmjs.org/connect
npm ERR! Error: ENOENT, lstat '/Users/thomas/Code/merge-ecos-angular/node_modules/karma/node_modules/rimraf/LICENSE'
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 Darwin 12.5.0
npm ERR! command "/usr/local/Cellar/node/0.10.6/bin/node" "/usr/local/bin/npm" "install" "karma"
npm ERR! cwd /Users/thomas/Code/merge-ecos-angular
npm ERR! node -v v0.10.6
npm ERR! npm -v 1.2.18
npm ERR! path /Users/thomas/Code/merge-ecos-angular/node_modules/karma/node_modules/rimraf/LICENSE
npm ERR! fstream_path /Users/thomas/Code/merge-ecos-angular/node_modules/karma/node_modules/rimraf/LICENSE
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack /usr/local/Cellar/node/0.10.6/lib/node_modules/npm/node_modules/fstream/lib/writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)
npm ERR! Error: ENOENT, lstat '/Users/thomas/Code/merge-ecos-angular/node_modules/karma/node_modules/graceful-fs/README.md'
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 Darwin 12.5.0
npm ERR! command "/usr/local/Cellar/node/0.10.6/bin/node" "/usr/local/bin/npm" "install" "karma"
npm ERR! cwd /Users/thomas/Code/merge-ecos-angular
npm ERR! node -v v0.10.6
npm ERR! npm -v 1.2.18
npm ERR! path /Users/thomas/Code/merge-ecos-angular/node_modules/karma/node_modules/graceful-fs/README.md
npm ERR! fstream_path /Users/thomas/Code/merge-ecos-angular/node_modules/karma/node_modules/graceful-fs/README.md
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack /usr/local/Cellar/node/0.10.6/lib/node_modules/npm/node_modules/fstream/lib/writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)
npm ERR! error rolling back Error: ENOTEMPTY, rmdir '/Users/thomas/Code/merge-ecos-angular/node_modules/karma/node_modules/di'
npm ERR! error rolling back  karma@0.10.2 { [Error: ENOTEMPTY, rmdir '/Users/thomas/Code/merge-ecos-angular/node_modules/karma/node_modules/di']
npm ERR! error rolling back   errno: 53,
npm ERR! error rolling back   code: 'ENOTEMPTY',
npm ERR! error rolling back   path: '/Users/thomas/Code/merge-ecos-angular/node_modules/karma/node_modules/di' }
npm ERR! Error: ENOENT, open '/Users/thomas/Code/merge-ecos-angular/node_modules/karma/node_modules/socket.io/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 Darwin 12.5.0
npm ERR! command "/usr/local/Cellar/node/0.10.6/bin/node" "/usr/local/bin/npm" "install" "karma"
npm ERR! cwd /Users/thomas/Code/merge-ecos-angular
npm ERR! node -v v0.10.6
npm ERR! npm -v 1.2.18
npm ERR! path /Users/thomas/Code/merge-ecos-angular/node_modules/karma/node_modules/socket.io/package.json
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! Error: ENOENT, lstat '/Users/thomas/Code/merge-ecos-angular/node_modules/karma/node_modules/mime/LICENSE'
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 Darwin 12.5.0
npm ERR! command "/usr/local/Cellar/node/0.10.6/bin/node" "/usr/local/bin/npm" "install" "karma"
npm ERR! cwd /Users/thomas/Code/merge-ecos-angular
npm ERR! node -v v0.10.6
npm ERR! npm -v 1.2.18
npm ERR! path /Users/thomas/Code/merge-ecos-angular/node_modules/karma/node_modules/mime/LICENSE
npm ERR! fstream_path /Users/thomas/Code/merge-ecos-angular/node_modules/karma/node_modules/mime/LICENSE
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack /usr/local/Cellar/node/0.10.6/lib/node_modules/npm/node_modules/fstream/lib/writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)
npm ERR! Error: ENOENT, lstat '/Users/thomas/Code/merge-ecos-angular/node_modules/karma/node_modules/minimatch/README.md'
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 Darwin 12.5.0
npm ERR! command "/usr/local/Cellar/node/0.10.6/bin/node" "/usr/local/bin/npm" "install" "karma"
npm ERR! cwd /Users/thomas/Code/merge-ecos-angular
npm ERR! node -v v0.10.6
npm ERR! npm -v 1.2.18
npm ERR! path /Users/thomas/Code/merge-ecos-angular/node_modules/karma/node_modules/minimatch/README.md
npm ERR! fstream_path /Users/thomas/Code/merge-ecos-angular/node_modules/karma/node_modules/minimatch/README.md
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack /usr/local/Cellar/node/0.10.6/lib/node_modules/npm/node_modules/fstream/lib/writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)
npm ERR! Error: ENOENT, lstat '/Users/thomas/Code/merge-ecos-angular/node_modules/karma/node_modules/connect/LICENSE'
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 Darwin 12.5.0
npm ERR! command "/usr/local/Cellar/node/0.10.6/bin/node" "/usr/local/bin/npm" "install" "karma"
npm ERR! cwd /Users/thomas/Code/merge-ecos-angular
npm ERR! node -v v0.10.6
npm ERR! npm -v 1.2.18
npm ERR! path /Users/thomas/Code/merge-ecos-angular/node_modules/karma/node_modules/connect/LICENSE
npm ERR! fstream_path /Users/thomas/Code/merge-ecos-angular/node_modules/karma/node_modules/connect/LICENSE
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack /usr/local/Cellar/node/0.10.6/lib/node_modules/npm/node_modules/fstream/lib/writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)
npm ERR! Error: ENOENT, lstat '/Users/thomas/Code/merge-ecos-angular/node_modules/karma/node_modules/colors/colors.js'
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 Darwin 12.5.0
npm ERR! command "/usr/local/Cellar/node/0.10.6/bin/node" "/usr/local/bin/npm" "install" "karma"
npm ERR! cwd /Users/thomas/Code/merge-ecos-angular
npm ERR! node -v v0.10.6
npm ERR! npm -v 1.2.18
npm ERR! path /Users/thomas/Code/merge-ecos-angular/node_modules/karma/node_modules/colors/colors.js
npm ERR! fstream_path /Users/thomas/Code/merge-ecos-angular/node_modules/karma/node_modules/colors/colors.js
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack /usr/local/Cellar/node/0.10.6/lib/node_modules/npm/node_modules/fstream/lib/writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)
npm ERR! Error: ENOENT, lstat '/Users/thomas/Code/merge-ecos-angular/node_modules/karma/node_modules/chokidar/README.md'
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 Darwin 12.5.0
npm ERR! command "/usr/local/Cellar/node/0.10.6/bin/node" "/usr/local/bin/npm" "install" "karma"
npm ERR! cwd /Users/thomas/Code/merge-ecos-angular
npm ERR! node -v v0.10.6
npm ERR! npm -v 1.2.18
npm ERR! path /Users/thomas/Code/merge-ecos-angular/node_modules/karma/node_modules/chokidar/README.md
npm ERR! fstream_path /Users/thomas/Code/merge-ecos-angular/node_modules/karma/node_modules/chokidar/README.md
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack /usr/local/Cellar/node/0.10.6/lib/node_modules/npm/node_modules/fstream/lib/writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)
npm ERR! Error: ENOENT, lstat '/Users/thomas/Code/merge-ecos-angular/node_modules/karma/node_modules/log4js/README.md'
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 Darwin 12.5.0
npm ERR! command "/usr/local/Cellar/node/0.10.6/bin/node" "/usr/local/bin/npm" "install" "karma"
npm ERR! cwd /Users/thomas/Code/merge-ecos-angular
npm ERR! node -v v0.10.6
npm ERR! npm -v 1.2.18
npm ERR! path /Users/thomas/Code/merge-ecos-angular/node_modules/karma/node_modules/log4js/README.md
npm ERR! fstream_path /Users/thomas/Code/merge-ecos-angular/node_modules/karma/node_modules/log4js/README.md
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack /usr/local/Cellar/node/0.10.6/lib/node_modules/npm/node_modules/fstream/lib/writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)
npm ERR! Error: ENOENT, lstat '/Users/thomas/Code/merge-ecos-angular/node_modules/karma/node_modules/glob/README.md'
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 Darwin 12.5.0
npm ERR! command "/usr/local/Cellar/node/0.10.6/bin/node" "/usr/local/bin/npm" "install" "karma"
npm ERR! cwd /Users/thomas/Code/merge-ecos-angular
npm ERR! node -v v0.10.6
npm ERR! npm -v 1.2.18
npm ERR! path /Users/thomas/Code/merge-ecos-angular/node_modules/karma/node_modules/glob/README.md
npm ERR! fstream_path /Users/thomas/Code/merge-ecos-angular/node_modules/karma/node_modules/glob/README.md
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack /usr/local/Cellar/node/0.10.6/lib/node_modules/npm/node_modules/fstream/lib/writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)
npm ERR! Error: ENOENT, lstat '/Users/thomas/Code/merge-ecos-angular/node_modules/karma/node_modules/lodash/README.md'
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 Darwin 12.5.0
npm ERR! command "/usr/local/Cellar/node/0.10.6/bin/node" "/usr/local/bin/npm" "install" "karma"
npm ERR! cwd /Users/thomas/Code/merge-ecos-angular
npm ERR! node -v v0.10.6
npm ERR! npm -v 1.2.18
npm ERR! path /Users/thomas/Code/merge-ecos-angular/node_modules/karma/node_modules/lodash/README.md
npm ERR! fstream_path /Users/thomas/Code/merge-ecos-angular/node_modules/karma/node_modules/lodash/README.md
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack /usr/local/Cellar/node/0.10.6/lib/node_modules/npm/node_modules/fstream/lib/writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)
npm ERR! Error: ENOENT, lstat '/Users/thomas/Code/merge-ecos-angular/node_modules/karma/node_modules/useragent/README.md'
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 Darwin 12.5.0
npm ERR! command "/usr/local/Cellar/node/0.10.6/bin/node" "/usr/local/bin/npm" "install" "karma"
npm ERR! cwd /Users/thomas/Code/merge-ecos-angular
npm ERR! node -v v0.10.6
npm ERR! npm -v 1.2.18
npm ERR! path /Users/thomas/Code/merge-ecos-angular/node_modules/karma/node_modules/useragent/README.md
npm ERR! fstream_path /Users/thomas/Code/merge-ecos-angular/node_modules/karma/node_modules/useragent/README.md
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack /usr/local/Cellar/node/0.10.6/lib/node_modules/npm/node_modules/fstream/lib/writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)
npm ERR! Error: ENOENT, lstat '/Users/thomas/Code/merge-ecos-angular/node_modules/karma/node_modules/optimist/index.js'
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 Darwin 12.5.0
npm ERR! command "/usr/local/Cellar/node/0.10.6/bin/node" "/usr/local/bin/npm" "install" "karma"
npm ERR! cwd /Users/thomas/Code/merge-ecos-angular
npm ERR! node -v v0.10.6
npm ERR! npm -v 1.2.18
npm ERR! path /Users/thomas/Code/merge-ecos-angular/node_modules/karma/node_modules/optimist/index.js
npm ERR! fstream_path /Users/thomas/Code/merge-ecos-angular/node_modules/karma/node_modules/optimist/index.js
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack /usr/local/Cellar/node/0.10.6/lib/node_modules/npm/node_modules/fstream/lib/writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)
npm ERR! Error: ENOENT, lstat '/Users/thomas/Code/merge-ecos-angular/node_modules/karma/node_modules/http-proxy/README.md'
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 Darwin 12.5.0
npm ERR! command "/usr/local/Cellar/node/0.10.6/bin/node" "/usr/local/bin/npm" "install" "karma"
npm ERR! cwd /Users/thomas/Code/merge-ecos-angular
npm ERR! node -v v0.10.6
npm ERR! npm -v 1.2.18
npm ERR! path /Users/thomas/Code/merge-ecos-angular/node_modules/karma/node_modules/http-proxy/README.md
npm ERR! fstream_path /Users/thomas/Code/merge-ecos-angular/node_modules/karma/node_modules/http-proxy/README.md
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack /usr/local/Cellar/node/0.10.6/lib/node_modules/npm/node_modules/fstream/lib/writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)
npm ERR! Error: ENOENT, lstat '/Users/thomas/Code/merge-ecos-angular/node_modules/karma/node_modules/q/README.md'
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 Darwin 12.5.0
npm ERR! command "/usr/local/Cellar/node/0.10.6/bin/node" "/usr/local/bin/npm" "install" "karma"
npm ERR! cwd /Users/thomas/Code/merge-ecos-angular
npm ERR! node -v v0.10.6
npm ERR! npm -v 1.2.18
npm ERR! path /Users/thomas/Code/merge-ecos-angular/node_modules/karma/node_modules/q/README.md
npm ERR! fstream_path /Users/thomas/Code/merge-ecos-angular/node_modules/karma/node_modules/q/README.md
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack /usr/local/Cellar/node/0.10.6/lib/node_modules/npm/node_modules/fstream/lib/writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     /Users/thomas/Code/merge-ecos-angular/npm-debug.log
npm ERR! not ok code 0
[34]
@ravinggenius

I have karma installed globally from another project. For now I guess I can just use that.

@luk-

Try this again on latest node and npm and let us know if you still have an issue.

@luk- luk- closed this
@ravinggenius

Everything seems to be working now. Thanks!

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.