1

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 cordova-android@7.1.4
    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.

Ragesh Pikalmunde
  • 1,333
  • 1
  • 20
  • 44

0 Answers0