我是 Angular 的新手。我正在浏览Angular 7 官方文档并尝试angular-in-memory-web-api
使用 npm 安装。但它显示以下错误。
命令:
npm install angular-in-memory-web-api --save
错误:
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.8 (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.8: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
+ angular-in-memory-web-api@0.8.0
updated 1 package and audited 42612 packages in 12.78s
found 1 high severity vulnerability
run `npm audit fix` to fix them, or `npm audit` for details
我尝试使用修复错误,npm audit fix
但没有帮助。显示以下错误。
命令:
npm audit fix
错误:
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.8 (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.8: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
up to date in 9.474s
fixed 0 of 1 vulnerability in 42612 scanned packages
1 vulnerability required manual review and could not be updated
我该如何解决这个问题?