cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tomo Masakura (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-8611) Cannot add platform with node@0.12.0 inside authenticate proxy
Date Thu, 02 Apr 2015 04:56:52 GMT

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

Tomo Masakura commented on CB-8611:
-----------------------------------

Node.js v0.12.1 and v0.12.2 did not work in the same way.

> Cannot add platform with node@0.12.0 inside authenticate proxy
> --------------------------------------------------------------
>
>                 Key: CB-8611
>                 URL: https://issues.apache.org/jira/browse/CB-8611
>             Project: Apache Cordova
>          Issue Type: Bug
>         Environment: OS: Ubuntu 14.04 LTS x64
> Cordova: 4.3.0
>            Reporter: Tomo Masakura
>            Priority: Critical
>
>  Cannot add platform with node@0.12.0 inside authenticate proxy.
> {quote}
> $ echo $http_proxy
> http://user:pass@proxy.example.com:8080/
> $ echo $https_proxy
> http://user:pass@proxy.example.com:8080/
> $ nvm use v0.12.0
> $ npm install -g cordova@4.3.0
> $ rm -rf ~/.cordova
> $ cordova create project1
> $ cd project1
> $ cordova platform add browser
> npm http GET https://registry.npmjs.org/cordova-browser/3.6.0
> TypeError: Request path contains unescaped characters.
>     at new ClientRequest (_http_client.js:73:11)
>     at TunnelingAgent.exports.request (http.js:49:10)
>     at TunnelingAgent.createSocket (/home/masakura/.nvm/versions/node/v0.12.0/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/npm/node_modules/request/node_modules/tunnel-agent/index.js:117:25)
>     at TunnelingAgent.createSecureSocket [as createSocket] (/home/masakura/.nvm/versions/node/v0.12.0/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/npm/node_modules/request/node_modules/tunnel-agent/index.js:184:41)
>     at TunnelingAgent.addRequest (/home/masakura/.nvm/versions/node/v0.12.0/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/npm/node_modules/request/node_modules/tunnel-agent/index.js:80:8)
>     at new ClientRequest (_http_client.js:154:16)
>     at Object.exports.request (http.js:49:10)
>     at Object.exports.request (https.js:136:15)
>     at Request.start (/home/masakura/.nvm/versions/node/v0.12.0/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/npm/node_modules/request/index.js:594:30)
>     at Request.end (/home/masakura/.nvm/versions/node/v0.12.0/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/npm/node_modules/request/index.js:1186:28)
> {quote}
> - node@0.10.36 is OK
> - cordova@4.2.0 and node@0.12.0 is OK
> - Same problem with OS X (Yosemite)
> - "cordova platform add android" is NG
> - "cordova plugin add org.apache.cordova.camera" is OK



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message