[ https://issues.apache.org/jira/browse/CB-4426?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13770566#comment-13770566 ]
Hadrien Tipule commented on CB-4426: ------------------------------------ Is there a workaround for versions 2.9.x ? > Create app doesn't work if computer cannot connect to github and raises > exception instead of showing friendly error message > --------------------------------------------------------------------------------------------------------------------------- > > Key: CB-4426 > URL: https://issues.apache.org/jira/browse/CB-4426 > Project: Apache Cordova > Issue Type: Bug > Components: App Hello World, CLI > Affects Versions: 3.0.0 > Reporter: Simone Chiaretta > Assignee: Filip Maj > > i just installed phonegap 3.0 and tried to create a new app via the CLI: > "phonegap create my-app" > But I get the following error: > [phonegap] downloading > https://github.com/phonegap/phonegap-app-hello-world/archive/3.0.0.tar.gz... > TypeError: Cannot read property 'length' of undefined > at Request.request.get.pipe.pipe.tar.Extract.path [as _callback] > (C:\Documen > ts and Settings\CHIARSI\Application > Data\npm\node_modules\phonegap\node_modules\cordova\src\lazy_load.js:70:78) > at self.callback (C:\Documents and Settings\CHIARSI\Application > Data\npm\node_modules\phonegap\node_modules\cordova\node_modules\request\index.js:148:22) > at Request.EventEmitter.emit (events.js:117:20) > at ClientRequest.self.clientErrorHandler (C:\Documents and > Settings\CHIARSI\Application > Data\npm\node_modules\phonegap\node_modules\cordova\node_modules\request\index.js:257:10) > at ClientRequest.EventEmitter.emit (events.js:95:17) > at CleartextStream.socketErrorListener (http.js:1528:9) > at CleartextStream.EventEmitter.emit (events.js:95:17) > at Socket.onerror (tls.js:1424:17) > at Socket.EventEmitter.emit (events.js:117:20) > at net.js:441:14 > I have the impression the phonegap command line utility doesn't read properly > the proxy configuration of windows, and this is due to some mishandling of > the error. > So, I posted this message, first to report this small bug, and second to ask > how can I set proxy configuration for the phonegap utility. > Or if there is a workaround to this in case proxy cannot be set. -- 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