作者:中国传媒大学一零播本更_822 | 来源:互联网 | 2022-12-09 16:01
我在这里安装角材
通过以下命令成功安装角材料
1.npm install --save @angular/material
使用以下命令无法安装Angula CDK
1.npm install --save @angular/cdk
我在cmd中收到以下错误:
npm WARN tar zlib error: unexpected end of file
npm ERR! cb() never called!
npm ERR! This is an error with npm itself. Please report this error at:
npm ERR!
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Bonge\AppData\Roaming\npm-cache\_logs\2018-07-25T17_44_24_771Z-debug.log
参考,我从来没有遇到过这个问题,这是在我卸载cdk和angular材料之后发生的,所以现在我尝试再次安装它,
我需要怎么做才能解决这个问题?
1> user9964622..:
谷歌搜索后,这是我找到的解决方案
npm cache clean --force