【发布时间】:2023-11-11 09:44:02
【问题描述】:
我使用的是 8.9.2 版本的 node js,当我尝试安装 angular cli 时
使用此命令:npm -g install @angular/cli
它显示了一些 npm 错误
这是我在 cmd 提示屏幕上看到的:
npm ERR! Unexpected end of JSON input while parsing near '...-2.3.0.tgz"},"engines'
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\haris_000\AppData\Roaming\npm-cache\_logs\2017-12-05T12_19_58_814Z-debug.log
【问题讨论】:
-
我也遇到了同样的问题。你是怎么解决的?
标签: node.js npm angular-cli npm-install