【发布时间】:2019-04-05 00:00:39
【问题描述】:
我正在开发一个带有 .net 核心 web api 的 Angular 应用程序。
当我克隆这个存储库时,我尝试在 Angular 应用程序上运行 npm install,但出现了一个奇怪的错误:
npm install
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
audited 34090 packages in 14.711s
found 15 vulnerabilities (9 low, 6 high)
run `npm audit fix` to fix them, or `npm audit` for details
另外,如果我尝试执行 npm audit fix,我会收到更多错误:
npm audit fix
npm ERR! code ELOCKVERIFY
npm ERR! Errors were found in your package-lock.json, run npm install to fix them.
npm ERR! Invalid: lock file's @progress/kendo-theme-default@file:https:/registry.npmjs.org/@progress/kendo-theme-default/-/kendo-theme-default-2.48.1.tgz does not satisfy @progress/kendo-theme-default@file:lib/kendo-theme-default
npm ERR! Invalid: lock file's bootstrap@file:https:/registry.npmjs.org/bootstrap/-/bootstrap-4.0.0.tgz does not satisfy bootstrap@file:lib/bootstrap
我该如何解决这个问题?
【问题讨论】:
-
请包括您的错误跟踪而不是图像。