npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: want

D:\ionic_ demo\demo4> npm uninstall -D @ionic/cli-plugin-ionic-angular
npm WARN @ionic-native/ [email protected] requires a peer of @ionic-native/core@^4.11.0 but none is installed. You must install peer dependencies yourself.
npm WARN @ionic-native/ [email protected] requires a peer of @ionic-native/core@^4.11.0 but none is installed. You must install peer dependenci es yourself.
npm WARN @ionic-native/ [email protected] requires a peer of @ionic-native/core@^4.11.0 but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_ modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected] : wanted {“os”:”darwin”,”arch”:”any”} (current: {“os”:”win32″,”arch”:”x64″})

Reason: fsevents is not in package.json, but it is still installed because your system is not a Windows system. Fsevents is an optional dependency of Apple system. Your project may be a team project. Someone else has installed fsevents related dependency library on his Mac, so here you will install it on your windows. You can check if there are fsevents related dependencies in your package. JSON file. Just delete them
* if not, delete the node_ Fsevent is a Mac OSX system, you use it in win or Linux, so you can ignore it.

Author: Guo Guo’s Xiao Guo
source: CSDN
original text: https://blog.csdn.net/qq_ 35899070/article/details/82841930
copyright notice: This article is the original article of the blogger, please attach the blog link if you want to reprint it

Similar Posts: