Description
Version
3.0.0-beta.15
Reproduction link
https://github.com/vuejs/vue-cli
Steps to reproduce
vue create my-app
What is expected?
Vue CLI asking the usual questions
What is actually happening?
RequestError: Error: unable to verify the first certificate
at new RequestError (/home/alpha/.npm-global/lib/node_modules/@vue/cli/node_modules/request-promise-core/lib/errors.js:14:15)
at Request.plumbing.callback (/home/alpha/.npm-global/lib/node_modules/@vue/cli/node_modules/request-promise-core/lib/plumbing.js:87:29)
at Request.RP$callback [as _callback] (/home/alpha/.npm-global/lib/node_modules/@vue/cli/node_modules/request-promise-core/lib/plumbing.js:46:31)
at self.callback (/home/alpha/.npm-global/lib/node_modules/@vue/cli/node_modules/request/request.js:185:22)
at emitOne (events.js:116:13)
at Request.emit (events.js:211:7)
at Request.onRequestError (/home/alpha/.npm-global/lib/node_modules/@vue/cli/node_modules/request/request.js:877:8)
at emitOne (events.js:116:13)
at ClientRequest.emit (events.js:211:7)
at TLSSocket.socketErrorListener (_http_client.js:387:9)
I installed vue-cli with the global flag but without sudo.
I use this script to install global packages in my user folder.
Running Kubuntu 18.04