You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Tom Bell (JIRA)" <ji...@apache.org> on 2016/02/23 14:33:18 UTC

[jira] [Commented] (CB-10675) cordova prepare fails

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

Tom Bell commented on CB-10675:
-------------------------------

Just to add this occurred after updating from Node 5.6.0 to 5.7.0.

> cordova prepare fails
> ---------------------
>
>                 Key: CB-10675
>                 URL: https://issues.apache.org/jira/browse/CB-10675
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CordovaLib
>    Affects Versions: 6.0.0
>            Reporter: Tom Bell
>
> Running `cordova prepare` fails on an access element with url "https://*".
> Executing "before_prepare"  hook for all plugins.
> Searching PlatformJson files for differences between project vs. platform installed plugins
> No differences found between project and android platform. Continuing...
> Searching PlatformJson files for differences between project vs. platform installed plugins
> No differences found between project and ios platform. Continuing...
> Generating config.xml from defaults for platform "android"
> Wrote out Android application name to "Capsule"
> This app does not have launcher icons defined
> Wrote out Android package name to "com.zestia.mobile"
> Generating config.xml from defaults for platform "ios"
> Error: TypeError: Cannot read property 'indexOf' of null
>     at parseWhitelistUrlForATS (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/metadata/ios_parser.js:402:26)
>     at /usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/metadata/ios_parser.js:354:19
>     at Array.reduce (native)
>     at processAccessAndAllowNavigationEntries (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/metadata/ios_parser.js:353:6)
>     at writeATSEntries (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/metadata/ios_parser.js:442:14)
>     at ios_parser.update_from_config (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/metadata/ios_parser.js:114:15)
>     at ios_parser.update_project (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/metadata/ios_parser.js:290:17)
>     at PlatformApiPoly.prepare (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/platforms/PlatformApiPoly.js:212:25)
>     at /usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/prepare.js:101:32
>     at _fulfilled (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:787:54)



--
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