eeeeeeve
V2EX  ›  Node.js

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

  •  
  •   eeeeeeve · Apr 25, 2015 · 8418 views
    This topic created in 4038 days ago, the information mentioned may be changed or developed.
    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 replies    2016-11-05 16:59:49 +08:00
    Honwhy
        1
    Honwhy  
       Apr 25, 2015
    npm install hexo-cli -g

    http://hexo.io/
    eeeeeeve
        2
    eeeeeeve  
    OP
       Apr 26, 2015
    @Honwhy 和npm install -g hexo有啥区别?
    ltienke
        3
    ltienke  
       Apr 26, 2015
    @eeeeeeve @Honwhy 请教一下为什么我运行命令一直显示加载 总是不成功呢?
    magicdawn
        4
    magicdawn  
       Apr 26, 2015
    hexo 大坑!!!!

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

    看源码,作者搞的好复杂...
    hongfeiyu
        10
    hongfeiyu  
       Jan 11, 2016
    你的怎么把这个弄成黑色的
    itfanr
        11
    itfanr  
       Nov 5, 2016
    npm install hexo-server --save

    npm install
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3073 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 45ms · UTC 13:15 · PVG 21:15 · LAX 06:15 · JFK 09:15
    ♥ Do have faith in what you're doing.