简体   繁体   English

Angular Cli安装失败者 - angular-cli / chokidents

[英]Angular Cli Installation failuer - angular-cli/chokidents

Latest Node version 6.7.0 最新节点版本6.7.0

I got this error while installation saying notsup not compatible with operating system 安装时说明notsup与操作系统不兼容,我收到此错误

Windows 10 Windows 10

在此输入图像描述

Please first clear cache of npm(npm cache clean). 请先清除npm的缓存(npm cache clean)。 So, you will receive the latest version of npm package. 因此,您将收到最新版本的npm包。

If you still facing same issue, then you need to append npm permission. 如果您仍面临同样的问题,那么您需要附加npm权限。 For that you can follow below link. 为此,您可以按照以下链接。

https://docs.npmjs.com/getting-started/fixing-npm-permissions https://docs.npmjs.com/getting-started/fixing-npm-permissions

What's shown in the screenshot are all warnings and should not prevent the install. 屏幕截图中显示的是所有警告,不应该阻止安装。

However, check my other answer for all things you can try if this is failing. 但是,如果失败,请检查可以尝试的所有事情的其他答案

Basically, try running the following: 基本上,尝试运行以下内容:

npm rm -g angular-cli
npm cache clear
npm i -g angular-cli --no-optional

Let me know how it goes. 让我知道事情的后续。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM