0

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
4

1 に答える 1

0

ゴースト パッケージに問題があるようです。テストするには、最初からゴーストから始めてください。

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 を最新の安定したバージョンに更新してみてください。

于 2015-07-08T12:18:04.463 に答える