wapm-cli icon indicating copy to clipboard operation
wapm-cli copied to clipboard

WAPM Error: Could not connect to proxy: builder error: unknown proxy scheme

Open liborui opened this issue 6 years ago • 1 comments

Summary

I am using wapm-cli 0.5.0.

When I am trying to install a package with wapm, I used

wapm install cowsay

But I got the return:

Error: Could not connect to proxy: builder error: unknown proxy scheme

I checked my proxy setting, which is absolutely empty:

$ echo $https_proxy
# empty
$ echo $http_proxy
# empty

Additional details

None

liborui avatar Apr 15 '20 03:04 liborui

Thanks for the report! That is confusing. Perhaps the code is interpreting a set but empty env var as a valid proxy and then failing because it can't connect to "", you could try unsetting the vars in the short term, but this looks like something we should handle in wapm!

MarkMcCaskey avatar Apr 15 '20 19:04 MarkMcCaskey