
1 feiyuanqiu 2015-07-05 10:53:58 +08:00 via iPhone 你最好把内容也贴出来,错误提示应该是内容里用到了错误的模板 |
2 Tiande PRO 除了配置文件,你还改过什么。 譬如往 head.js 里加头,多了 / \ 之类的就会错。 |
3 abmin521 2015-07-05 11:09:35 +08:00 via Android hexo g 了吗?好像是主题的问题。 |
4 ITOutsider 2015-07-05 14:41:11 +08:00 $ npm install hexo-generator-index --save $ npm install hexo-generator-archive --save $ npm install hexo-generator-category --save $ npm install hexo-generator-tag --save $ npm install hexo-server --save $ npm install hexo-deployer-git --save $ npm install [email protected] --save $ npm install [email protected] --save $ npm install [email protected] --save $ npm install [email protected] --save 装插件了吗? 3.0+的模块都独立了 需要自己安装 |
5 SamWanng OP @feiyuanqiu @abmin521 @dtdnqsb 本地部署以及其他操作都正常,通过localhost也可以正确打开,重新init一个新的还是这样提示 其他模板以及默认模板下执行hexo d都提示这个错误 |
6 duteng612 2015-07-05 19:03:49 +08:00 是升级到3.0的问题吧 安装: hexo-deployer-git npm install hexo-deployer-git --save 修改:_config.yml deploy: type: git |
8 TakanashiAzusa 2015-07-05 19:28:26 +08:00 localhost正常的话那明显是deploy-git那个插件配置有问题吧。。插件版本多少?配置确定没错? |
9 duteng612 2015-07-05 20:57:28 +08:00 |
10 abmin521 2015-07-05 21:01:15 +08:00 via Android 在部署的_config.yml文件中,找到deploy:标签,在每个冒号后面必须要空格, 我的命令是 mkdir blog cd blog hexo init npm install hexo g 修改好deploy后 hexo d |
13 xingstar 2015-07-06 21:19:01 +08:00 |
14 jackandtom 2015-09-10 20:52:58 +08:00 楼主问题找到了吗 |
15 SamWanng OP @jackandtom 并没有 最后放弃了 |
16 jackandtom 2015-09-10 21:07:48 +08:00 好吧。。。 |