Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hugo-bin post install phase does not support proxified environnement #144

Open
The-Real-1 opened this issue Dec 12, 2023 · 2 comments
Open

Comments

@The-Real-1
Copy link

Hi,

We have a forked project from bootstrap-icons and we are facing a problem with the hugo-bin dependency
"hugo-bin": "^0.117.1",

Just making an npm install or making a npm i hugo-bin fails on an internal hugo-in procedure to download the associated binary.

image

We are behind a proxy and everything works fine with other dependencies. We have set the npm config proxy and https-proxy . We have also set HTTP_PROXY and HTTPS_PROXY on our system environnements.

It seems like when hugo-bin tries to download the binary, the proxy configuration is lost at some point. Does this behavior comes from the call made inside hugo-bin or is it a native Node bug when calling sub processes ?

Thanks.

@XhmikosR
Copy link
Collaborator

You are welcome to make a PR in the package that needs the fix. You will have to try and figure out the package that might need a PR, though. I don't use such environments and my time is limited, so, unfortunately I cannot help more.

BTW see HUGO_BIN_DOWNLOAD_REPO in https://github.com/fenneclab/hugo-bin#installation-options

@The-Real-1
Copy link
Author

Hi @XhmikosR ,

As my time is also limited , i'll try with no guaranty to make a PR.
Thanks for the reply.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants