From cef353491e5032d30f924b46dcae4e63897e189b Mon Sep 17 00:00:00 2001 From: Ola Bini Date: Wed, 7 Dec 2016 18:36:33 -0200 Subject: Fix out of memory errors and problems with older node versions that stopped vagrant from working --- install-pixelated.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'install-pixelated.sh') diff --git a/install-pixelated.sh b/install-pixelated.sh index 4c6142a2..e3f4aaf1 100755 --- a/install-pixelated.sh +++ b/install-pixelated.sh @@ -57,6 +57,19 @@ function check_installed() { set -e } + +# The below is necessary to allow node to use enough memory +# so that installing phantomjs won't fail +mkdir -p /home/vagrant/bin +cat > /home/vagrant/bin/node <