Skip to content

Instantly share code, notes, and snippets.

@tzurbaev
Last active August 8, 2016 20:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tzurbaev/fe6d75b8229278cad8040a40d6653663 to your computer and use it in GitHub Desktop.
Save tzurbaev/fe6d75b8229278cad8040a40d6653663 to your computer and use it in GitHub Desktop.
Laravel Elixir on Vagrant running Ubuntu 14.04 LTS
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.31.2/install.sh | bash
source ~/.bashrc
nvm install 5.2.0
# node -v : v5.2.0
# npm -v : 3.3.12
# @see https://github.com/npm/npm/issues/10768
cd /vagrant/project
sudo npm install -g gulp
npm install --no-bin-links
gulp
# if gulp fails with 'node-sass' error (ENOENT: no such file or directory, scandir '/vagrant/project/node_modules/node-sass/vendor'
# run this:
# npm rebuild node-sass --no-bin-links
# if gulp fails with 'gulp-notify' error (not found: notify-send, ENOENT) run this:
# sudo apt-get install libnotify-bin
# run `gulp` again
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment