使用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
答案 0 :(得分:0)
你的鬼包似乎有问题。所以要测试它,请从头开始使用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更新为最新的稳定版本。