【问题标题】:Anuglar - npm audit fix - unhandled exception occurredAngular - npm 审计修复 - 发生未处理的异常
【发布时间】:2020-03-20 12:50:15
【问题描述】:

我正在使用 ng new 命令创建一个 Angular 应用程序。该应用程序包含 7 个漏洞,建议使用 npm aduit fix 来解决这些漏洞。 如果我不使用 npm audit fix 应用程序工作并使用 npm serve 运行但使用 npm audit fix 时出现以下错误,则会出现以下错误出现未处理的异常:作业名称“..getProjectMetadata”不存在。

【问题讨论】:

    标签: angular


    【解决方案1】:

    您使用的是哪个版本的 Angular?

    如果低于 9,则更新你的 cli 版本

    【讨论】:

    • 目前 angular 版本是 10。但是,当我问这个问题时,版本是 6。非常感谢。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2018-11-18
    • 2019-02-07
    • 2020-06-30
    • 2021-08-27
    • 2021-06-06
    • 2021-09-07
    • 1970-01-01
    相关资源
    最近更新 更多