사전 작업

node.js 설치

  1. RHEL/CentOS 6 에 node.js 설치하기

 

Gulp 설치

sudo npm install --global gulp
CODE

Can't install laravel-elixir dependencies without issues #331
만약 Windows 나 VM 에서 개발시 위와 같은 에러가 발생할 경우 (https://github.com/laravel/elixir/issues/331) PATH 가 길어서이므로 다음 명령어 실행

rm -rf node_modules
npm install --no-bin-links
CODE

 

libsass

Error: The libsass binding was not found in /home/vagrant ..
위 에러 발생시 실행

npm rebuild node-sass
rm -rf node_modules
npm i --no-bin-links
CODE

 

Ref