vue安装element-ui报错:

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

+ element-ui@2.12.0
added 2 packages from 2 contributors, updated 1 package and audited 11829 packages in 9.792s
found 10 vulnerabilities (6 moderate, 4 high)
  run `npm audit fix` to fix them, or `npm audit` for details

此句话的意思是可以:警告可以跳过fsevent跳过可选依赖项:不支持fseve的平台,发现10个漏洞使用npm audit fix或者npm audit 修复他

所以无需理会继续下一步即可

AD:阿里云2000元代金券九折优惠点我领取 ¥2000元大礼包

AD:腾讯云2860元无门槛代金券,限时领取点我领取 ¥2860无门槛代金券