[英]How to solve “unsupported platform for fsevents@1.1.1: wanted”
I tried to install angular-cli, but I found this warn: 我尝试安装angular-cli,但发现此警告:
unsupported platform for fsevents@1.1.1: wanted"(OS windows 10).
fsevents@1.1.1不受支持的平台:“需要”(OS Windows 10)。
I am beginner in Angular, so I am expecting simple solution to solve this. 我是Angular的初学者,所以我期望有简单的解决方案来解决此问题。
Create an optionalDependencies
in package.json instead of devDependencies
: 在package.json中创建一个
optionalDependencies
,而不是devDependencies
:
"optionalDependencies": {
"fsevents": "*"
}
This is just a Warning
, so no need to take any further action. 这只是一个
Warning
,因此无需采取任何进一步的措施。 Go ahead and run your code. 继续并运行您的代码。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.