cordova cli installation error

后端 未结 9 778
长情又很酷
长情又很酷 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:41

    I had faced a similar issue. Running the command prompt as an Administrator solved my issue. Try that option as well if you have not already tried.

    0 讨论(0)
  • 2021-01-20 18:43

    try running the command

    npm cache clean first

    and then re-install the package by running

    npm install -g cordova

    0 讨论(0)
  • 2021-01-20 18:44

    For me none of the above solutions worked. Then I tried this, which finally did the job :

    npm uninstall -g cordova
    npm install -g cordova
    
    0 讨论(0)
提交回复
热议问题