V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
eeeeeeve
V2EX  ›  Node.js

npm install -g hexo 默认不是安装最新版的么?

  •  
  •   eeeeeeve · 2015-04-25 23:05:34 +08:00 · 7613 次点击
    这是一个创建于 3282 天前的主题,其中的信息可能已经有所发展或是发生改变。
    hexo --version
    hexo-cli: 0.1.4
    os: Windows_NT 6.1.7601 win32 x64
    http_parser: 1.0
    node: 0.10.34
    v8: 3.14.5.9
    ares: 1.9.0-DEV
    uv: 0.10.30
    zlib: 1.2.8
    modules: 11
    openssl: 1.0.1j

    怎么安装了个2012年的版本?为何没安装最新版呢?
    11 条回复    2016-11-05 16:59:49 +08:00
    Honwhy
        1
    Honwhy  
       2015-04-25 23:20:12 +08:00
    npm install hexo-cli -g

    http://hexo.io/
    eeeeeeve
        2
    eeeeeeve  
    OP
       2015-04-26 00:02:05 +08:00
    @Honwhy 和npm install -g hexo有啥区别?
    ltienke
        3
    ltienke  
       2015-04-26 14:34:47 +08:00
    @eeeeeeve @Honwhy 请教一下为什么我运行命令一直显示加载 总是不成功呢?
    magicdawn
        4
    magicdawn  
       2015-04-26 16:11:38 +08:00
    hexo 大坑!!!!

    还不如一开始就Jekyll
    eeeeeeve
        6
    eeeeeeve  
    OP
       2015-04-26 17:27:31 +08:00
    @Nightink npm info hexo显示
    '0.1.4': '2012-11-11T15:54:55.922Z',
    moxhuis
        7
    moxhuis  
       2015-04-26 17:50:47 +08:00
    1楼正解
    DaVinci42
        8
    DaVinci42  
       2015-04-26 22:09:31 +08:00
    @magicdawn 为何这么说,具体哪些方面呢?
    magicdawn
        9
    magicdawn  
       2015-04-26 22:39:54 +08:00
    @DaVinci42 各种问题...按Migration Guide 升级3.0 ... 然后各种问题... 搜的到的,搜不到的...
    npm i [email protected] -g 解决的

    看源码,作者搞的好复杂...
    hongfeiyu
        10
    hongfeiyu  
       2016-01-11 21:46:22 +08:00
    你的怎么把这个弄成黑色的
    itfanr
        11
    itfanr  
       2016-11-05 16:59:49 +08:00
    npm install hexo-server --save

    npm install
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1753 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 16:35 · PVG 00:35 · LAX 09:35 · JFK 12:35
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.