I've followed the getting started guide to deploy a nodejs
application to heroku:
I reached to this stage in the tutorial
When I try to write the command:
heroku create
It gives me this error:
UNABLE_TO_GET_ISSUER_CERT_LOCALLY: unable to get local issuer certificate
What can be the problem?
Try to do this:
Edit Git config text file (with my favorite line-ending neutral app like Notepad++) located at:
C:\Program Files (x86)\Git\etc\gitconfig
In the [http] block, add an option to disable sslVerify. It looked like this when I was done:
[http]
sslVerify = false
sslCAinfo = /bin/curl-ca-bundle.crt
The answer is related to this
The problem was that I have a web filter on my internet, A content filter and it was blocking the command
heroku create
from going through.
Run the following line:
npm config set strict-ssl false
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.