yeoman / generator-karma

Yeoman generator for Karma
http://yeoman.io
BSD 2-Clause "Simplified" License
172 stars 48 forks source link

EPEERINVALID error when trying to update to generator-karma@1.0.0 - looking for yo but not finding it? #81

Closed domhnallw closed 8 years ago

domhnallw commented 8 years ago

Hi folks:

Having an issue here trying to update my yeoman environment after a period of inactivity. Running nodejs 0.12.7 on a Macbook under Yosemite (10.10) here. Am getting the following when I try to update generator-karma (either manually or through yo):

$ sudo npm install -g generator-karma
/usr/local/lib
├── generator-karma@1.0.0
└── UNMET PEER DEPENDENCY yo@>=1.0.0

npm WARN EPEERINVALID generator-karma@1.0.0 requires a peer of yo@>=1.0.0 but none was installed.
$

For what it's worth, yo is installed and should be sufficiently up to date:

$ yo --version
1.4.8
$ which yo
/usr/local/bin/yo
$

Any ideas on this would be appreciated, thanks!

domhnallw commented 8 years ago

Never mind, re-installing yo at the same time seemed to fix things. NodeJS's package management seems to be a bit fragile...

sklegg commented 8 years ago

I am getting this same error on Windows. Updated node (v4.2.2), npm (3.3.10) and yo (1.5.0) to latest.

C:\Users\slegg
? npm uninstall --global generator-karma

C:\Users\slegg
? npm install -g generator-karma
C:\Users\slegg\AppData\Roaming\npm
+-- generator-karma@1.0.0
¦ +-- sorted-object@1.0.0
¦ +-- underscore@1.8.3
¦ +-- yeoman-generator@0.19.2
¦   +-- async@0.9.2
¦   +-- chalk@1.1.1
¦   ¦ +-- ansi-styles@2.1.0
¦   ¦ +-- escape-string-regexp@1.0.3
¦   ¦ +-- has-ansi@2.0.0
¦   ¦ ¦ +-- ansi-regex@2.0.0
¦   ¦ +-- strip-ansi@3.0.0
¦   ¦ +-- supports-color@2.0.0
¦   +-- class-extend@0.1.2
¦   ¦ +-- object-assign@2.1.1
¦   +-- cli-table@0.3.1
¦   ¦ +-- colors@1.0.3
¦   +-- cross-spawn@0.2.9
¦   ¦ +-- lru-cache@2.7.0
¦   +-- dargs@4.0.1
¦   ¦ +-- number-is-nan@1.0.0
¦   +-- dateformat@1.0.11
¦   ¦ +-- get-stdin@5.0.0
¦   ¦ +-- meow@3.5.0
¦   ¦   +-- camelcase-keys@1.0.0
¦   ¦   ¦ +-- camelcase@1.2.1
¦   ¦   ¦ +-- map-obj@1.0.1
¦   ¦   +-- loud-rejection@1.0.0
¦   ¦   +-- minimist@1.2.0
¦   ¦   +-- normalize-package-data@2.3.5
¦   ¦   ¦ +-- hosted-git-info@2.1.4
¦   ¦   ¦ +-- is-builtin-module@1.0.0
¦   ¦   ¦ ¦ +-- builtin-modules@1.1.0
¦   ¦   ¦ +-- semver@5.0.3
¦   ¦   ¦ +-- validate-npm-package-license@3.0.1
¦   ¦   ¦   +-- spdx-correct@1.0.2
¦   ¦   ¦   ¦ +-- spdx-license-ids@1.1.0
¦   ¦   ¦   +-- spdx-expression-parse@1.0.0
¦   ¦   ¦     +-- spdx-exceptions@1.0.3
¦   ¦   +-- object-assign@4.0.1
¦   ¦   +-- read-pkg-up@1.0.1
¦   ¦   ¦ +-- find-up@1.0.0
¦   ¦   ¦ ¦ +-- path-exists@2.0.0
¦   ¦   ¦ +-- read-pkg@1.1.0
¦   ¦   ¦   +-- load-json-file@1.0.1
¦   ¦   ¦   +-- path-type@1.0.0
¦   ¦   +-- redent@1.0.0
¦   ¦   ¦ +-- indent-string@2.1.0
¦   ¦   ¦ ¦ +-- repeating@2.0.0
¦   ¦   ¦ ¦   +-- is-finite@1.0.1
¦   ¦   ¦ +-- strip-indent@1.0.1
¦   ¦   ¦   +-- get-stdin@4.0.1
¦   ¦   +-- trim-newlines@1.0.0
¦   +-- debug@2.2.0
¦   ¦ +-- ms@0.7.1
¦   +-- detect-conflict@1.0.0
¦   +-- diff@1.4.0
¦   +-- download@4.4.1
¦   ¦ +-- caw@1.1.0
¦   ¦ ¦ +-- get-proxy@1.0.1
¦   ¦ ¦ ¦ +-- rc@0.5.5
¦   ¦ ¦ ¦   +-- deep-extend@0.2.11
¦   ¦ ¦ ¦   +-- ini@1.3.4
¦   ¦ ¦ ¦   +-- minimist@0.0.10
¦   ¦ ¦ ¦   +-- strip-json-comments@0.1.3
¦   ¦ ¦ +-- is-obj@1.0.0
¦   ¦ ¦ +-- object-assign@3.0.0
¦   ¦ ¦ +-- tunnel-agent@0.4.1
¦   ¦ +-- concat-stream@1.5.1
¦   ¦ ¦ +-- typedarray@0.0.6
¦   ¦ +-- each-async@1.1.1
¦   ¦ ¦ +-- onetime@1.0.0
¦   ¦ ¦ +-- set-immediate-shim@1.0.1
¦   ¦ +-- filenamify@1.2.0
¦   ¦ ¦ +-- filename-reserved-regex@1.0.0
¦   ¦ ¦ +-- strip-outer@1.0.0
¦   ¦ ¦ +-- trim-repeated@1.0.0
¦   ¦ +-- got@5.1.0
¦   ¦ ¦ +-- create-error-class@2.0.1
¦   ¦ ¦ ¦ +-- capture-stack-trace@1.0.0
¦   ¦ ¦ +-- duplexify@3.4.2
¦   ¦ ¦ ¦ +-- end-of-stream@1.0.0
¦   ¦ ¦ +-- is-plain-obj@1.0.0
¦   ¦ ¦ +-- is-redirect@1.0.0
¦   ¦ ¦ +-- is-stream@1.0.1
¦   ¦ ¦ +-- lowercase-keys@1.0.0
¦   ¦ ¦ +-- node-status-codes@1.0.0
¦   ¦ ¦ +-- object-assign@4.0.1
¦   ¦ ¦ +-- parse-json@2.2.0
¦   ¦ ¦ ¦ +-- error-ex@1.3.0
¦   ¦ ¦ ¦   +-- is-arrayish@0.2.1
¦   ¦ ¦ +-- pinkie-promise@1.0.0
¦   ¦ ¦ ¦ +-- pinkie@1.0.0
¦   ¦ ¦ +-- timed-out@2.0.0
¦   ¦ ¦ +-- unzip-response@1.0.0
¦   ¦ ¦ +-- url-parse-lax@1.0.0
¦   ¦ +-- gulp-decompress@1.2.0
¦   ¦ ¦ +-- archive-type@3.0.1
¦   ¦ ¦ ¦ +-- file-type@2.12.0
¦   ¦ ¦ +-- decompress@3.0.0
¦   ¦ ¦ ¦ +-- buffer-to-vinyl@1.1.0
¦   ¦ ¦ ¦ ¦ +-- file-type@3.1.0
¦   ¦ ¦ ¦ ¦ +-- uuid@2.0.1
¦   ¦ ¦ ¦ +-- decompress-tar@3.1.0
¦   ¦ ¦ ¦ ¦ +-- is-tar@1.0.0
¦   ¦ ¦ ¦ ¦ +-- strip-dirs@1.1.1
¦   ¦ ¦ ¦ ¦ ¦ +-- get-stdin@4.0.1
¦   ¦ ¦ ¦ ¦ ¦ +-- is-absolute@0.1.7
¦   ¦ ¦ ¦ ¦ ¦ ¦ +-- is-relative@0.1.3
¦   ¦ ¦ ¦ ¦ ¦ +-- is-natural-number@2.0.0
¦   ¦ ¦ ¦ ¦ ¦ +-- sum-up@1.0.2
¦   ¦ ¦ ¦ ¦ +-- tar-stream@1.3.0
¦   ¦ ¦ ¦ ¦ ¦ +-- bl@1.0.0
¦   ¦ ¦ ¦ ¦ +-- vinyl@0.4.6
¦   ¦ ¦ ¦ ¦   +-- clone@0.2.0
¦   ¦ ¦ ¦ +-- decompress-tarbz2@3.1.0
¦   ¦ ¦ ¦ ¦ +-- is-bzip2@1.0.0
¦   ¦ ¦ ¦ ¦ +-- seek-bzip@1.0.5
¦   ¦ ¦ ¦ ¦ ¦ +-- commander@2.8.1
¦   ¦ ¦ ¦ ¦ ¦   +-- graceful-readlink@1.0.1
¦   ¦ ¦ ¦ ¦ +-- vinyl@0.4.6
¦   ¦ ¦ ¦ ¦   +-- clone@0.2.0
¦   ¦ ¦ ¦ +-- decompress-targz@3.1.0
¦   ¦ ¦ ¦ ¦ +-- is-gzip@1.0.0
¦   ¦ ¦ ¦ ¦ +-- vinyl@0.4.6
¦   ¦ ¦ ¦ ¦   +-- clone@0.2.0
¦   ¦ ¦ ¦ +-- decompress-unzip@3.4.0
¦   ¦ ¦ ¦ ¦ +-- is-zip@1.0.0
¦   ¦ ¦ ¦ ¦ +-- stat-mode@0.2.1
¦   ¦ ¦ ¦ ¦ +-- through2@2.0.0
¦   ¦ ¦ ¦ ¦ +-- yauzl@2.3.1
¦   ¦ ¦ ¦ ¦   +-- fd-slicer@1.0.1
¦   ¦ ¦ ¦ ¦   +-- pend@1.2.0
¦   ¦ ¦ ¦ +-- vinyl-assign@1.2.1
¦   ¦ ¦ ¦   +-- object-assign@4.0.1
¦   ¦ ¦ +-- gulp-util@3.0.7
¦   ¦ ¦   +-- array-differ@1.0.0
¦   ¦ ¦   +-- array-uniq@1.0.2
¦   ¦ ¦   +-- beeper@1.1.0
¦   ¦ ¦   +-- fancy-log@1.1.0
¦   ¦ ¦   +-- gulplog@1.0.0
¦   ¦ ¦   ¦ +-- glogg@1.0.0
¦   ¦ ¦   +-- has-gulplog@0.1.0
¦   ¦ ¦   ¦ +-- sparkles@1.0.0
¦   ¦ ¦   +-- lodash._reescape@3.0.0
¦   ¦ ¦   +-- lodash._reevaluate@3.0.0
¦   ¦ ¦   +-- lodash._reinterpolate@3.0.0
¦   ¦ ¦   +-- lodash.template@3.6.2
¦   ¦ ¦   ¦ +-- lodash._basecopy@3.0.1
¦   ¦ ¦   ¦ +-- lodash._basetostring@3.0.1
¦   ¦ ¦   ¦ +-- lodash._basevalues@3.0.0
¦   ¦ ¦   ¦ +-- lodash._isiterateecall@3.0.9
¦   ¦ ¦   ¦ +-- lodash.escape@3.0.0
¦   ¦ ¦   ¦ +-- lodash.keys@3.1.2
¦   ¦ ¦   ¦ ¦ +-- lodash._getnative@3.9.1
¦   ¦ ¦   ¦ ¦ +-- lodash.isarguments@3.0.4
¦   ¦ ¦   ¦ ¦ +-- lodash.isarray@3.0.4
¦   ¦ ¦   ¦ +-- lodash.restparam@3.6.1
¦   ¦ ¦   ¦ +-- lodash.templatesettings@3.1.0
¦   ¦ ¦   +-- multipipe@0.1.2
¦   ¦ ¦   ¦ +-- duplexer2@0.0.2
¦   ¦ ¦   ¦   +-- readable-stream@1.1.13
¦   ¦ ¦   +-- object-assign@3.0.0
¦   ¦ ¦   +-- through2@2.0.0
¦   ¦ ¦   +-- vinyl@0.5.3
¦   ¦ +-- gulp-rename@1.2.2
¦   ¦ +-- is-url@1.2.1
¦   ¦ +-- object-assign@4.0.1
¦   ¦ +-- read-all-stream@3.0.1
¦   ¦ +-- readable-stream@2.0.4
¦   ¦ ¦ +-- core-util-is@1.0.1
¦   ¦ ¦ +-- isarray@0.0.1
¦   ¦ ¦ +-- process-nextick-args@1.0.3
¦   ¦ ¦ +-- string_decoder@0.10.31
¦   ¦ ¦ +-- util-deprecate@1.0.2
¦   ¦ +-- stream-combiner2@1.1.1
¦   ¦ ¦ +-- duplexer2@0.1.2
¦   ¦ +-- vinyl@1.1.0
¦   ¦ ¦ +-- clone@1.0.2
¦   ¦ ¦ +-- clone-stats@0.0.1
¦   ¦ ¦ +-- replace-ext@0.0.1
¦   ¦ +-- vinyl-fs@2.2.1
¦   ¦ ¦ +-- glob-stream@5.0.0
¦   ¦ ¦ ¦ +-- glob2base@0.0.12
¦   ¦ ¦ ¦ ¦ +-- find-index@0.1.1
¦   ¦ ¦ ¦ +-- ordered-read-streams@0.2.0
¦   ¦ ¦ ¦ ¦ +-- isstream@0.1.2
¦   ¦ ¦ ¦ ¦ +-- readable-stream@1.1.13
¦   ¦ ¦ ¦ +-- unique-stream@2.2.0
¦   ¦ ¦ +-- graceful-fs@4.1.2
¦   ¦ ¦ +-- gulp-sourcemaps@1.6.0
¦   ¦ ¦ ¦ +-- convert-source-map@1.1.1
¦   ¦ ¦ ¦ +-- through2@2.0.0
¦   ¦ ¦ +-- is-valid-glob@0.3.0
¦   ¦ ¦ +-- merge-stream@1.0.0
¦   ¦ ¦ +-- object-assign@4.0.1
¦   ¦ ¦ +-- strip-bom@2.0.0
¦   ¦ ¦ ¦ +-- is-utf8@0.2.0
¦   ¦ ¦ +-- strip-bom-stream@1.0.0
¦   ¦ ¦ ¦ +-- first-chunk-stream@1.0.0
¦   ¦ ¦ +-- through2@2.0.0
¦   ¦ ¦ +-- through2-filter@2.0.0
¦   ¦ ¦   +-- through2@2.0.0
¦   ¦ +-- ware@1.3.0
¦   ¦   +-- wrap-fn@0.1.4
¦   ¦     +-- co@3.1.0
¦   +-- findup-sync@0.2.1
¦   ¦ +-- glob@4.3.5
¦   +-- github-username@1.1.1
¦   ¦ +-- get-stdin@1.0.0
¦   ¦ +-- got@2.9.2
¦   ¦   +-- infinity-agent@2.0.3
¦   ¦   +-- nested-error-stacks@1.0.1
¦   ¦   +-- prepend-http@1.0.3
¦   ¦   +-- read-all-stream@2.2.0
¦   ¦   +-- statuses@1.2.1
¦   +-- glob@5.0.15
¦   ¦ +-- inflight@1.0.4
¦   ¦ ¦ +-- wrappy@1.0.1
¦   ¦ +-- inherits@2.0.1
¦   ¦ +-- minimatch@2.0.10
¦   ¦ ¦ +-- brace-expansion@1.1.1
¦   ¦ ¦   +-- balanced-match@0.2.1
¦   ¦ ¦   +-- concat-map@0.0.1
¦   ¦ +-- once@1.3.2
¦   ¦ +-- path-is-absolute@1.0.0
¦   +-- gruntfile-editor@1.1.0
¦   ¦ +-- ast-query@1.0.1
¦   ¦   +-- escodegen@1.7.0
¦   ¦   ¦ +-- esprima@1.2.5
¦   ¦   ¦ +-- estraverse@1.9.3
¦   ¦   ¦ +-- esutils@2.0.2
¦   ¦   ¦ +-- optionator@0.5.0
¦   ¦   ¦ ¦ +-- deep-is@0.1.3
¦   ¦   ¦ ¦ +-- fast-levenshtein@1.0.7
¦   ¦   ¦ ¦ +-- levn@0.2.5
¦   ¦   ¦ ¦ +-- prelude-ls@1.1.2
¦   ¦   ¦ ¦ +-- type-check@0.3.1
¦   ¦   ¦ ¦ +-- wordwrap@0.0.3
¦   ¦   ¦ +-- source-map@0.2.0
¦   ¦   ¦   +-- amdefine@1.0.0
¦   ¦   +-- esprima@2.7.0
¦   ¦   +-- traverse@0.6.6
¦   +-- html-wiring@1.2.0
¦   ¦ +-- cheerio@0.19.0
¦   ¦ ¦ +-- css-select@1.0.0
¦   ¦ ¦ ¦ +-- boolbase@1.0.0
¦   ¦ ¦ ¦ +-- css-what@1.0.0
¦   ¦ ¦ ¦ +-- domutils@1.4.3
¦   ¦ ¦ ¦ +-- nth-check@1.0.1
¦   ¦ ¦ +-- dom-serializer@0.1.0
¦   ¦ ¦ ¦ +-- domelementtype@1.1.3
¦   ¦ ¦ +-- entities@1.1.1
¦   ¦ ¦ +-- htmlparser2@3.8.3
¦   ¦ ¦   +-- domelementtype@1.3.0
¦   ¦ ¦   +-- domhandler@2.3.0
¦   ¦ ¦   +-- domutils@1.5.1
¦   ¦ ¦   +-- entities@1.0.0
¦   ¦ ¦   +-- readable-stream@1.1.13
¦   ¦ +-- detect-newline@1.0.3
¦   ¦   +-- get-stdin@4.0.1
¦   +-- inquirer@0.8.5
¦   ¦ +-- ansi-regex@1.1.1
¦   ¦ +-- cli-width@1.1.0
¦   ¦ +-- figures@1.4.0
¦   ¦ +-- readline2@0.1.1
¦   ¦ ¦ +-- mute-stream@0.0.4
¦   ¦ ¦ +-- strip-ansi@2.0.1
¦   ¦ ¦   +-- ansi-regex@1.1.1
¦   ¦ +-- rx@2.5.3
¦   ¦ +-- through@2.3.8
¦   +-- istextorbinary@1.0.2
¦   ¦ +-- binaryextensions@1.0.0
¦   ¦ +-- textextensions@1.0.1
¦   +-- lodash@3.10.1
¦   +-- mem-fs-editor@1.2.3
¦   ¦ +-- vinyl@0.4.6
¦   ¦   +-- clone@0.2.0
¦   +-- mime@1.3.4
¦   +-- mkdirp@0.5.1
¦   ¦ +-- minimist@0.0.8
¦   +-- nopt@3.0.4
¦   ¦ +-- abbrev@1.0.7
¦   +-- pretty-bytes@1.0.4
¦   ¦ +-- get-stdin@4.0.1
¦   +-- read-chunk@1.0.1
¦   +-- rimraf@2.4.3
¦   +-- run-async@0.1.0
¦   +-- shelljs@0.4.0
¦   +-- sinon@1.17.2
¦   ¦ +-- formatio@1.1.1
¦   ¦ +-- lolex@1.3.2
¦   ¦ +-- samsam@1.1.2
¦   ¦ +-- util@0.10.3
¦   +-- text-table@0.2.0
¦   +-- through2@0.6.5
¦   ¦ +-- readable-stream@1.0.33
¦   ¦ +-- xtend@4.0.1
¦   +-- underscore.string@3.2.2
¦   +-- user-home@1.1.1
¦   +-- xdg-basedir@1.0.1
¦   +-- yeoman-assert@1.0.0
¦   ¦ +-- chalk@0.5.1
¦   ¦ ¦ +-- ansi-styles@1.1.0
¦   ¦ ¦ +-- has-ansi@0.1.0
¦   ¦ ¦ ¦ +-- ansi-regex@0.2.1
¦   ¦ ¦ +-- strip-ansi@0.3.0
¦   ¦ ¦ +-- supports-color@0.2.0
¦   ¦ +-- lodash@2.4.2
¦   +-- yeoman-environment@1.3.0
¦   ¦ +-- diff@2.2.0
¦   ¦ +-- globby@3.0.1
¦   ¦ ¦ +-- array-union@1.0.1
¦   ¦ ¦ +-- arrify@1.0.0
¦   ¦ ¦ +-- object-assign@4.0.1
¦   ¦ ¦ +-- pify@2.3.0
¦   ¦ +-- grouped-queue@0.3.0
¦   ¦ ¦ +-- lodash@2.4.2
¦   ¦ ¦ +-- setimmediate@1.0.4
¦   ¦ +-- inquirer@0.11.0
¦   ¦ ¦ +-- ansi-escapes@1.1.0
¦   ¦ ¦ +-- cli-cursor@1.0.2
¦   ¦ ¦ ¦ +-- restore-cursor@1.0.1
¦   ¦ ¦ ¦   +-- exit-hook@1.1.1
¦   ¦ ¦ +-- readline2@1.0.1
¦   ¦ ¦ ¦ +-- code-point-at@1.0.0
¦   ¦ ¦ ¦ +-- is-fullwidth-code-point@1.0.0
¦   ¦ ¦ ¦ +-- mute-stream@0.0.5
¦   ¦ ¦ +-- rx-lite@3.1.2
¦   ¦ +-- log-symbols@1.0.2
¦   ¦ +-- mem-fs@1.1.0
¦   ¦ ¦ +-- vinyl@0.4.6
¦   ¦ ¦ ¦ +-- clone@0.2.0
¦   ¦ ¦ +-- vinyl-file@1.2.1
¦   ¦ ¦   +-- vinyl@0.5.3
¦   ¦ +-- untildify@2.1.0
¦   ¦   +-- os-homedir@1.0.1
¦   +-- yeoman-welcome@1.0.1
+-- UNMET PEER DEPENDENCY yo@>=1.0.0

npm WARN EPEERINVALID generator-karma@1.0.0 requires a peer of yo@>=1.0.0 but none was installed.