我正在使用8.9.2版本的节点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
我想安装Angular的命令是:npm install -g @ angular / cli