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

Error: Server Error. unable to verify the first certificate #40

Open
anurag-thapad opened this issue Jul 29, 2020 · 0 comments
Open

Error: Server Error. unable to verify the first certificate #40

anurag-thapad opened this issue Jul 29, 2020 · 0 comments

Comments

@anurag-thapad
Copy link

After I run 'firebase init' command and going through all the questions, ultimately it throws an error as
'Error: Server Error. unable to verify the first certificate'. What should I do?
@iamshaunjp

firebase init

 ######## #### ########  ######## ########     ###     ######  ########
 ##        ##  ##     ## ##       ##     ##  ##   ##  ##       ##
 ######    ##  ########  ######   ########  #########  ######  ######
 ##        ##  ##    ##  ##       ##     ## ##     ##       ## ##
 ##       #### ##     ## ######## ########  ##     ##  ######  ########

You're about to initialize a Firebase project in this directory:

? Are you ready to proceed? Yes
? Which Firebase CLI features do you want to set up for this folder? Press Space to select features, then Enter to confi
rm your choices. Functions: Configure and deploy Cloud Functions, Hosting: Configure and deploy Firebase Hosting sites

=== Project Setup

First, let's associate this project directory with a Firebase project.
You can create multiple project aliases by running firebase use --add,
but for now we'll just set up a default project.

? Please select an option: Use an existing project
? Select a default Firebase project for this directory: meww-project (meww-project)
i Using project meww-project (meww-project)

=== Functions Setup

A functions directory will be created in your project with a Node.js
package pre-configured. Functions can be deployed with firebase deploy.

? What language would you like to use to write Cloud Functions? JavaScript
? Do you want to use ESLint to catch probable bugs and enforce style? No
? File functions/package.json already exists. Overwrite? Yes

  • Wrote functions/package.json
    ? File functions/index.js already exists. Overwrite? Yes
  • Wrote functions/index.js
    ? File functions/.gitignore already exists. Overwrite? Yes
  • Wrote functions/.gitignore
    ? Do you want to install dependencies with npm now? Yes
    audited 253 packages in 2.935s
    found 0 vulnerabilities

=== Hosting Setup

Your public directory is the folder (relative to your project directory) that
will contain Hosting assets to be uploaded with firebase deploy. If you
have a build process for your assets, use your build's output directory.

? What do you want to use as your public directory? dist
? Configure as a single-page app (rewrite all urls to /index.html)? Yes

Error: Server Error. unable to verify the first certificate

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