代理未设置
1 | $ npm install -g hexo |
解决办法
$ npm config set registry http://registry.npmjs.org/
在安装hexo的过程中,需要从github上面拷贝一个项目,结果在克隆的时候git报了个错:
fatal: unable to access 'https://github.com/hexojs/hexo-starter.git': Protocol https not supported or disabled in libcurl
解决办法(暂时)
将libcurl.dll 添加一个后缀名C:\Windows\SysWOW64\libcurl.dll.old