如何解决如何解决安装角度cli问题
试图安装angular cli但出现错误。我不知道为什么会出现此问题。 如何解决此错误。如果有人知道,请帮助找到解决方法。
C:\>npm install -g @angular/cli
npm WARN deprecated request@2.88.2: request has been deprecated,see https://github.com/request/request/issues/3142
npm WARN deprecated har-validator@5.1.5: 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 举报,一经查实,本站将立刻删除。