|
feiyuanqiuJul 5, 2015 via iPhone
1
你最好把内容也贴出来,错误提示应该是内容里用到了错误的模板
|
|
TiandeJul 5, 2015
2
除了配置文件,你还改过什么。
譬如往 head.js 里加头,多了 / \ 之类的就会错。 |
|
abmin521Jul 5, 2015 via Android
3
hexo g 了吗?好像是主题的问题。
|
|
ITOutsiderJul 5, 2015
4
$ 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
@feiyuanqiu
@abmin521 @dtdnqsb 本地部署以及其他操作都正常,通过localhost也可以正确打开,重新init一个新的还是这样提示 其他模板以及默认模板下执行hexo d都提示这个错误 |
|
duteng612Jul 5, 2015
6
是升级到3.0的问题吧
安装: hexo-deployer-git npm install hexo-deployer-git --save 修改:_config.yml deploy: type: git |
|
TakanashiAzusaJul 5, 2015
8
localhost正常的话那明显是deploy-git那个插件配置有问题吧。。插件版本多少?配置确定没错?
|
|
abmin521Jul 5, 2015 via Android
10
在部署的_config.yml文件中,找到deploy:标签,在每个冒号后面必须要空格,
我的命令是 mkdir blog cd blog hexo init npm install hexo g 修改好deploy后 hexo d |
|
xingstarJul 6, 2015
13
|
|
jackandtomSep 10, 2015
14
楼主问题找到了吗
|
|
15
@jackandtom 并没有 最后放弃了
|
|
jackandtomSep 10, 2015
16
好吧。。。
|