【问题标题】:Problems installing Ghost Blog - digital ocean安装 Ghost 博客的问题 - 数字海洋
【发布时间】:2015-06-30 02:56:33
【问题描述】:

在使用 ghost 安装和运行 npm 时不断收到多个错误。我以为它可能是 sqlite,但似乎已经安装了。

npm ERR! ghost@0.6.4 start: `node index`
npm ERR! Exit status 127
npm ERR! 
npm ERR! Failed at the ghost@0.6.4 start script.
npm ERR! This is most likely a problem with the ghost package,  
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node index
npm ERR! You can get their info via:
npm ERR!     npm owner ls ghost
npm ERR! There is likely additional logging output above.
npm ERR! System Linux 3.19.0-20-generic
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "start"   
npm ERR! cwd /root/ghost 
npm ERR! node -v v0.10.25
npm ERR! npm -v 1.4.21
npm ERR! code ELIFECYCLE
npm WARN This failure might be due to the use of legacy binary "node"
npm WARN For further explanations, please read
/usr/share/doc/nodejs/README.Debian

npm ERR! 
npm ERR! Additional logging details can be found in:
npm ERR!     /root/ghost/npm-debug.log
npm ERR! not ok code 0

【问题讨论】:

    标签: node.js digital-ocean ghost


    【解决方案1】:

    你的ghost包好像有问题。所以要测试它,请从头开始使用 ghost:

    cd ../
    mkdir ghosttest
    cd ghosttest
    wget https://ghost.org/zip/ghost-0.6.4.zip
    unzip ghost-0.6.4.zip
    npm install --production
    npm start
    

    如果不起作用,请尝试将 node.js 和 npm 更新到最新的稳定版本。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-01-12
      • 2015-05-03
      • 1970-01-01
      • 1970-01-01
      • 2018-03-01
      • 1970-01-01
      相关资源
      最近更新 更多