C:\Users\21vde>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 EEXIST
npm ERR! path C:\Users\21vde\AppData\Roaming\npm\node_modules\@angular\cli\node_modules\.bin\uuid.ps1
npm ERR! Refusing to delete C:\Users\21vde\AppData\Roaming\npm\node_modules\@angular\cli\node_modules\.bin\uuid.ps1: is outside C:\Users\21vde\AppData\Roaming\npm\node_modules\@angular\cli\node_modules\uuid and not a link
npm ERR! File exists: C:\Users\21vde\AppData\Roaming\npm\node_modules\@angular\cli\node_modules\.bin\uuid.ps1
npm ERR! Remove the existing file and try again, or run npm
npm ERR! with --force to overwrite files recklessly.
答案 0 :(得分:0)
According to the Angular team,在 Angular 12 中已解决。
您可以在此Angular GitHub issue中找到更多详细信息。