Download or Pull This Repo Git clone this repo
Install Node https://nodejs.org/en/
Install all the node packages On the root of this project run on your terminal (if you want you can do this with yarn but thats optional) We updated to version 4.0 of gulp so you should have no problems
npm install
npm install gulp-cli -g
npm install gulp
npm install webpack@4.25.1 -g
npm install webpack-cli@3.1.2 -g
make sure versions of gulp is 4.0
gulp -v
Start the dev server
npm run watch
Start the dev server with proxy
npm run proxy
Build files for production
npm run build
Optimize Your Images
npm run imgs
Static Site Generator Development
npm run static:dev
Static Site Generator Production
npm run static:build
- how to fix the EACCESS ERROR
- lets say for example you trying to install webpack
- sudo npm install webpack@4.25.1 -g
- and get an error
- Error: EACCES: permission denied, mkdir '/usr/local/lib/node_modules/webpack/node_modules/fsevents/build'
- then try again to install it but with this at the end "--unsafe-perm=true --allow-root"
- for example
- sudo npm install webpack@4.25.1 -g --unsafe-perm=true --allow-root
or
npm install har-validator@latest --save-dev