问题
hexo g -d
出现这种情况,主要是node的版本问题 可以通过nvm来控制一下node的版本来解决。
java
hexo g -d
报错:bash: hexo: command not found

解决方法
java
npm install -g hexo

后再hexo g -d
就正常使用啦。
java
hexo g -d

Code -1: Request has been terminated Possible causes: the network is offline, Origin is not allowed by Access-Control-Allow-Origin, the page is being unloaded, etc. [N/A GET https://us.avoscloud.com/1.1/classes/Comment]