componentjs / component

frontend package manager and build tool for modular web applications
https://github.com/componentjs/guide
MIT License
4.55k stars 305 forks source link

component build / install not working behind proxy server #567

Closed wasinger closed 10 years ago

wasinger commented 10 years ago

I'm currently behind a proxy server and cannot get component to install packages... Environment variables http_proxy and https_proxy are set in my shell but dont seem to be used by component. "component help install" says that there is an option " -p, --proxy use a proxy, eg. http://localhost:3128" but this does not seem to work:

$ component install -p http://my-proxy:8080 jashkenas/backbone

gives an error:

error : "http://my-proxy:8080" is in invalid dependency name. Please check "/var/www/backbonetest/component.json".

I also tried things like

$ component install --proxy="http://my-proxy:8080" jashkenas/backbone

but with no success.

Since I have access to the internet only via proxy I cannot use component at all until this is fixed.

wasinger commented 10 years ago

Oh, I forgot: using version 1.0.0-rc5