From 36cb5935328e54765d4e7bf5110d948ad72618f5 Mon Sep 17 00:00:00 2001 From: John Hooks Date: Wed, 2 Aug 2017 21:39:52 -0400 Subject: [PATCH] Add full path for npm --- xo_install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xo_install.sh b/xo_install.sh index 4db767b..a54261d 100644 --- a/xo_install.sh +++ b/xo_install.sh @@ -32,7 +32,7 @@ sudo /usr/bin/apt-get install --yes build-essential redis-server libpng-dev git /usr/bin/git clone -b $xo_branch $xo_server /usr/bin/git clone -b $xo_branch $xo_web cd $xo_server_dir -sudo npm install && npm run build +sudo /usr/bin/npm install && /usr/bin/npm run build sudo cp sample.config.yaml .xo-server.yaml sudo sed -i "s|#'/': '/path/to/xo-web/dist/'|'/': '/opt/xo-web/dist'|" .xo-server.yaml cd $xo_web_dir