Last active
August 8, 2016 20:08
-
-
Save tzurbaev/fe6d75b8229278cad8040a40d6653663 to your computer and use it in GitHub Desktop.
Laravel Elixir on Vagrant running Ubuntu 14.04 LTS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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