【发布时间】:2017-06-27 11:00:36
【问题描述】:
我正在尝试将 angular-cli 安装到我的 linux Mint 32 位计算机中。但是安装失败。 我进入终端的命令是:
npm install -g angular-cli
还有输出:
npm WARN deprecated minimatch@2.0.10: 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
└─┬ angular-cli@1.0.0-beta.28.3
└── UNMET PEER DEPENDENCY rxjs@^5.0.1
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules/angular-cli/node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.0.17: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"ia32"})
npm WARN @angular/core@2.4.7 requires a peer of rxjs@^5.0.1 but none was installed.
请写下如何克服这个错误并正确安装 angular-cli ...
【问题讨论】:
-
是的!你说得对。但是没有答案可以解决我的问题。因此,如果您有任何建议/解决方案,请告诉我。 @MarkvanStraten
标签: node.js angular rxjs angular-cli