Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-13257

cordovaProject.projectConfig.getFileResources is not a function when adding a platform

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: cordova-cli

      Description

      This is after trying to do a cordova platform add ios (whether local, github or npm)

      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)
      

        Attachments

          Activity

            People

            • Assignee:
              shazron Shazron Abdullah
              Reporter:
              shazron Shazron Abdullah
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: