Upgrade cordova: cannot install plugins from git urls anymore

前端 未结 10 1577
眼角桃花
眼角桃花 2020-12-16 11:15

I did a cordova/phonegap upgrade and now I cannot install plugins from git urls anymore. Anyone experienced such an issue and already solved this?

$ cordova          


        
10条回答
  •  被撕碎了的回忆
    2020-12-16 11:48

    For anyone having same issue with cordova version 7.0.1 or later, solve mine by including a package.json file in my project base directory and ensuring the version in the package.json file is of the pattern X.X.X example 1.0.0 else you would get invalid version error.

提交回复
热议问题