cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shazron Abdullah (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-13257) cordovaProject.projectConfig.getFileResources is not a function when adding a platform
Date Sat, 09 Sep 2017 16:33:00 GMT

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

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

When I used cordova-cli@nightly, the problem does NOT appear.
{code}
$ npm install -g cordova@nightly
$ cordova --version
7.0.2-nightly.2017.9.9.596da5df (cordova-lib@7.0.2-nightly.2017.9.9.701c15fe)
{code}

> 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


Mime
View raw message