简体   繁体   中英

How to solve “unsupported platform for fsevents@1.1.1: wanted”

I tried to install angular-cli, but I found this warn:

unsupported platform for fsevents@1.1.1: wanted"(OS windows 10).

I am beginner in Angular, so I am expecting simple solution to solve this.

Error message screenshot: 错误信息

Create an optionalDependencies in package.json instead of devDependencies :

"optionalDependencies": {
    "fsevents": "*"
}

This is just a Warning , so no need to take any further action. Go ahead and run your code.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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