UNMET PEER DEPENDENCY generator-karma @> = 0.9.0

I am installing version 5.6 from node.json a CentOS 7 server generator-angular, and in addition to some failure warnings, the following error occurs:

UNMET PEER DEPENDENCY generator-karma@>=0.9.0

I follow the instructions from this lesson . How can I resolve this error so that I npmcan successfully install generator-angular? Also have any obsolescence warnings that might be affected? Is there a way to install generator-angularwithout using obsolete methods?

Here is the terminal output indicating ERROR along with the failure warnings:

[root@localhost ~]# npm install -g generator-angular
npm WARN deprecated CSSselect@0.4.1: the module is now available as 'css-select'
npm WARN deprecated CSSwhat@0.4.7: the module is now available as 'css-what'
npm WARN deprecated lodash@2.1.0: lodash@<3.0.0 is no longer maintained. Upgrade to lodash@^4.0.0.
/usr/lib
β”œβ”€β”¬ generator-angular@0.15.1 
β”‚ β”œβ”€β”¬ chalk@1.1.1 
β”‚ β”‚ β”œβ”€β”€ ansi-styles@2.1.0 
β”‚ β”‚ β”œβ”€β”€ escape-string-regexp@1.0.4 
β”‚ β”‚ β”œβ”€β”€ has-ansi@2.0.0 
β”‚ β”‚ β”œβ”€β”€ strip-ansi@3.0.0 
β”‚ β”‚ └── supports-color@2.0.0 
β”‚ β”œβ”€β”¬ wiredep@2.2.2 
β”‚ β”‚ β”œβ”€β”¬ bower-config@0.5.2 
β”‚ β”‚ β”‚ β”œβ”€β”€ graceful-fs@2.0.3 
β”‚ β”‚ β”‚ β”œβ”€β”€ mout@0.9.1 
β”‚ β”‚ β”‚ β”œβ”€β”¬ optimist@0.6.1 
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ minimist@0.0.10 
β”‚ β”‚ β”‚ β”‚ └── wordwrap@0.0.3 
β”‚ β”‚ β”‚ └── osenv@0.0.3 
β”‚ β”‚ β”œβ”€β”¬ 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 
β”‚ β”‚ β”œβ”€β”¬ glob@4.5.3 
β”‚ β”‚ β”‚ β”œβ”€β”¬ inflight@1.0.4 
β”‚ β”‚ β”‚ β”‚ └── wrappy@1.0.1 
β”‚ β”‚ β”‚ β”œβ”€β”€ inherits@2.0.1 
β”‚ β”‚ β”‚ β”œβ”€β”¬ minimatch@2.0.10 
β”‚ β”‚ β”‚ β”‚ └─┬ brace-expansion@1.1.3 
β”‚ β”‚ β”‚ β”‚   β”œβ”€β”€ balanced-match@0.3.0 
β”‚ β”‚ β”‚ β”‚   └── concat-map@0.0.1 
β”‚ β”‚ β”‚ └── once@1.3.3 
β”‚ β”‚ β”œβ”€β”€ lodash@2.4.2 
β”‚ β”‚ β”œβ”€β”€ minimist@1.2.0 
β”‚ β”‚ β”œβ”€β”€ propprop@0.3.0 
β”‚ β”‚ └─┬ through2@0.6.5 
β”‚ β”‚   β”œβ”€β”¬ readable-stream@1.0.33 
β”‚ β”‚   β”‚ β”œβ”€β”€ core-util-is@1.0.2 
β”‚ β”‚   β”‚ β”œβ”€β”€ isarray@0.0.1 
β”‚ β”‚   β”‚ └── string_decoder@0.10.31 
β”‚ β”‚   └── xtend@4.0.1 
β”‚ β”œβ”€β”¬ yeoman-generator@0.16.0 
β”‚ β”‚ β”œβ”€β”€ async@0.2.10 
β”‚ β”‚ β”œβ”€β”¬ chalk@0.4.0 
β”‚ β”‚ β”‚ β”œβ”€β”€ ansi-styles@1.0.0 
β”‚ β”‚ β”‚ β”œβ”€β”€ has-color@0.1.7 
β”‚ β”‚ β”‚ └── strip-ansi@0.1.1 
β”‚ β”‚ β”œβ”€β”¬ cheerio@0.13.1 
β”‚ β”‚ β”‚ β”œβ”€β”¬ CSSselect@0.4.1 
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ CSSwhat@0.4.7 
β”‚ β”‚ β”‚ β”‚ └── domutils@1.4.3 
β”‚ β”‚ β”‚ β”œβ”€β”€ entities@0.5.0 
β”‚ β”‚ β”‚ β”œβ”€β”¬ htmlparser2@3.4.0 
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ domelementtype@1.3.0 
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ domhandler@2.2.1 
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ domutils@1.3.0 
β”‚ β”‚ β”‚ β”‚ └── readable-stream@1.1.13 
β”‚ β”‚ β”‚ └── underscore@1.5.2 
β”‚ β”‚ β”œβ”€β”¬ class-extend@0.1.2 
β”‚ β”‚ β”‚ └── object-assign@2.1.1 
β”‚ β”‚ β”œβ”€β”€ dargs@0.1.0 
β”‚ β”‚ β”œβ”€β”€ debug@0.7.4 
β”‚ β”‚ β”œβ”€β”€ diff@1.0.8 
β”‚ β”‚ β”œβ”€β”¬ download@0.1.19 
β”‚ β”‚ β”‚ β”œβ”€β”¬ decompress@0.2.5 
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ adm-zip@0.4.7 
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”¬ ext-name@1.0.1 
β”‚ β”‚ β”‚ β”‚ β”‚ └─┬ ext-list@0.2.0 
β”‚ β”‚ β”‚ β”‚ β”‚   └─┬ got@0.2.0 
β”‚ β”‚ β”‚ β”‚ β”‚     └── object-assign@0.3.1 
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”¬ stream-combiner@0.0.4 
β”‚ β”‚ β”‚ β”‚ β”‚ └── duplexer@0.1.1 
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”¬ tar@0.1.20 
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block-stream@0.0.8 
β”‚ β”‚ β”‚ β”‚ β”‚ └─┬ fstream@0.1.31 
β”‚ β”‚ β”‚ β”‚ β”‚   β”œβ”€β”€ graceful-fs@3.0.8 
β”‚ β”‚ β”‚ β”‚ β”‚   └─┬ mkdirp@0.5.1 
β”‚ β”‚ β”‚ β”‚ β”‚     └── minimist@0.0.8 
β”‚ β”‚ β”‚ β”‚ └─┬ tempfile@0.1.3 
β”‚ β”‚ β”‚ β”‚   └── uuid@1.4.2 
β”‚ β”‚ β”‚ β”œβ”€β”€ each-async@0.1.3 
β”‚ β”‚ β”‚ β”œβ”€β”€ get-stdin@0.1.0 
β”‚ β”‚ β”‚ β”œβ”€β”€ get-urls@0.1.2 
β”‚ β”‚ β”‚ β”œβ”€β”¬ nopt@2.2.1 
β”‚ β”‚ β”‚ β”‚ └── abbrev@1.0.7 
β”‚ β”‚ β”‚ β”œβ”€β”¬ request@2.69.0 
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ aws-sign2@0.6.0 
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ aws4@1.2.1 
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”¬ bl@1.0.3 
β”‚ β”‚ β”‚ β”‚ β”‚ └─┬ readable-stream@2.0.5 
β”‚ β”‚ β”‚ β”‚ β”‚   β”œβ”€β”€ process-nextick-args@1.0.6 
β”‚ β”‚ β”‚ β”‚ β”‚   └── util-deprecate@1.0.2 
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ caseless@0.11.0 
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”¬ combined-stream@1.0.5 
β”‚ β”‚ β”‚ β”‚ β”‚ └── delayed-stream@1.0.0 
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ extend@3.0.0 
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ forever-agent@0.6.1 
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”¬ form-data@1.0.0-rc3 
β”‚ β”‚ β”‚ β”‚ β”‚ └── async@1.5.2 
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”¬ har-validator@2.0.6 
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”¬ commander@2.9.0 
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── graceful-readlink@1.0.1 
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”¬ is-my-json-valid@2.12.4 
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ generate-function@2.0.0 
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”¬ generate-object-property@1.2.0 
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── is-property@1.0.2 
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── jsonpointer@2.0.0 
β”‚ β”‚ β”‚ β”‚ β”‚ └─┬ pinkie-promise@2.0.0 
npm WARN generator-angular@0.15.1 requires a peer of generator-karma@>=0.9.0 but none was installed.

β”‚ β”‚ β”‚ β”‚ β”œβ”€β”¬ hawk@3.1.3 
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ boom@2.10.1 
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ cryptiles@2.0.5 
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ hoek@2.16.3 
β”‚ β”‚ β”‚ β”‚ β”‚ └── sntp@1.0.9 
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”¬ http-signature@1.1.1 
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ assert-plus@0.2.0 
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”¬ jsprim@1.2.2 
β”‚   β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ extsprintf@1.0.2 
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ json-schema@0.2.2 
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── verror@1.3.6 
β”‚ β”‚ β”‚ β”‚ β”‚ └─┬ sshpk@1.7.4 
β”‚ β”‚ β”‚ β”‚ β”‚   β”œβ”€β”€ asn1@0.2.3 
β”‚ β”‚ β”‚ β”‚ β”‚   β”œβ”€β”¬ dashdash@1.13.0 
β”‚ β”‚ β”‚ β”‚ β”‚   β”‚ └── assert-plus@1.0.0 
β”‚ β”‚ β”‚ β”‚ β”‚   β”œβ”€β”€ ecc-jsbn@0.1.1 
β”‚ β”‚ β”‚ β”‚ β”‚   β”œβ”€β”€ jodid25519@1.0.2 
β”‚ β”‚ β”‚ β”‚ β”‚   β”œβ”€β”€ jsbn@0.1.0 
β”‚ β”‚ β”‚ β”‚ β”‚   └── tweetnacl@0.13.3 
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ is-typedarray@1.0.0 
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ isstream@0.1.2 
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”¬ mime-types@2.1.9 
β”‚ β”‚ β”‚ β”‚ β”‚ └── mime-db@1.21.0 
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ oauth-sign@0.8.1 
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ qs@6.0.2 
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ stringstream@0.0.5 
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ tough-cookie@2.2.1 
β”‚ β”‚ β”‚ β”‚ └── tunnel-agent@0.4.2 
β”‚ β”‚ β”‚ └─┬ through2@0.4.2 
β”‚ β”‚ β”‚   └─┬ xtend@2.1.2 
β”‚ β”‚ β”‚     └── object-keys@0.4.0 
β”‚ β”‚ β”œβ”€β”¬ file-utils@0.1.5 
β”‚ β”‚ β”‚ β”œβ”€β”¬ glob@3.2.11 
β”‚ β”‚ β”‚ β”‚ └── minimatch@0.3.0 
β”‚ β”‚ β”‚ β”œβ”€β”€ isbinaryfile@0.1.9 
β”‚ β”‚ β”‚ β”œβ”€β”€ lodash@2.1.0 
β”‚ β”‚ β”‚ └─┬ minimatch@0.2.14 
β”‚ β”‚ β”‚   β”œβ”€β”€ lru-cache@2.7.3 
β”‚ β”‚ β”‚   └── sigmund@1.0.1 
β”‚ β”‚ β”œβ”€β”¬ findup-sync@0.1.3 
β”‚ β”‚ β”‚ └─┬ glob@3.2.11 
β”‚ β”‚ β”‚   └── minimatch@0.3.0 
β”‚ β”‚ β”œβ”€β”¬ glob@3.2.11 
β”‚ β”‚ β”‚ └── minimatch@0.3.0 
β”‚ β”‚ β”œβ”€β”€ iconv-lite@0.2.11 
β”‚ β”‚ β”œβ”€β”¬ inquirer@0.4.1 
β”‚ β”‚ β”‚ β”œβ”€β”¬ cli-color@0.2.3 
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ es5-ext@0.9.2 
β”‚ β”‚ β”‚ β”‚ └─┬ memoizee@0.2.6 
β”‚ β”‚ β”‚ β”‚   β”œβ”€β”€ event-emitter@0.2.2 
β”‚ β”‚ β”‚ β”‚   └── next-tick@0.1.0 
β”‚ β”‚ β”‚ β”œβ”€β”€ mute-stream@0.0.4 
β”‚ β”‚ β”‚ β”œβ”€β”¬ readline2@0.1.1 
β”‚ β”‚ β”‚ β”‚ └─┬ strip-ansi@2.0.1 
β”‚ β”‚ β”‚ β”‚   └── ansi-regex@1.1.1 
β”‚ β”‚ β”‚ └── through@2.3.8 
β”‚ β”‚ β”œβ”€β”€ isbinaryfile@2.0.4 
β”‚ β”‚ β”œβ”€β”€ mime@1.2.11 
β”‚ β”‚ β”œβ”€β”€ mkdirp@0.3.5 
β”‚ β”‚ β”œβ”€β”¬ request@2.30.0 
β”‚ β”‚ β”‚ β”œβ”€β”€ aws-sign2@0.5.0 
β”‚ β”‚ β”‚ β”œβ”€β”€ forever-agent@0.5.2 
β”‚ β”‚ β”‚ β”œβ”€β”¬ form-data@0.1.4 
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ async@0.9.2 
β”‚ β”‚ β”‚ β”‚ └─┬ combined-stream@0.0.7 
β”‚ β”‚ β”‚ β”‚   └── delayed-stream@0.0.5 
β”‚ β”‚ β”‚ β”œβ”€β”¬ hawk@1.0.0 
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ boom@0.4.2 
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ cryptiles@0.2.2 
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ hoek@0.9.1 
β”‚ β”‚ β”‚ β”‚ └── sntp@0.2.4 
β”‚ β”‚ β”‚ β”œβ”€β”¬ http-signature@0.10.1 
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ asn1@0.1.11 
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ assert-plus@0.1.5 
β”‚ β”‚ β”‚ β”‚ └── ctype@0.5.3 
β”‚ β”‚ β”‚ β”œβ”€β”€ json-stringify-safe@5.0.1 
β”‚ β”‚ β”‚ β”œβ”€β”€ node-uuid@1.4.7 
β”‚ β”‚ β”‚ β”œβ”€β”€ oauth-sign@0.3.0 
β”‚ β”‚ β”‚ β”œβ”€β”€ qs@0.6.6 
β”‚ β”‚ β”‚ β”œβ”€β”¬ tough-cookie@0.9.15 
β”‚ β”‚ β”‚ β”‚ └── punycode@1.4.0 
β”‚ β”‚ β”‚ └── tunnel-agent@0.3.0 
β”‚ β”‚ β”œβ”€β”€ rimraf@2.2.8 
β”‚ β”‚ β”œβ”€β”€ shelljs@0.2.6 
β”‚ β”‚ β”œβ”€β”€ text-table@0.2.0 
β”‚ β”‚ └── underscore.string@2.3.3 
β”‚ └─┬ yosay@1.1.0 
β”‚   β”œβ”€β”€ ansi-regex@2.0.0 
β”‚   β”œβ”€β”€ pad-component@0.0.1 
β”‚   β”œβ”€β”¬ repeating@2.0.0 
β”‚   β”‚ └─┬ is-finite@1.0.1 
β”‚   β”‚   └── number-is-nan@1.0.0 
β”‚   β”œβ”€β”¬ string-width@1.0.1 
β”‚   β”‚ β”œβ”€β”€ code-point-at@1.0.0 
β”‚   β”‚ └── is-fullwidth-code-point@1.0.0 
β”‚   β”œβ”€β”¬ taketalk@1.0.0 
β”‚   β”‚ └── get-stdin@4.0.1 
β”‚   └── word-wrap@1.1.0 
└── UNMET PEER DEPENDENCY generator-karma@>=0.9.0
[root@localhost ~]# 
+4
source share
1

, .

npm install -g grunt-cli bower yo generator-karma generator-angular
+9

Source: https://habr.com/ru/post/1628901/


All Articles