Dan Moore created CB-3742: ----------------------------- Summary: Android CLI 'serve' command fails on CentOS 6 with 'cannot call method update_project' of undefined Key: CB-3742 URL: https://issues.apache.org/jira/browse/CB-3742 Project: Apache Cordova Issue Type: Bug Components: CLI Affects Versions: 2.7.0 Environment: I'm running 64 bit CentOS6.4 in virtual box (host system is windows 7).
I'm using node 0.10.10, jdk 1.7, ant 1.8, the latest and greatest android sdk 22.0.1/version 17 of the build and platform tools). Reporter: Dan Moore Assignee: Filip Maj I've successfully installed cordova-cli (thanks for this, by the way!) and can create a project and add the android platform. These all work: 'cordova create kewlapp kewlapp' 'cordova -d platform android' 'cordova build android' The emulator works (with a started 2.3.3 emulator): 'cordova emulate android' However, when I run 'cordova serve android' I get this error: [TypeError: Cannot call method 'update_project' of undefined] 'cordova -d serve android' has the same output. >From digging around in the node src, it seems that the parser created on line >125 of node_modules/cordova/src/serve.js is undefined for some reason. I >can't imagine why, though I did notice that node_modules/cordova/platforms.js >has the android url pointing to cordova-ios.git. Changing that to android.git >didn't resolve the issue. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira