cordova cli installation error

后端 未结 9 785
长情又很酷
长情又很酷 2021-01-20 18:11

I try updating my ionic cordova cli when i started getting issues installing the two package, but now ionic have been successfully installed and i have tried installing the

9条回答
  •  心在旅途
    2021-01-20 18:39

    Hi Try cleaning you node cache by running

    npm cache clean
    

    then delete folder cordova.delete or cordova at the file location

     C:\Users\USER\AppData\Roaming\npm\node_modules
    

    and then search for PowerShell in run and open it.and type

    npm install -g cordova
    

    worked for me. and please try disabling your antivirus as well.

提交回复
热议问题