Environment for quick start landing page development.
- Check, that npm is installed, run this command:
npm -v
(you should see the version of your npm) - Check, that bower is installed, run this command:
bower -v
(you should see the version of your bower)
- Install node packages, run this command:
npm install
(for Windows:npm install --no-bin-links
) - Install bower packages, run this command:
bower install
- Run gulp, run this command:
gulp
(you should see starting gulp tasks: 'browser-sync', 'styles', 'scripts', 'images') - Open your site on :3000 port, e.g.: landing-page-starter.local:3000
- If you have error, like
Error: Cannot find module
, but this module exists in your package.json, run this command:npm cache clean
- If you have error, like
Error: ENOENT: no such file or directory, scandir '.../node_modules/node-sass/vendor...'
, run this command:npm rebuild node-sass
(for windows:npm rebuild node-sass --no-bin-links
) - If you have error, like
npm ERR! Maximum call stack size exceeded
, just run npm installation command again.