The install.sh script for the node feature uses npm to install pnpm (Line 231: npm install -g pnpm).
Because npm does not pickup the proxy environmentals http_proxy, https_proxy and no_proxy (which are automatically propagated by docker when present in the ~/.docker/config.json configuration as httpProxy, httpsProxy and noProxy) by itself, the script will always fail behind a proxy.
This is a bug in the install script because this is a special situation not automatically handled by Visual Studio Code or Docker but which must be taken care of by the calling script.
Could you please fix this as follows (bash-compatible)?
[ ! -z "$http_proxy" ] && npm set proxy="$http_proxy"
[ ! -z "$https_proxy" ] && npm set https-proxy="$https_proxy"
[ ! -z "$no_proxy" ] && npm set noproxy="$no_proxy"
npm install -g pnpm
The install.sh script for the node feature uses npm to install pnpm (Line 231:
npm install -g pnpm).Because npm does not pickup the proxy environmentals
http_proxy,https_proxyandno_proxy(which are automatically propagated by docker when present in the~/.docker/config.jsonconfiguration ashttpProxy,httpsProxyandnoProxy) by itself, the script will always fail behind a proxy.This is a bug in the install script because this is a special situation not automatically handled by Visual Studio Code or Docker but which must be taken care of by the calling script.
Could you please fix this as follows (bash-compatible)?