You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Devon Winders (JIRA)" <ji...@apache.org> on 2016/09/22 21:15:20 UTC

[jira] [Commented] (CB-11321) Plugin install error: Cannot call method 'indexOf' of undefined - splashScreen plugin

    [ https://issues.apache.org/jira/browse/CB-11321?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15514492#comment-15514492 ] 

Devon Winders commented on CB-11321:
------------------------------------

I've been having the same issue. Here is the setup that my app is currently running:

cordova --version
4.0.0

cordova platform
Installed platforms: android 4.1.1, ios 3.6.3

cordova plugins
cordova-plugin-device 1.1.4-dev "Device"
cordova-plugin-inappbrowser 1.5.1-dev "InAppBrowser"
cordova-plugin-network-information 1.3.1-dev "Network Information"
cordova-plugin-screen-orientation 1.4.2 "Screen Orientation"
cordova-plugin-splashscreen 4.0.1-dev "Splashscreen"
cordova-plugin-statusbar 2.2.1-dev "StatusBar"
cordova-plugin-whitelist 1.3.1-dev "Whitelist"
ionic-plugin-keyboard 2.2.1 "Keyboard"

> Plugin install error: Cannot call method 'indexOf' of undefined - splashScreen plugin
> -------------------------------------------------------------------------------------
>
>                 Key: CB-11321
>                 URL: https://issues.apache.org/jira/browse/CB-11321
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin SplashScreen
>    Affects Versions: 3.5.0
>         Environment: IOS
>            Reporter: Atif Gulzar
>            Assignee: Sergey Shakhnazarov
>              Labels: github-import, no-repro, triaged, wfc
>
> 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)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org