You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Shazron Abdullah (JIRA)" <ji...@apache.org> on 2017/09/09 16:21:01 UTC

[jira] [Commented] (CB-13257) cordovaProject.projectConfig.getFileResources is not a function when adding a platform

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

Shazron Abdullah commented on CB-13257:
---------------------------------------

Not sure what is going on here, since cordova-common should contain the function in ConfigParser, and cordova-unit tests contain tests that touch this function (and they pass)

> cordovaProject.projectConfig.getFileResources is not a function when adding a platform
> --------------------------------------------------------------------------------------
>
>                 Key: CB-13257
>                 URL: https://issues.apache.org/jira/browse/CB-13257
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-ios
>            Reporter: Shazron Abdullah
>            Assignee: Shazron Abdullah
>              Labels: backlog
>
> This is after trying to do a {{cordova platform add ios}} (whether local, github or npm)
> {code}
> Error: TypeError: cordovaProject.projectConfig.getFileResources is not a function
>     at updateFileResources (/Users/shazron/Desktop/bar/platforms/ios/cordova/lib/prepare.js:464:48)
>     at /Users/shazron/Desktop/bar/platforms/ios/cordova/lib/prepare.js:65:13
>     at _fulfilled (/Users/shazron/Desktop/bar/platforms/ios/cordova/node_modules/q/q.js:854:54)
>     at self.promiseDispatch.done (/Users/shazron/Desktop/bar/platforms/ios/cordova/node_modules/q/q.js:883:30)
>     at Promise.promise.promiseDispatch (/Users/shazron/Desktop/bar/platforms/ios/cordova/node_modules/q/q.js:816:13)
>     at /Users/shazron/Desktop/bar/platforms/ios/cordova/node_modules/q/q.js:570:49
>     at runSingle (/Users/shazron/Desktop/bar/platforms/ios/cordova/node_modules/q/q.js:137:13)
>     at flush (/Users/shazron/Desktop/bar/platforms/ios/cordova/node_modules/q/q.js:125:13)
>     at _combinedTickCallback (internal/process/next_tick.js:67:7)
>     at process._tickCallback (internal/process/next_tick.js:98:9)
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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