[ https://issues.apache.org/jira/browse/CB-6236?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bryan Higgins closed CB-6236. ----------------------------- Resolution: Cannot Reproduce Need to run npm install after fetching > Adding Android and Blackberry10 platform fails with a "undefined is not a > function" > ----------------------------------------------------------------------------------- > > Key: CB-6236 > URL: https://issues.apache.org/jira/browse/CB-6236 > Project: Apache Cordova > Issue Type: Bug > Components: CLI > Affects Versions: 3.4.0 > Reporter: JennyGee > > HEAD @ 2a9ef82 > creating a cordova project and adding either blackberry10 or android platform > results in the following error: > jgeeMac:myApp jgee$ cordova platform add blackberry10 > Creating blackberry10 project... > npm WARN package.json jWorkflow@0.8.0 No repository field. > npm WARN package.json localize@0.4.2 No repository field. > Preparing blackberry10 project > TypeError: undefined is not a function > at /Users/jgee/REPOS/cordova-cli/src/prepare.js:104:30 > at _fulfilled (/Users/jgee/REPOS/cordova-cli/node_modules/q/q.js:798:54) > at self.promiseDispatch.done > (/Users/jgee/REPOS/cordova-cli/node_modules/q/q.js:827:30) > at Promise.promise.promiseDispatch > (/Users/jgee/REPOS/cordova-cli/node_modules/q/q.js:760:13) > at /Users/jgee/REPOS/cordova-cli/node_modules/q/q.js:821:14 > at flush (/Users/jgee/REPOS/cordova-cli/node_modules/q/q.js:108:17) > at process._tickCallback (node.js:415:13) -- This message was sent by Atlassian JIRA (v6.2#6252)