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

Drop-in replacement for npm strict-ssl #4979

Open
Sonahit opened this issue Sep 11, 2023 · 4 comments
Open

Drop-in replacement for npm strict-ssl #4979

Sonahit opened this issue Sep 11, 2023 · 4 comments
Labels
docs Improvements or additions to documentation

Comments

@Sonahit
Copy link

Sonahit commented Sep 11, 2023

What is the type of issue?

Documentation is missing

What is the issue?

I have org registry with self-signed SSL for packages and due to this I always got error about SSL certificate is invalid which I ignored with npm strict ssl false.

I wanted to check bun as replacement for node for tooling but got this error for obvious reasons

error: ERR_TLS_CERT_ALTNAME_INVALID downloading tarball

How to disable SSL check in bun ?

Where did you find it?

No response

@Sonahit Sonahit added the docs Improvements or additions to documentation label Sep 11, 2023
@Sonahit
Copy link
Author

Sonahit commented Sep 12, 2023

Added in #4829.

I am not sure where to mention NODE_TLS_REJECT_UNAUTHORIZED ENV flag because in documentation there are no mentions about them at all.

@bend-sportsbet
Copy link

Their latest blog shows how to use it:

@ricardasjak
Copy link

Hello, I am also behind company's proxy, and I am unable to run any bun create .... script. I always get ERR_TLS_CERT_ALTNAME_INVALID error:

NODE_TLS_REJECT_UNAUTHORIZED=0
bun create react-app app-1

error message:

error: ERR_TLS_CERT_ALTNAME_INVALID downloading package manifest create-react-app

similar error if I try to run

bun create elysia app

I am using latest bun v1.0.7. I tried few other previous versions in span of last 6 weeks, so far no success.

@t3hoth3r0n3
Copy link

Like ricardasjak, I'm trying to run "bun create elysia app" and receiving a ERR_TLS_CERT_ALTNAME_INVALID error. Could this be a corporate firewall issue or something else? Thanks!

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

No branches or pull requests

4 participants