Cordova - Current working directory is not a Cordova-based project

前端 未结 14 2351
逝去的感伤
逝去的感伤 2020-12-30 19:56

I\'m using phonegap for my mobile project. My question is why I got this error when I try to search phonegap plugin using cordova CLI? I run this command in terminal to sear

14条回答
  •  悲&欢浪女
    2020-12-30 20:33

    Did you come here because your Azure DevOps (fka VSO/VSTS) Cordova build pipe task failed with "Current working directory is not a Cordova-based project"?

    Resolved by creating the required (and missing) folder 'www\', with a powershell having script:

    New-Item -ItemType directory -Path www\

提交回复
热议问题