в Ubuntu 12.04.3:
adduser --system --home=/var/www/etherpad --group etherpad
apt-get install gzip git-core curl python libssl-dev build-essential abiword python-software-properties
add-apt-repository ppa:chris-lea/node.js
apt-get update; apt-get install -y nodejs
su - etherpad -s /bin/bash
git clone git://github.com/ether/etherpad-lite.git
cd etherpad-lite
sed -i 's/bin\/installDeps.sh/sh bin\/installDeps.sh/g' bin/run.sh
sh bin/run.sh
, но при использовании sh bin / run.sh:
Ensure that all dependencies are up to date... If this is the first time you have run Etherpad please be patient.
npm ERR! cb() never called!
npm ERR! not ok code 0
Q: Как решить Эта проблема? "Очистка кеша npm не помогла". ФС монтируется с помощью noexec. Система актуальна.
Для тех, кто видит этот 2013-09-27, есть ошибка с последней версией npm
. Понижение nodejs
до 0.10.17
, кажется, решает проблему.
npm shrinkwrap
, а затем npm install
работал на меня.
Это было исправлено в 0.10.20: http://ghost.org/forum/installation/353-npm-err-cb-never-called