Cordova error: Using “requireCordovaModule” to load non-cordova module “q” is not supported

后端 未结 14 843
情深已故
情深已故 2020-12-08 12:59

I noticed that the builds on our CI started to fail because of the following error:

Discovered plugin \"cordova-plugin-app-version\" in config.xml. Adding it         


        
相关标签:
14条回答
  • 2020-12-08 13:37

    I had the same issue. This is how I solved mine:

    cordova plugin | awk '{ print "cordova plugin rm " $1 " && cordova plugin add " $1 }' | sh
    ionic cordova remove android && ionic cordova add android
    
    0 讨论(0)
  • 2020-12-08 13:38

    C:\Windows\System32 to my PATH variable to fix this odd issue.

    0 讨论(0)
提交回复
热议问题