运行npm install时出错--save @ ionic-native / local-notifications

时间:2017-11-25 19:11:54

标签: android angular ionic-framework npm cross-platform

我尝试通过运行以下命令将LocalNotifications插件添加到我的离子应用中:

=> npm install --save@ionic-native/local-notifications

我收到以下错误:

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 
(node_modules\chokidar\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for 
fsevents@1.1.3: wanted {"os":"darwin","arch":"any"} (current: 
{"os":"win32","arch":"x64"})

0 个答案:

没有答案