eeeeeeve
V2EX  ›  Node.js

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

  •  
  •   eeeeeeve · Apr 25, 2015 · 8874 views
    This topic created in 4224 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
    Honwhy
    Apr 25, 2015
    1
    npm install hexo-cli -g

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

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

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

    npm install
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   956 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 54ms · UTC 19:51 · PVG 03:51 · LAX 11:51 · JFK 14:51
    ♥ Do have faith in what you're doing.