V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
init
V2EX  ›  问与答

搭建 github 博客的时候出现了这么一个问题, 帮忙看看怎么解决, 谢谢了.

  •  
  •   init · Dec 10, 2014 · 3607 views
    This topic created in 4160 days ago, the information mentioned may be changed or developed.
    出现了这么个错误
    error] Error: Theme landscape does not exist.Error: Theme landscape does not exist.
    at c:\Users\double\AppData\Roaming\npm\node_modules\hexo\lib\loaders\box.js
    :26:16
    at Object.cb [as oncomplete] (evalmachine.<anonymous>:168:19)

    该怎么解决呢,
    我搜了一下说是要初始化, 但是还是不知道怎么初始化, 在哪初始化, 命令是什么?
    求指教
    4 replies    2014-12-10 10:25:39 +08:00
    crazyxin1988
        1
    crazyxin1988  
       Dec 10, 2014
    为啥要在Windows上搞?LZ怎么想的?
    Twinkle
        2
    Twinkle  
       Dec 10, 2014
    hexo init blog && cd blog && npm install && hexo server
    以上命令结束后能正确监听4000端口,浏览器打开localhost:4000能正常访问的话,应该就没问题了
    再配置一下就可以hexo g -d传到github page了
    ls25145
        3
    ls25145  
       Dec 10, 2014
    实在不行就把source目录以及配置文件备份一下,按官方的步骤再来一次。
    laoyang945
        4
    laoyang945  
       Dec 10, 2014
    初始化要hexo init
    然后你没有装主题
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   886 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 18:56 · PVG 02:56 · LAX 11:56 · JFK 14:56
    ♥ Do have faith in what you're doing.