[
https://issues.apache.org/jira/browse/CB-13257?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16160008#comment-16160008
]
Shazron Abdullah commented on CB-13257:
---------------------------------------
As a hunch, I reinstalled [email protected] (after installing the nightly(, and
the problem does NOT appear.
Not sure why the original problem happened, but it appears a reinstall fixes
things -- it probably grabbed the right version of cordova-common somehow with
the cli install, and the previous install had it screwed up? Don't know.
> 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]