I've just update to Laravel 5 and at the same time refactored my frontend asset compiling to Laravel Elixir. I've update my Forge deploy script so that it will npm install and compile the assets on the server (because I don't want to commit them to my source code).
However, when the deployment script runs it always gets killed off on Forge for no reason whatsoever. It just says killed. When I look at the node_modules folder locally, it says it's about 137 MB large. I don't know if that's normal but that's really insanely large, imo? Could it be that the Forge server can't handle installing that many dependencies? I'm really just using the basic Elixir dependencies and one more for image compressing.
Here's my package.json: https://github.com/driesvints/driesvints.com/blob/master/package.json
That's also the source code for my website so you can find anything you need there.
Here's my Forge deploy script:
cd /home/forge/default
php artisan down
git pull origin master
composer install --no-dev
npm install
npm install -g bower
bower install
./node_modules/.bin/gulp --production
php artisan up
So it basically gets killed off somewhere during npm install.
Can anyone please help me or put me in the right direction at what I might be doing wrong? I'm really stuck with this.