错误
Using "requireCordovaModule" to load non-cordova module "q" is not supported. Instead, add this module to your dependencies and use regular "require" to load it.
解决:
根据提示将 ./hooks.js 中的 ctx.requireCordovaModule 替换为 require 就好了
错误
Using "requireCordovaModule" to load non-cordova module "q" is not supported. Instead, add this module to your dependencies and use regular "require" to load it.
解决:
根据提示将 ./hooks.js 中的 ctx.requireCordovaModule 替换为 require 就好了
本文标题:Cordova APP 升级后报错的解决
本文链接:https://www.haomeiwen.com/subject/mtqumrtx.html
网友评论