6

Running command: node

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.

Ramprasath Selvam
  • 3,868
  • 3
  • 25
  • 41
  • see this https://stackoverflow.com/questions/55304065/cordova-error-using-requirecordovamodule-to-load-non-cordova-module-q-is-no – H_H Apr 17 '19 at 08:38

1 Answers1

10

I had the same problem. You need to downgrade cordova to the version 8.1.2

npm uninstall -g cordova
npm cache clean --force
npm i -g cordova@8.1.2
H_H
  • 1,460
  • 2
  • 15
  • 30