【问题标题】:Not Found - GET https://registry.npmjs.org/@angualr%2Fcli - Not found未找到 - 获取 https://registry.npmjs.org/@angualr%2Fcli - 未找到
【发布时间】:2023-02-23 12:52:16
【问题描述】:

使用命令提示符,我试图安装 angular CLI 但它失败了。我有节点版本 v12.20.1。我正在尝试使用命令安装 angular cli

npm 安装-g @angualr/cli

它失败并出现错误:

错误!代码 E404

错误! 404 未找到 - GET https://registry.npmjs.org/@angualr%2Fcli - 未找到

错误! 404

错误! 404 '@angualr/cli@latest' 不在 npm 注册表中。

错误! 404 You should bug the author to publish it (or use the name yourself!)

错误! 404

错误! 404 请注意,您也可以从

错误! 404 tarball、文件夹、http url 或 git url。

我试图检查日志文件,我看到它试图从 http fetch GET 404 https://registry.npmjs.org/@angualr%2Fcli 并且我收到 404 Not Found - GET https://registry.npmjs.org/@angualr%2Fcli - Not found 错误。

我试图在命令下运行 npm 配置设置注册表http://registry.npmjs.org

并运行 cmd npm install -g @angualr/cli 仍然出现相同的错误

有人可以指导我如何安装 angular cli

我试图在命令下运行

npm 配置设置注册表http://registry.npmjs.org

我再次在命令下运行

npm 安装-g @angualr/cli

我收到以下错误

错误!代码 E404 错误! 404 未找到 - GET https://registry.npmjs.org/@angualr%2Fcli - 未找到 错误! 404 错误! 404 '@angualr/cli@latest' 不在 npm 注册表中。 错误! 404 You should bug the author to publish it (or use the name yourself!) 错误! 404 错误! 404 请注意,您也可以从 错误! 404 tarball、文件夹、http url 或 git url。

【问题讨论】:

    标签: node.js angular-cli


    【解决方案1】:

    你拼错了角度

    npm i @angular/cli

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2023-02-21
      • 2020-08-29
      • 2021-06-12
      • 1970-01-01
      • 2020-05-28
      • 1970-01-01
      • 2021-10-07
      相关资源
      最近更新 更多