gpt4 book ai didi

cordova - 错误 - 不支持使用 "requireCordovaModule"加载非 Cordova 模块 "q"

转载 作者:行者123 更新时间:2023-12-04 14:37:57 30 4
gpt4 key购买 nike

运行命令:节点

C:\Users\Windows\Desktop\mobileionicead\hooks\after_prepare\030_android_splash.js

C:\Users\Windows\Desktop\mobileionicead. 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.
[ERROR] An error occurred while running subprocess cordova.

最佳答案

我有同样的问题。您需要将 cordova 降级到 8.1.2 版本

npm uninstall -g cordova
npm cache clean --force
npm i -g cordova@8.1.2

关于cordova - 错误 - 不支持使用 "requireCordovaModule"加载非 Cordova 模块 "q",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/55712892/

30 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com