When I add ios platform always getting an error like
Cordova platform adds ios --save 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.
How to fix this problem?