I am working on
azure build pipeline and trying to run the task of ionic command to
cordova add platform android and while running the command I am getting an error mentioned below.
Failed to fetch platform [email protected] Probably this is either a connection problem, or platform spec is incorrect. Check your connection and platform name/version/URL. Failed to get absolute path to installed module [ERROR] An error occurred while running subprocess cordova. cordova platform add android --save exited with exit code 1.
I am using a hosted mac agent
macOS-10.14to on azure DevOps to run a build pipeline.