When you want to use npm (http://npmjs.org/), package manager for node, behind a proxy, pay attention that there are two parameters for setting up a proxy:
- proxy
- https-proxy
As https is the default protocol for fetching the packages from the npm repository you must set the second one.
Another workaround is to change the rep url into a http one.