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
npm install error when using https-proxy #1876
Comments
Perhaps this is a problem for newer versions of nodejs. Could you try the workaround in this comment? #1769 (comment)
|
Tried on node 20 and can't reproduce.
|
Is it a problem with my local environment? npm, yarn and pnpm cannot install successfully. |
According to the error message, there is a connection timeout downloading from github releases. Could you try downloading manually with curl and share the output? curl -v --trace-time https://github.com/supabase/cli/releases/download/v1.136.3/supabase_darwin_amd64.tar.gz |
my-app curl -v --trace-time https://github.com/supabase/cli/releases/download/v1.136.3/supabase_darwin_amd64.tar.gz
|
Seems like you are behind a corporate proxy which the postinstall script is not picking up. Could you try to set it explicitly like this
|
You have to use |
Right, this is not a global installation, thanks |
Describe the bug
can't install supabase-cli.
To Reproduce
npm i supabase --save-dev
Expected behavior
install supabase successfully.
Screenshots
Desktop (please complete the following information):
Additional context
pnpm too.
The text was updated successfully, but these errors were encountered: