-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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 verify the first certificate #1982
Comments
can you post the full error log? It sounds like there might be a certificate issue with npm install. You might be using an internal npm server or perhaps behind a corporate firewall that messes with npm downloads? |
I have the same issue, and I'm behind a corporate firewall.
|
I've been trying to work around this. I'm on node v8.6.0. It seems like the problem is when latest-version tries tries to require packages in storybook's generators. I added a catch block to latest-version's index.js file where storybook was installed globally.
This allowed allowed the getstorybook command to complete and 'yarn run storybook' loads the page. Not sure if anything would be broken since I've never used storybook before. So a workaround to run the command would be either adding that catch block or running the following as a replacement to getstorybook: Although, using the cafile I use for npm would be ideal. |
I added the solution @alexlurvey created and was able to run storybook! |
Hi everyone! Seems like there hasn't been much going on in this issue lately. If there are still questions, comments, or bugs, please feel free to continue the discussion. Unfortunately, we don't have time to get to every issue. We are always open to contributions so please send us a pull request if you would like to help. Inactive issues will be closed after 60 days. Thanks! |
When I run getstorybook command in create-react-app project. It can't work and show message:
"Adding storybook support to your "Create React App" based project(node:9436) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): RequestError: un
able to verify the first certificate"
The text was updated successfully, but these errors were encountered: