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

Can't npm i the package : self-signed certificate in certificate chain #3023

Open
dimitri-bourreau opened this issue Jan 8, 2025 · 1 comment

Comments

@dimitri-bourreau
Copy link

dimitri-bourreau commented Jan 8, 2025

Describe the bug
npm i supabase fails, declaring this:

npm error FetchError: request to https://objects.githubusercontent.com/github-production-release-asset-2e65be/314160187/150d12be-599a-4e2b-8bd9-3be854ec7260?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=releaseassetproduction%2F20250108%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20250108T091804Z&X-Amz-Expires=300&X-Amz-Signature=2c1f945726ddf04f81ce291d9f774e694b9a3f12d87ab44c6bd7fb246690d07b&X-Amz-SignedHeaders=host&response-content-disposition=attachment%3B%20filename%3Dsupabase_2.2.1_checksums.txt&response-content-type=application%2Foctet-stream failed, reason: self-signed certificate in certificate chain

To Reproduce

npm i prettier # can install other packages
npm i supabase # fails

System information

  • Version of OS: MacOS 15.2

Additional context
It worked well yesterday, I see the last release was 4 hours ago.

@dimitri-bourreau
Copy link
Author

dimitri-bourreau commented Jan 8, 2025

Optional note:

I had this issue while trying to generate types via npx supabase gen types typescript --project-id xxx > supabase/database.type.ts.

The CLI turns into infinity, and supabase/database.type.ts is written into:

Need to install the following packages:
[email protected]
Ok to proceed? (y) 

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

1 participant