i tring install laravel elixir on ubuntu 16.04.
i install nodejs, apache, php7.0 fpm, mysql, composer, npm. of run perfectly. can pull laravel framework.
if try install laravel elixir run command npm install --global gulp-cli
fine , when run npm install
, killed message
root@dev:/var/www/html/bookkeeper# npm install npm warn deprecated graceful-fs@3.0.8: graceful-fs v3.0.0 , before fail on node releases >= v7.0. please update graceful-fs@^4.0.0 possible. use 'npm ls graceful-fs' find in tree. npm warn deprecated minimatch@2.0.10: please update minimatch 3.0.2 or higher avoid regexp dos issue npm warn deprecated minimatch@0.2.14: please update minimatch 3.0.2 or higher avoid regexp dos issue npm warn deprecated lodash@1.0.2: lodash@<3.0.0 no longer maintained. upgrade lodash@^4.0.0. npm warn deprecated graceful-fs@1.2.3: graceful-fs v3.0.0 , before fail on node releases >= v7.0. please update graceful-fs@^4.0.0 possible. use 'npm ls graceful-fs' find in tree. npm warn deprecated tough-cookie@2.2.2: redos vulnerability parsing set-cookie https://nodesecurity.io/advisories/130 loaddep:isarray → addname ▀ ╢████████████████████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░╟ killed
i tried on fresh ubuntu few times. tried on digitalocean nodejs version on 14.04. following docs on https://laravel.com/docs/5.2/elixir#installation
am missing dependencies?
your droplet running out of ram expect. free way resolve create swap space , use disk when memory runs out. otherwise use bigger droplet.
// create , enable 2gb swap space sudo dd if=/dev/zero of=/var/swap1 bs=1g count=2 sudo chmod 600 /var/swap1 sudo mkswap /var/swap1 sudo swapon /var/swap1 // make changes permanent (in vi/vim/nano, whatever) sudo vi /etc/fstab // add following line file , save /var/swap1 none swap sw 0 0
then should able rerun npm install
Comments
Post a Comment