Hi i wanted to install ionic with the following command and got Errno 17.
npm ERR! code EEXIST
npm ERR! syscall symlink
npm ERR! path ../lib/node_modules/ionic/bin/ionic
npm ERR! dest /Users/christopherwippel/.npm-global/bin/ionic
npm ERR! errno -17
npm ERR! EEXIST: file already exists, symlink '../lib/node_modules/ionic/bin/ionic' -> '/Users/christopherwippel/.npm-global/bin/ionic'
npm ERR! File exists: /Users/christopherwippel/.npm-global/bin/ionic
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/christopherwippel/.npm/_logs/2020-02-07T18_44_53_116Z-debug.log
christophersMBP:Desktop christopherwippel$
Does anybody know what the problem is and how i could solve it?
Thanks, if you need any additional information just let me know :)
You have to uninstall first
$ npm uninstall -g ionic
$ npm install -g @ionic/cli
As mentioned in the docs
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With