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

Unable to install because package doesn't have certificate #1630

Closed
flatoy opened this issue Aug 9, 2017 · 4 comments
Closed

Unable to install because package doesn't have certificate #1630

flatoy opened this issue Aug 9, 2017 · 4 comments

Comments

@flatoy
Copy link

flatoy commented Aug 9, 2017

When trying to run npm install @storybook/cli I get the following error.
I could set strict-ssl = false, but I can't really do that beacuse its not safe.

npm info using [email protected]
npm info using [email protected]
npm verb request uri https://registry.npmjs.org/@storybook%2fcli
npm verb request no auth needed
npm info attempt registry request try #1 at 12:37:05
npm verb request id 6bd6d99e44b72a3e
npm verb etag W/"597f3b21-91e1"
npm verb lastModified Mon, 31 Jul 2017 14:13:53 GMT
npm http request GET https://registry.npmjs.org/@storybook%2fcli
npm info retry will retry, error on last attempt: Error: unable to get local issuer certificate

Do you not have a proper certificate or am I doing something wrong?

@danielduan
Copy link
Member

This sounds like something is wrong with your npm config or npm's certificate expired. Either that, or you're working behind a corporate proxy firewall and somehow they're stripping the ssl certificate.

Do installing other packages work for you?

@Hypnosphi
Copy link
Member

Namely, other scoped packages, e. g. @angular/common

@flatoy
Copy link
Author

flatoy commented Aug 27, 2017

Yup, the bug was in the corporate firewall.

@danielduan
Copy link
Member

Thanks for reporting back. I'm gonna close this issue.

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

No branches or pull requests

3 participants