[在此输入图像描述] [1]我从git hub克隆了我现有的项目,现在尝试安装angular-cli面临的错误。
Vipins-Air:angular2 vipingupta$ sudo npm install -g @angular/cli@latest
npm ERR! path /Users/vipingupta/.npm-global/bin/ng
npm ERR! code EEXIST
npm ERR! Refusing to delete /Users/vipingupta/.npm-global/bin/ng: ../lib/node_modules/angular-cli/bin/ng symlink target is not controlled by npm /Users/vipingupta/.npm-global/bin
npm ERR! File exists: /Users/vipingupta/.npm-global/bin/ng
npm ERR! Move it away, and try again.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/vipingupta/.npm/_logs/2017-06-06T05_22_33_327Z-debug.log
[1]:https://i.stack.imgur.com/tVBsz.png我的日志文件链接