[
https://issues.apache.org/jira/browse/CB-13257?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16159996#comment-16159996
]
Shazron Abdullah edited comment on CB-13257 at 9/9/17 4:34 PM:
---------------------------------------------------------------
Not sure what is going on here, since cordova-common should contain the
function in ConfigParser, and cordova-ios unit tests contain tests that touch
this function (and they pass)
was (Author: shazron):
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: [email protected]
For additional commands, e-mail: [email protected]