Trying to develop and deploy to Firebase Hosting but getting the following error message when I run firebase init from PowerShell:
Server Error. unable to get local issuer certificate
Does anybody know about this? Here's the log file contents:
[debug] [2017-06-09T10:45:14.977Z] ----------------------------------------------------------------------
[debug] [2017-06-09T10:45:14.979Z] Command: C:\nodejs\node.exe C:\nodejs\node_modules\firebase-tools\bin\firebase init
[debug] [2017-06-09T10:45:14.979Z] CLI Version: 3.9.1
[debug] [2017-06-09T10:45:14.980Z] Platform: win32
[debug] [2017-06-09T10:45:14.980Z] Node Version: v7.9.0
[debug] [2017-06-09T10:45:14.980Z] Time: Fri Jun 09 2017 11:45:14 GMT+0100 (GMT Daylight Time)
[debug] [2017-06-09T10:45:14.980Z] ----------------------------------------------------------------------
[debug]
[debug] [2017-06-09T10:45:14.993Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase"]
[debug] [2017-06-09T10:45:14.993Z] > authorizing via signed-in user
[info]
######## #### ######## ######## ######## ### ###### ########
## ## ## ## ## ## ## ## ## ## ##
###### ## ######## ###### ######## ######### ###### ######
## ## ## ## ## ## ## ## ## ## ##
## #### ## ## ######## ######## ## ## ###### ########
You're about to initialize a Firebase project in this directory:
U:\firebase
[info]
=== Project Setup
[info]
[info] First, let's associate this project directory with a Firebase project.
[info] You can create multiple project aliases by running firebase use --add,
[info] but for now we'll just set up a default project.
[info]
[debug] [2017-06-09T10:45:29.107Z] >>> HTTP REQUEST GET https://admin.firebase.com/v1/projects
Fri Jun 09 2017 11:45:29 GMT+0100 (GMT Daylight Time)
[debug] [2017-06-09T10:45:29.692Z] Error: unable to get local issuer certificate
[error]
[error] Error: Server Error. unable to get local issuer certificate
Many thanks