不支持平台[email protected]

F:\WorkSpace\vToonVProductWK\exportV3ProjectSource\v3project_modul1>npm install vue@^2.5.17
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"})

+ [email protected]
updated 1 package and audited 12735 packages in 12.385s
found 260 vulnerabilities (245 low, 10 moderate, 5 high)
  run `npm audit fix` to fix them, or `npm audit` for details

解释一:

出现报错的原因: fsevent是mac osx系统的相关依赖,在win或者Linux下使用了 所以会有警告,忽略即可

fsevents不在package.json里,fsevents是苹果系统的可选依赖。可以检查项目的package.json 文件中是不是有fsevents相关依赖,如果有删除即可,否则删除node_modules文件夹,重新安装各项依赖亦可。
 

你可能感兴趣的:(笔记,学习)