我試着安裝角cli到我的linux薄荷32位計算機。但是沒有安裝它。 我的命令到終端:與rxjs algular-cli安裝問題
npm install -g angular-cli
和輸出:
npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
/home/shwokat/!/.npm-global-me/bin/ng -> /home/shwokat/!/.npm-global-me/lib/node_modules/angular-cli/bin/ng
/home/shwokat/!/.npm-global-me/lib
└─┬ [email protected]
└── UNMET PEER DEPENDENCY [email protected]^5.0.1
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected]^1.0.0 (node_modules/angular-cli/node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"ia32"})
npm WARN @angular/[email protected] requires a peer of [email protected]^5.0.1 but none was installed.
請寫如何克服這種錯誤&安裝角CLI正確...
的【如何解決NPM未滿足PEER DEPENDENCY(http://stackoverflow.com/questions/35738346/how-to-solve-npm-unmet-peer-dependency) –
呀可能的複製!你是對的。但是沒有答案可以解決我的問題。所以,如果你有任何建議/解決方案,請讓我知道。 @MarkvanStraten –