asdf-nodejs icon indicating copy to clipboard operation
asdf-nodejs copied to clipboard

asdf add plugin fails due to lack of proxy settings

Open shirvindalex opened this issue 1 year ago • 0 comments

I'm run behind corporate proxy on my linix machine (RHEL 8.8) http_proxy and https_proxy are set on environment and I was able to clone asdf repo as described in https://asdf-vm.com/guide/getting-started.html Execution was successful for git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch v0.14.1 Result `Cloning into '/users/admin/.asdf'... remote: Enumerating objects: 8797, done. remote: Counting objects: 100% (1877/1877), done. remote: Compressing objects: 100% (339/339), done. remote: Total 8797 (delta 1631), reused 1623 (delta 1534), pack-reused 6920 (from 1) Receiving objects: 100% (8797/8797), 3.23 MiB | 8.14 MiB/s, done. Resolving deltas: 100% (5279/5279), done. Note: switching to 'f00f759f3d8d405468d0071310a91b8f5a9c3798'.

You are in 'detached HEAD' state.`

But when trying to install nodejs plugin using asdf plugin add nodejs https://github.com/asdf-vm/asdf-nodejs.git result is fatal: unable to access 'https://github.com/asdf-vm/asdf-nodejs.git/': Could not resolve host: github.com

I don't see in documentation an option to pass proxy as parameters to asdf command or add proxy param to .asdfrc file

shirvindalex avatar Oct 08 '24 17:10 shirvindalex