Я хочу установить @angular/cli
, но он не работает, я переустанавливал Node, но проблема сохраняется.
Вывод текста:
MacBook-Pro-de-MAC:~ macayoub$ npm -v
6.14.4
MacBook-Pro-de-MAC:~ macayoub$ node -v
v12.16.2
MacBook-Pro-de-MAC:~ macayoub$ sudo npm install -g @angular/cli
Password:
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm ERR! code EEXIST
npm ERR! syscall symlink
npm ERR! path ../lib/node_modules/@angular/cli/bin/ng
npm ERR! dest /Users/macayoub/.npm-global/bin/ng
npm ERR! errno -17
npm ERR! EEXIST: file already exists, symlink '../lib/node_modules/@angular/cli/bin/ng' -> '/Users/macayoub/.npm-global/bin/ng'
npm ERR! File exists: /Users/macayoub/.npm-global/bin/ng
npm ERR! Remove the existing file and try again, or run npm
npm ERR! with --force to overwrite files recklessly.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/macayoub/.npm/_logs/2020-04-21T08_23_36_422Z-debug.log