如何解决安装角度cli问题

问题描述

试图安装angular cli但出现错误。我不知道为什么会出现此问题。 如何解决错误。如果有人知道,请帮助找到解决方法

C:\>npm install -g @angular/cli

npm WARN deprecated [email protected]: request has been deprecated,see https://github.com/request/request/issues/3142 
npm WARN deprecated [email protected]: this library is no longer supported 
npm ERR! code ENOENT 
npm ERR! syscall rename 
npm ERR! path C:\Users\admin\AppData\Roaming\npm\node_modules\@angular\cli\node_modules\cacache\node_modules\rimraf 
npm ERR! dest C:\Users\admin\AppData\Roaming\npm\node_modules\@angular\cli\node_modules\cacache\node_modules\.rimraf.DELETE 
npm ERR! errno -4058 
npm ERR! enoent ENOENT: no such file or directory,rename 'C:\Users\admin\AppData\Roaming\npm\node_modules\@angular\cli\node_modules\cacache\node_modules\rimraf' -> 'C:\Users\admin\AppData\Roaming\npm\node_modules\@angular\cli\node_modules\cacache\node_modules\.rimraf.DELETE' 
npm ERR! enoent This is related to npm not being able to find a file. 
npm ERR! enoent 
npm ERR! A complete log of this run can be found in: 
npm ERR!     C:\Users\admin\AppData\Roaming\npm-cache\_logs\2020-08-24T13_33_12_867Z-debug.log

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)