Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-11321

Plugin install error: Cannot call method 'indexOf' of undefined - splashScreen plugin

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.5.0
    • None
    • Ionic
    • IOS

    • Important

    Description

      AtifMacPro:cordova wison$ cordova plugin add https://github.com/apache/cordova-plugin-splashscreen.git
      Fetching plugin "https://github.com/apache/cordova-plugin-splashscreen.git" via git clone
      Installing "cordova-plugin-splashscreen" for ios
      TypeError: Cannot call method 'indexOf' of undefined
      at /usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/install.js:232:55
      at Array.forEach (native)
      at getEngines (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/install.js:211:13)
      at runInstall (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/install.js:281:22)
      at /usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/install.js:81:16
      at _fulfilled (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:787:54)
      at self.promiseDispatch.done (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:816:30)
      at Promise.promise.promiseDispatch (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:749:13)
      at /usr/local/lib/node_modules/cordova/node_modules/q/q.js:810:14
      at flush (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:108:17)

      Attachments

        Activity

          People

            daserge Sergey Shakhnazarov
            atifgulzar Atif Gulzar
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated: