📅  最后修改于: 2022-03-11 14:56:31.697000             🧑  作者: Mango
#uninstall first
sudo npm uninstall -g cordova
#clear npm cache
sudo npm cache clean
#re-install cordova again
sudo npm install -g cordova