Apache Cordova - uninstall globally

前端 未结 4 2005
予麋鹿
予麋鹿 2020-12-13 07:09

I\'ve installed cordova via npm and i did it globally, now i would like to remove it to reinstall it on single app folder

Any clue on how to do it safely?

4条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-13 07:30

    Try sudo npm uninstall cordova -g to uninstall it globally and then just npm install cordova without the -g flag after cding to the local app directory

提交回复
热议问题