[
https://issues.apache.org/jira/browse/CB-11321?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15383779#comment-15383779
]
georgehu commented on CB-11321:
-------------------------------
I'm getting the same error:
Installing "cordova-plugin-splashscreen" for android
TypeError: Cannot read property 'indexOf' of undefined
at
/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/install.js:232:54
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)
cordova version: 4.1.2
platform: android
cordova plugins: No plugins add
> 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: [email protected]
For additional commands, e-mail: [email protected]